There are two lightweight techniques for saving simple application data for Android applications. Shared Preferences and a pair of event handlers used for saving Activity instance details. Both mechanisms use a name/value pair (NVP) mechanism to store simple primitive values.
Using SharedPreferences, you can create named maps of key/value pairs within your application
that can be shared between application components running in the same Context.
Shared Preferences support the primitive types Boolean, string, float, long, and integer, making them
an ideal way to quickly store default values, class instance variables, the current UI state, and user
preferences. They are most commonly used to persist data across user sessions and to share settings
between application components.
Alternatively, Activities offer the on Save Instance State handler. It’s designed specifi cally to persist
the UI state when the Activity becomes eligible for termination by a resource-hungry run time.
The handler works like the Shared Preference mechanism. It offers a Bundle parameter that represents a key/value map of primitive types that can be used to save the Activity’s instance values.
This Bundle is then made available as a parameter passed in to the onCreate and onRestoreInstanceState method handlers.
This UI state Bundle is used to record the values needed for an Activity to provide an identical UI following unexpected restarts.
Using SharedPreferences, you can create named maps of key/value pairs within your application
that can be shared between application components running in the same Context.
Shared Preferences support the primitive types Boolean, string, float, long, and integer, making them
an ideal way to quickly store default values, class instance variables, the current UI state, and user
preferences. They are most commonly used to persist data across user sessions and to share settings
between application components.
Alternatively, Activities offer the on Save Instance State handler. It’s designed specifi cally to persist
the UI state when the Activity becomes eligible for termination by a resource-hungry run time.
The handler works like the Shared Preference mechanism. It offers a Bundle parameter that represents a key/value map of primitive types that can be used to save the Activity’s instance values.
This Bundle is then made available as a parameter passed in to the onCreate and onRestoreInstanceState method handlers.
This UI state Bundle is used to record the values needed for an Activity to provide an identical UI following unexpected restarts.
Use App2SD - helps to save the internal storage of phone.
DOWNLOAD HERE
App2SD - Save phone storage APP Features :
- App to sd - Move app to SD card if it could be moved.
- Move apps back to phone internal storage from SD card.
- List all installed apps.
- Clear Apps Cache.
- Show total internal storage and available internal storage.
- Show total storage of SD card and available storage.
- Uninstall app.
- Support Android 2.2/2.3.
- Sort app by name, install date, app size.
- Open/Switch to app.
- Search app in google market.
- Notification when there is new app installed which can be moved to SD card.
- Warning on not recommended moving.
.::Artikel Terkait Yang Lainnya,Semoga Membantu::.
download
- Download Angry Birds Star Wars - Best and latest Android Games
- tutorial : new cheat for all glu cash android games
- tutorial : How to download data the GLU android games from pc
- tutorial : How to download android market app or game from pc
- Galaxy Mini GT-S5570 Custom ROM Emanon v4
- "Files can not be validated" during install Desktop Manager Solutions
- Download and upgrade new OS blackberry 87xx, 85xx, 83xx, 82xx, 81xx
- Download and upgrade new OS blackberry 92xx, 91xx, 9000, 89xx, 88xx
- Download and upgrade new OS blackberry 99xx, 98xx, 97xx, 96xx, 95xx, 93xx
- Record and share with SoundCloud on your Android
applications
- tutorial : How to Convert Java(JAD/JAR) to APP
- Good Android Applications photography
- Record and share with SoundCloud on your Android
- 3 most important application must be downloaded After Buying Android
- How to Install Applications other than 'Google Play' to Android phone
- Documents To Go APP is now present in android - Download latest updates Documents To Go 3.0 Main App
- Infolinks APP for Android - Infolinks new mobile application
- Download games for android
- The development of android
- 5 Most Popular Android Applications
Android
- Download Angry Birds Star Wars - Best and latest Android Games
- Tips and tricks : how to avoid malicious Android Devices From Viruses
- tutorial : INSTALLATION ANDROID GAMES
- tutorial : How to Convert Java(JAD/JAR) to APP
- tutorial : new cheat for all glu cash android games
- tutorial : How to download data the GLU android games from pc
- Good Android Applications photography
- Galaxy Mini GT-S5570 Custom ROM Emanon v4
- tips and advice Android Operating System on your mobile
- Record and share with SoundCloud on your Android
Komentar :
Post a Comment