Sunday 20 November 2011

How to Create and Run Your First Android Project

,
This post explains how to create and run an Android project on Eclipse 3.5 (Galileo) in windows environment.

Once you have configured your system for android development and set up an Emulator to see your output, you can start creating your first Android project. Here I explained how to create a new android project in Eclipse and to see its output using the emulator we created before

Read more

Monday 14 November 2011

How to Create an Android Virtual Device

,
This post deals with how to create an Android Virtual Device (AVD) in your windows machine. 

Once you configured your system for Android development, you have to create an Android virtual device (AVD) to simulate your application that is being developed. Once you create an Android virtual device you can install apk files to that Emulator, view output from Eclipse IDE, debug your application etc.

Read more

Sunday 13 November 2011

How To Configure Your System For Android Development

,
Android development could be started with free of cost as all the development environment is open source and could be freely downloaded from the internet. Here I am going to explain how to configure your machine for Android development for an existing Eclipse IDE. This post deals with the configuration of Eclipse for the development of Android applications in Windows machine.
Read more

Thursday 10 November 2011

How to Sign Application using ADT Export Wizard

,
When your application is ready for release or upload to Android market, you must compile in release mode and then sign the .apk with your private key. This post explains how to create your own private key (private certificate) and also how to sign your application using that private key using ADT Export Wizard integrated with Eclipse.  
Read more

Sunday 30 October 2011

Optimizing layouts with layoutopt

,
layoutopt tool lets you analyze the XML files that define your application's UI to find inefficiencies in the view hierarchy.
The
Read more

Optimizing UI with Hierarchy Viewer

,

 
Sometimes your application's layout can slow down your application. To help debug issues in your layout, the Android SDK provides the Hierarchy Viewer Tool. The Hierarchy Viewer application allows you to debug and optimize your user interface. It provides a visual representation of the layout's View hierarchy (the View Hierarchy window) and a magnified view of the display (the Pixel Perfect window).

Read more

How to Avoid Static Variables in Android

,

One of the best practice in coding is to avoid static variables wherever possible. This post help you to code without using static variables.
Read more

How to sign Application using Apache Ant

,
Before starting, it is assumed that, you already have an android project which is ready to build. The android project can be created using either Android tool or Eclipse IDE. Also it is assumed that you are configured with latest JDK version (jdk1.6.0_24 or above) in your machine.
Read more

A Work With Nine Patch Image

,

A NinePatchDrawable graphic is a stretchable bitmap image, which Android will automatically resize to accommodate the contents of the View in which you have placed it as the background. An example use of a NinePatch is the backgrounds used by standard Android buttons — buttons must stretch to accommodate strings of various lengths. A NinePatch drawable is a standard PNG image that includes an extra 1-pixel-wide border. It must be saved with the extension .9.png, and saved into the res/drawable/ directory of your project.


Read more
 

Tips for Android Developers Copyright © 2011 -- Powered by Blogger