Description: This example will show you how to use shared preferences in 4.2 version. Algorithm: 1.) Create a new project by File-> New -> Android Project name it SharedPreferencesExample. 2.) Write following into layout/main.xml: 3.) Write following into your manifest file: 4.) Create and write following into ViewSharedPrefs.java: 5.) Run for output. Steps: 1.) Create [...]


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>Android, Android Development, Android Resources, Android Samples,Mobile Development Tutorials,Mobile Developments