Finally Google Released the NDK, which allows developers to use native code/libraries in their code (programmed in C or C++) which can be used for intense CPU operations such as encoding/decoding or physics. You can download it here. For most Developers this isn’t much interesting, but if you need advanced stuff as implementing your own …
Category Archive: Programming
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/06/25/android-1-5-ndk-released/
Certain events (like low on memory, or configuration change) can lead that your Android application is killed and possibly important data is lost when it’s recreated again. To prevent this, you need to temoprary preserve your important data in SavedStates (onSavedInstanceState and onRestoreInstanceState) and load it when the application is recreated to prevent losing critical data necessary for your application
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/02/27/savedstate-preserve-data-when-application-is-recreated/
When you’re developing application, there is often a need to create your own controls/widgets/classes or to extend already available ones. And in most cases, you want this control/widget to be as flexible as possible. In order to achieve this, you have to create special events, which can be handled outside of your widget. Some of …
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/02/17/how-implement-your-own-listener-android-java/
I’ve seen many people asking how to implement Listeners in their applications. Implementing a Listener is quite easy. There are 3 ways to implement an Listener and the have their advantages and disadvantages.
The tree way to implement Listeners are
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/02/14/implementing-listeners-in-your-android-java-application/
In the last article, Android: Your first Android Application, we created a simple login screen, but didn’t had time to go in deeper in the UI XML structure. In this article I will explain the basics of creating an UI via XML resource. I’ll use the XML file from previous example here.
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/01/30/android-creating-xml-uis/
A few days ago, Apple was awarded with the patent #7,479,949, titled "Touch screen device, method, and graphical user interface for determining commands by applying heuristics". In other words, this means that there won’t be any handsets with Multi-Touch devices out of there other than Apple devices, at least in the U.S. This is especially …
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/01/29/a-sad-day-for-handsets-apple-awarded-with-multi-touch-patent/
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/01/29/android-your-first-android-application/
Before getting started, you first need to download and install the Android SDK. But first, if you meet the requirements. In order to use the Android SDK, you need to have JDK 5 or JDK 6 installed on your system (JRE alone won’t do it!). Next you’ll need an IDE (it’s optional, but makes developing …
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/01/02/android-installing-the-sdk/
On October 22, 2008 the first Android capable handset was released, the T-Mobile G1. You may now ask yourself "What is Android?". Android is an open source framework designed for handsets and developed by Google, similar to Apples iPhone. It includes an operating system, middleware and key applications.
Permanent link to this article: http://tseng-blog.nge-web.net/blog/2008/12/17/android-introduction/