Google TV emulator device definition

So you want to use a Google TV emulator to develop Android applications. Many people having problems using the Google TV emulator because it hangs during booting (only showing the Google TV logo). The problem is that it only works with specific device configurations and resolutions. S
Continue Reading →

Obfuscating for Android with ProGuard

Obfu-what? Right, Obfuscation, in general, describes a practice that is used to intentionally make something more difficult to understand. The nature of Java (the programming language for Android apps) is that the code is not compiled down to machine code; it is compiled to an interme
Continue Reading →

Automatically starting an Android application on boot

There can be multiple reasons for you to want to automatically start (autostart) an Android application or service after booting your device. Lets have a look at what a colleague of mine wrote. To autostart an Android application there are a couple of steps you need to take. However b
Continue Reading →

Sending and Receiving Data SMS messages with Android

The humble short message service (SMS) celebrates its 20th birthday today. Engineer Neil Papworth sent the first SMS to an Orbitel 901 handset via Vodafone UK’s network in 1992: “Merry Christmas.” It would be safe to say that nearly every mobile phone sold in the pas
Continue Reading →

Fun with Android and NFC

So, you probably heard of something called NFC (Near Field Communication), and maybe you have seen the video (as shown below) from the 2012 Google I/O showing you a developers perspective on NFC. But what you want is a short “How to” on creating an Android NFC application.
Continue Reading →

How-To: Android emulator performance tuning tips

As some of you may already noticed, running Android Honeycomb application on the Android emulator, isn’t the most fun thing to do, because it’s painfully slow. Besides the start-up time (can be avoided, which I explain later), just using it is a pain. Google is planning to
Continue Reading →

How-To: Android Fragments

Typically, an Android user interface is composed of views within layouts, such as a ListView within a LinearLayout. A hierarchy of View objects gets loaded or created when an Activity is started. On small screens, this is fine. But when you spread a UI out over the surface of a tablet
Continue Reading →

How-To: Debug Android UI

When debugging an Android application it’s important to look at the structure of the UI. There are tools that help you visualize the UI. Inside this article I will be explaining two tools: Hierarchy Viewer Layoutopt
Continue Reading →

How-To: Android and Databases

Applications usually uses databases to store application data. Inside this article I will be explaining two implementation types: SQLite DB4o I will use the Android application which was developed inside my previous post.
Continue Reading →

How-To: Android Client – Server designs

Applications are usually designed so that a Server provides a service to a Client. Choosing an implementation depends on the requirements. Inside this article I will be explaining three implementation types: SOAP Servlet JSON I will use the Android application which was developed insi
Continue Reading →