Navigation bar

Monday, April 22, 2013

Any experts on XML parsing in Android here?

People have asked me to add a function to Phone Schedule that would allow users to back up and import their schedules to and from a file. I'm currently working on it and have a question about XML parsing, particularly about the behavior of XmlPullParser on API11+ and pre-API11 versions of Android. I've published it on StackOverflow and set a bounty of 50 reputation points on it. They can be yours if you can help me figure this one out. All help is greatly appreciated.

Saturday, April 20, 2013

Performance measurement and improvement in Android.

I just stumbled upon a great article "Android performance case study" by Romain Guy about how you can measure and improve your Android app's performance. A very interesting reading, I already knew about some of the tools, but some were new to me. I strongly recommend it to all Android developers.

I used method profiling in the past to explore some problem areas and managed to significantly reduce CPU usage by PhoneSchedule.  What tools do you use to measure your app's performance? What performance improvement tips and tricks have you discovered?