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. Prevent uninstall of application in Android

Hello,

I've got an unusual requirement - I need to PREVENT users from
uninstalling my application from their Android platform (not emulator
but the future devices). Is there an official way for doing this? An
unofficial?

If that's not possible exactly, perhaps it may be possible to:
- remove/hide the application from the installed applications list
- abort uninstall by throwing an error from some standard class
- prevent uninstall of only some types/configurations of
applications?
- automatically force reinstall of uninstalled application?
- invoke some class in the application before being uninstalled so
that it can send SMS/access a web site to notify someone about this?

Thanks.

Denis

--~--~---------~--~----~------------~-------~--~----~

2. Error + Eclipse plugin + android sdk on Debian Lenny AMD64

I installed Eclipse plugin ADT 0.8.0, Android SDK 1.0 on my debian
lenny amd64, like the instructions say, and I get the following error:

[2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
styleable Menu not found in file /opt/android-sdk/tools/lib/res//
default/values/attrs.xml
[2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
styleable MenuItem not found in file /opt/android-sdk/tools/lib/res//
default/values/attrs.xml
[2008-10-05 12:01:08 - Android Framework Parser] Menu declare-
styleable MenuGroup not found in file /opt/android-sdk/tools/lib/res//
default/values/attrs.xml
[2008-10-05 12:01:08 - Android Framework Parser] Searchable declare-
styleable Searchable not found in file /opt/android-sdk/tools/lib/res//
default/values/attrs.xml
[2008-10-05 12:01:08 - Android Framework Parser] Searchable declare-
styleable SearchableActionKey not found in file /opt/android-sdk/tools/
lib/res//default/values/attrs.xml
[2008-10-05 12:01:08] Warning, ADT/SDK Mismatch! The following
elements are declared by ADT but not by the SDK: action, activity,
activity-alias, application, category, data, grant-uri-permission,
instrumentation, intent-filter, manifest, meta-data, permission,
permission-group, permission-tree, provider, receiver, service, uses-
library, uses-permission, uses-sdk
[2008-10-05 12:01:08 - Framework Resource Parser] Failed to parse

i have installed ia32-libs, eclipse ganymede, and sun-java6.


please, can someone help me?

thanks

--~--~---------~--~----~------------~-------~--~----~

3. GUI Prototyping - yet another tool

4. Junit BasicHttpParam Exception

5. Dot net framework compatible with andriod

6. Does Android have a bluetooth ?

7. - Does Android have a bluetooth ?