Sharing information (objects/data) between Activities within an Android...
When developing Android applications, most of the time we need to share information (whether it be primitive data or complex objects) between different Activities. For example, we might want to pass...
View ArticleHow to specify maximum length for EditText in Android
Often you might want to limit the number of characters a user can enter into your EditText control in Android. There are two ways to accomplish this: Using XML (e.g. layout or style) By code 1. Using...
View ArticleScrabblet version 1.1.0 released
I released the second version of Scrabblet (A word assistant application for Android mobiles) today. This includes addition of a new feature to display word scores against search results, UI facelift...
View ArticleHow to monitor network connectivity in Android
Android devices have multiple network interfaces (e.g. WiFi and 3G/4G etc.) that allows them to go online and be connected to the outside world. At the same time, these network interfaces are prone to...
View ArticleCreating multi-line EditText in Android
This is a small guide demonstrating how we can use Android EditText controls to create multi line text inputs. Approach #1 The simplest way to create a multi line text input is using the following xml...
View ArticleActionBar design pattern example for Android
ActionBar is a user interface (UI) design pattern found in Android that allows users to quickly perform common actions within your application. ActionBar replaces the traditional title bar with a more...
View ArticleHow to format string resources in Android
Resource files are one of the major strength in Android SDK that allows you to separate presentation from application logic. String resources in particular helps to effectively manage multi-lingual...
View ArticleScrabble Assistant (Android) v2.0.0 is released
The latest versions of Scrabble Assistant Lite and Scrabble Assistant Pro for Android are now out in the Android market! You can download them from: Scrabble Assistant Lite (FREE) –...
View ArticleIntroduction to working with kSOAP2 in Android
This is an introductory tutorial showing how to consume SOAP-based web services in Android using the kSOAP2 library. Despite rising popularity of RESTful services, there are still a significant number...
View ArticleHow to check network connectivity in Android
This tutorial shows how to check whether your Android phone is currently connected to a network or not (e.g. Wi-Fi, 3G etc.). A while back, I wrote a tutorial on how to dynamically monitor network...
View Article