Posts Tagged ‘android’

How to create a skinned button

Posted September 2nd, 2010 by Nazmul
Summary

Introduction
Some Android phone manufacturers replace the default themes, and styles, and drawable assets with what they think looks good and customized. Unfortunately, the side effect of this customization is that what works great in the emulator, and most phones simply does not work these devices. Eg, Motorola Droid 2 and X have a customized theme [...]

Click here to read this tutorial...   |  

Using JSON for mobile object exchange

Posted March 6th, 2009 by Nazmul
Summary

I’ve been working with various object encoding schemes to get information transferred over the network between services and mobile apps running on Android and BlackBerry. On Android, I figured I would try using Java object serialization, and that works some of the time, and not for anything complex. I wish the object serialization and deserialization mechanism in GWT would be ported over to all these mobile environments, but I digress. This tutorial outlines the use of JSON for this purpose.

Click here to read this tutorial...   |  

How to build a service-enabled Android app – Part 3/3 Multithreading

Posted June 4th, 2008 by Nazmul
Summary

I’ve written 3 tutorials to show you how to create a service enabled Android application that performs all of it’s network I/O in a background thread (not the UI thread). These tutorials are split into three parts. This tutorial shows you how to use background threads to perform long running network IO operations, so that the main UI thread is not locked up.

Click here to read this tutorial...   |  

How to build a service-enabled Android App – Part 2/3 Networking

Posted June 4th, 2008 by Nazmul
Summary

I’ve written 3 tutorials to show you how to create a service enabled Android application that performs all of it’s network I/O in a background thread (not the UI thread). These tutorials are split into three parts. This one shows you how to use Apache HTTP Client to connect to services over HTTP or HTTPS and exchange serialized Java objects with services.

Click here to read this tutorial...   |  

How to build a service-enabled Android app – Part 1/3 UI

Posted June 4th, 2008 by Nazmul
Summary

I’ve written 3 tutorials to show you how to create a service enabled Android application that performs all of it’s network I/O in a background thread (not the UI thread). This tutorial shows you how to build a simple UI without using XML, by writing Java code to layout the UI.

Click here to read this tutorial...   |