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