Posts Tagged development

Android – onRestoreInstanceState

Are your users complaining that your app is crashing when it’s restarted after being killed by the operating system or a task manager? Are you still trying to figure out why? You might want to try overriding onRestoreInstanceState, not calling the super, and seeing if the problem goes away.

    @Override
    protected void onRestoreInstanceState (Bundle savedInstanceState) {
    	//super.onRestoreInstanceState(savedInstanceState);
    }

This is a quick way of dealing with the problem and keeping your users happy, while you’re busy trying to figure out the root cause of the problem. You need to do a lot of testing to ensure it doesn’t cause any new problems, especially when switching activities and using the home and back keys.  Good luck!

, , , , , , , ,

Leave a comment

“Patience! For the Jedi it is time to eat as well…”

All you Star Wars fans will recognize the title of this blog post as a famous quote from The Empire Strikes Back, when Luke first encounters Yoda.  What does this have to do with Android app development?  If you’re in a hurry to make money with your Android app, don’t hold your breath.  Even Edward Kim’s now famous Car Locator, which at one point grossed $13K in one month, started off with sales of only $5-6/day for the first two months. So if you’re getting all nervous and edgy about the lack of app sales – take a deep breath, relax, and go get yourself something to eat.

To read more about Edward’s success, read this article at androidandme.com:

http://androidandme.com/2010/10/news/the-rise-and-fall-and-rise-of-edward-kim-and-car-locator/

, , , , , , , , ,

Leave a comment

And here we are…

When I decided to develop apps for Android back in August, I really wasn’t sure what I was getting into. I read five books on Android development and everything seemed easy enough, but as most know, reading and “doing” are not always the same. I started trying some examples from the books in early September and quickly discovered that all is not as it appears.  Most of the sample code worked, but a lot of it didn’t. Troubleshooting what should be bug free code became the norm. I wasn’t totally surprised, but I was definitely disappointed.  After getting my feet wet, work began on my first app, Yellow Pad List. There were many challenges to overcome and many late nights trying to figure out how to make things work, but nothing was so complicated that it couldn’t be researched and implemented. Good thing there is all that helpful information on the Internet.  Six weeks later and my first free app is up in the Android Market.

I’m going to be honest here and say that while I’m incredibly excited to be launching a new app, I’m somewhat apprehensive about how well it will fare on all the different handsets that are out there. It works perfectly fine in the emulator and on the handsets I’ve tested, but who knows what Android quirkiness I’ve been unable to test. I’ve got my fingers crossed that things go well.

, , , ,

Leave a comment

%d bloggers like this: