Showing posts with label development. Show all posts
Showing posts with label development. Show all posts

Sunday, February 19, 2012

Android Sample Code: Battery Status

Here I want to share Battery Status Application that output as below:

Before I share my source code for Battery Status Application for Android. Below are the tools that you need to develop an Android Application or Widget:
  1. Android Development Environment - eclipse
  2. Android SDK
  3. Android Virtual Device Manager
*For details on how to do the installation, you may refer to Android Developers page.

For this Battery Status Application, below is the general outline:
  • The layout is using ListView as the main and TextView for the individual row.
  • Upon starting the application, a thread will be created to pull the battery info in 1-second interval. The battery info is being pulled using the BroadcastReceiver.

Saturday, February 4, 2012

Android App Development

Recently I got an Android Phone so I think why not I try to develop Android Apps. Right now I managed to run simple app to display battery level and voltage. I'll be posting more soon on this.

Stay Tuned.

:: aerobrainTech ::