Posts

They thought we can't code - I built my own Networking tool app up.

Image
Swapped to use command line for an objective that web UI can’t do since in the PAN OS 6.X. After the tunnel of Checkpoint, Juniper firewalls established. Sometimes, instead of pretended to be a WLAN users using my own laptop which was currently attached to the management VLAN. I picked up my phone, launched a networking tool application. Do test the connection through those Apps.                 Some Time, Some Tasks, after a little chat with the customer, they needed you to check something that you didn’t even have a motivation to take your laptop out of your bag. I picked my mobile phone up and launched a networking tool app again. We ping it, trace route it. At those time I thought those app didn’t satisfying my usage. So, I wonder. Can I myself build my own networking tool application?                  Around 2016-2017. It was a time that I start to read and learn about Android and how to developer an application from zero. One day I had to go to the customer which is a Bank compan

Android studio with dual boot OS: what's it looks like?

Image
I was wondered what if we want to develop some Android app on Dual OS environment. What it would look like? In this post, I've tested with Ubuntu 14.04 and Window 8 environment.    I assumed that everyone who came and read this post had an experience of installing Android Studio on Window, Dual OS and mounted Window's disk over ubuntu already. You may recall your memory or find more information here  How to mound window (NTFS) disk on ubuntu For one who never had installed Android Studio on ubuntu, I am writing here step-by-step briefly. To install Android Studio on ubuntu If you have any experience on using ubuntu, that'd enough to make it happen. Firstly, As in window system. You need Java IDE on you ubuntu. Check your Java version from the Terminal with command   j ava -version But if you don't have one, Just install it. Oracle and Sun would be happy about that. I recommend you to install the Newest Java IDE which is version 8 at

How to mount window (NTFS) disk on ubuntu Linux

Image
There are sometime we'd like to working from dual OS on a personal computer. In this case, Let's say we are talking about Using window 8 with Ubuntu 14.04 . From now on, you will need a system privileges to operate some command. You may already experienced on install the two OS on the same computer, if not I will briefly talking about it first. To install the two OS on your computer:  :Use an Ubuntu bootable media to partition you disk. There will be of course EXT for Linux partition and NTFS for wondow. :When the partition process finish. Please don't install ubuntu yet. Remove your bootable media and then install Window  : After that, install ubuntu linux and don't forget to install GRUB boot loader , I recommend you to install the GRUB boot-loader on linux partition.  How to install GRUB boot loader? GRUB boot loader will help you to be able to choose which operating system you'd like to run. it was currently integrated with the ubuntu bootable medie.

When Gradle don't know your new added Native code

Image
This post talking about using Android studio with ver. 3.1.4 or above that will help you integrate your Native code more easily than the older version. Using default CMake.txt will help you alot during complie your native code. You map experienced with adding a native code language like C or C++ to your project. If you choose to check to support as an above image. You won't face with the problem that Gradle don't know your Native code files because Android studio will edit the configuration of Gradle automatically for you. There are sometimes, in the middle of developing. You have to integrate a Native code to you apps. This time Gradle comes to no idea about your files. You may have been warned "This file is not part of the project. Please include it in the appropriate build file" indicated that gradle did not known your CMakeLists.txt as the image below. What you have to do is to make the Gradle know you CMakeLists.txt  Navigate your proje

Verwenden Sie die App ,,Winkel Zeichnen" (,,Draw An Angle''), um einen Winkel für den technischen oder mechanischen Job zu zeichnen. [DE]

Image
Verwenden Sie die App ,, Winkel Zeichnen'' (,,Draw An Angle"), um einen Winkel für den technischen oder mechanischen Job zu zeichnen. [DE] Manchmal müssen Sie mit Winkel für Ihre technische oder mechanische Arbeit arbeiten. Eine Aufgabe wie Rohrbiegen, ein Winkel des Hängers oder etwas ähnliches. Es gibt eine Android-App namens '' Zeichnen Sie einen Winkel ''. Es wurde speziell entwickelt, um Ihnen bei diesen Aufgaben zu helfen.    Öffnen Sie einfach Ihre Google Play App und suchen Sie dann einfach ,,Winkel Zeichnen" (,,Draw An Angle'') oder klicken Sie auf diesen Link https://play.google.com/store/apps/detailsid=com.nristek.apps.drawanangle   Dann installiere die App    Erstens, wenn Sie die App öffnen. Die Hauptmenüs werden angezeigt. Sie können Ihr Werkstückbild aus Ihrer Galerie Ihres Smartphones auswählen oder ein Bild machen und dann weiter arbeiten. Zum Beispiel sind Sie auf der Baustelle oder am Arbeitsplatz und

Use “Draw An angle” app to draw an angle on Technical or Mechanical job. [EN]

Image
Use “Draw An angle” app to draw an angle on Technical or Mechanical job.[EN]    There are sometimes you need to work with angle for your technical or mechanical job. Some task like pipe-bending, an angle of hanger or something like that. There is an android app called ‘’Draw an angle’’. It was designed especially to help you on those task.    Just open your google play app and then easily search ‘’Draw An angle’’ or click this link https://play.google.com/store/apps/detailsid=com.nristek.apps.drawanangle   then install the app    Firstly, when you open up the app. The main menus will appear. You can select you work piece image from your gallery of your smartphone or take a picture and then work with then further. For example, you are at the site construction or a workplace and want to know the angle of your work piece. You may first take the picture of it. (Select ‘Take photo’’ menu from the app) Now, you can start to draw an angle on your photo. The f

We should monitor the memory when simulate our app.

Image
I have faced a problem during coding my android app. It was crashed when simulating on my actual device. Beside, reading an error or an exception on ‘logcat’. We may need to monitor it as well. (Just click at Android -> Monitor to monitor your usage of Memory, CPU or network) I have found that my app’s problem occurred from much usage of memory that came from I have not sampled my image size properly. So, this feature of android studio could be very useful.  We can working something more with this Memory monitoring like we can test to cause a ‘Gabage collection’ event and see – does our app still working properly when garbage collection occurring?  By just pressing this button  (Press ‘initiate GC’ button to manual cause some garbage collection) It sounds as easy as calling your gentle garbage man to pick you garbage up even you have none of them. We may want to see more detail about memory usage by pressing the ‘Dump Java Heap’ button  (P