JNI or Java Native Interface is the interface between the Java code running in a JVM and the native code running outside the JVM. It works both ways, that is you can use JNI to call native code from your Java programs and to call Java code from your native code. The native code normally [...]
Boosting Android performance using JNI
January 25th, 2010 by Mattias Rosberg — Android, Embedded, Java
Tags: programming, tutorial
The BROWSABLE category revealed
September 24th, 2009 by Mattias Rosberg — Android, Embedded, Java
Assume that you on your desktop computer browse to a web page with the following page source Clicking on the first link you expect your browser to start a new tab and navigate to the url that was specified in the href. If you click on the second link you would expect that the browser [...]
Tags: mobile
Layout resources in Android
March 26th, 2009 by Mattias Rosberg — Android, Embedded, Java
One thing that often confuses developers new to the Android platform is the handling of layout resources. The xml files describing the layouts are magically transfered into a more efficient binary format behind the scenes and hidden away – leaving the developer with a static reference to the resources via the R.java file. By using [...]
Tags: mobile, programming, tricks
