onsaveinstancestate Beginner guidance

by Abhishek Talwar » Fri, 03 Dec 2010 12:19:27 GMT


Sponsored Links
 Hi all
My application is a simple one.
It just has an EditText and the user enters text in it but when he
navigate away from the application and comes back the text is gone and
the user has to type again. Basically i just want to get an idea of
how to save the state
of the application.
Just let me know some basic concepts over it.
Thanks

-- 



Other Threads

1. Back-porting from Android 2.0 to Android 1.5

I have read the website and archives on backporting (building on SDK
2.0 to run on SDK 1.5) and it seems consensus is to change the minimum
SDK version required in the manifest (from 5 back to 3) and check for
any private API calls. I've done that, but I have two remaining
concerns. [Note: I wrote/built this app on 2.0 with emulators without
access to an Android 1.5 device.]

1) drawable verses the new drawable-* ... if I don't have an icon in
drawable.png will my application be icon-less in 1.5? Do I need to
copy one of the new icons in there? If so, which one?

2) search ... how does the "SEARCH" activity get raised for an
application on SDK 1.5 devices (which don't appear to have a hardware
search button.) Do I need to add a menu option and raise SEARCH as a
sub-activity? [Note: I am 100% confused by search button on all
android versions 'cos what I read says SDK 2.0 copes with virtual
buttons, yet those devices (in emulator) seem to have hardware ones.
What am I missing?]

Thanks in advance for help with these. Please let me know if there are
any more issues I am missing.

-- 

2. Every ProgressBar instance getIndeterminateDrawable returns a singleton? how to clone this Drawable?

http://android-developers.blogspot.com/2009/05/drawable-mutations.html



> 

3. Metamorph - Theme ur Android

4. APK Cut Copy and Paste

5. Usefull app for Hero

6. Google Maps Broadcast Event for audible navigation instructions start and stop?

7. Every ProgressBar instance getIndeterminateDrawable returns a singleton? how to clone this Drawable?