[android-developers] retain application/Activity state correct approach?

2009-12-24 Thread Atif Gulzar
hi, I just read from internet to maintain the state of my application by overriding the onKeyDown function as given below. And set the launch mode of my activity as singleInstance. And it is working perfectly. Just want to know if it is correct approach. And how it is different from

Re: [android-developers] retain application/Activity state correct approach?

2009-12-24 Thread Mark Murphy
Atif Gulzar wrote: I just read from internet to maintain the state of my application by overriding the onKeyDown function as given below. And set the launch mode of my activity as singleInstance. And it is working perfectly. Just want to know if it is correct approach. And how it is different

[android-developers] retain application/Activity state correct approach?

2009-12-22 Thread Atif Gulzar
hi, I just read from internet to maintain the state of my application by overriding the onKeyDown function as given below. And set the launch mode of my activity as singleInstance. And it is working perfectly. Just want to know if it is correct approach. And how it is different from