Performace optimization should be your prime focus in android application development

Page 1

Performace Optimization Should Be Your Prime Focus in Android Application Development Your android app leaps into the world of uncertain hosts. Some mobiles have large screens, some don't, some have great resolutions, yet some others don't and last but not the least – some mobiles have great processing powers and memory management systems and others don't. Get the point? Your application must be able to handle whatever comes it's way. What a desaster it would be if it worked well on some devices and totally crashed on others!

Your expertise as an android application Development professional is undoubted – you are the expert. Yet, this world is ever changing in technology and if you talk about the mobile market – millions of phones with millions of screen sizes, processing abilities, OS customizations, and countless device specific changes can be seen. Your application must cater for all these in order to give your app users a great experience. Getting into the details of how to accomodate for these, here are a few pointers: •

Speed: No one likes those frustrating moments – waiting endlessly for an application to load! Well, as an android application development professional, you can easily tackle this by thorough testing on different models (i know all models are not possible). Secondly, you can keep your XML layout heirarchy flat. The logic is simple – more the layers means the android system will have to do a lot more work to present you with the results.

Screen size and resolutions: Think about it. While working with androids, the phone height varies more often than the screen width. To accomodate for this, you have scoll views and list views. Most of your app should fit in the current view. If that's accomplished – great. If not, scoll and list views are not so bad!

Avoid Bitmaps and scaling images: Avoid scaling of all your images. It's going to be such a task doing that – producing a host of drawables for idpi, mdpi, hdpi, xhdpi etc.. etc... The other important factor to consider is to avoid bitmaps – you will save so many resources. If you worry about sharper images, other image formats can provide you the same quality too!


•

Low file size: Space constraints on mobiles are today taken care of by allowing users to download and install apps to SD cards. But if your application needs to startup on boot, you cannot really allow this. Also users really think twice before even downloading the app if it's too large and will occupy most of the space on the mobile.

These are a few considerations that you must give a good thought to for Android application Development. Providing users with great apps that work well is at the top of tops of our priorities!


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.