Developing Android Apps is a very profitable business. It is likely to grow for a long time because Android is an OS that is developing very fast and with its growth, its eco system is also growing at a great speed. Therefore, if you are developing Android Apps, it is always great to know some tips to further improve your apps. For one thing, you should always use some global theme while developing android apps. Android has some built in themes like Light Theme or Dark Theme. You can choose your theme based on the look and feel of your proposed app. The next important thing in developing android apps is to make use of the flexible or fluid layouts to make sure that your app fits different screen sizes of different smartphones.
If you are developing android apps that make use of threads, then you need to ensure that you use runOnUiThread() function for displaying output to the user. One mistake that many developers make while developing Android Apps is to set image as background for buttons. The correct method is to make use of custom selector to display details in different states. Device rotation is another thing to be kept in mind while developing android apps. It is important to keep the activity of your app alive when the device is rotated. By default it will restart the activity. You need to make use of onConfigurationChanged() function to ensure this.
One of the most important things to ensure while developing android apps is to make sure that it runs on all available android versions. For this, you need to test your app on the available versions by using different emulators. Two other tips are related to optimizing your listviews for ensuring smooth scrolling and using DIP in place of PX for universal appearance and adjustment of your margins on different devices with different screen resolutions and sizes. It should also be kept in mind while developing android apps that Android is a fragmented OS and different device manufacturers already. Due to this fragmented nature of Android, we might sometime need to have more customization for different devices. The final recommendation for developing android apps is to make extensive use of Google Dev Tools application. For example you can keep an eye on the CPU usage by using this app to ensure that you develop efficient Android apps.
JD Hancock via Compfight

