How to store and retrieve email id and password using SharedPreferences?

by pranav09 » Wed, 20 Jan 2010 02:07:51 GMT

Sponsored Links
 Hi all,

I am developing an application which requires to store email id and
password, so that the user can directly redirect to his home page if
the user is already exists. A few day ago i read that
SharedPreferences is used for storing and retrieving the data.

How can i use SharedPreferences concept to store and retrieve data.
Anybody have any idea to do this way? If it is possible by
understanding me through the code because i read that things but i can
not get it properly.


Other Threads

1. obtainBuffer timed out in AudioTrack.write()

Don't know why I bother asking here but, you never know, right?

Anyway - after stopping and restarting playback of an audiotrack
stream, on some devices I consistently get;

W/AudioTrack( 2453): obtainBuffer timed out (is the CPU pegged?)
0x64acc0 user=00010000, server=00000000

after freezing for a couple of seconds. This happens whether I just
pause() and flush() my audiotrack or release() and recreate it.

Anyway to avoid this?


2. Single step through Java code

Is there a way to single step through Java framework code, like
WindowManagerServive, KeyInputQueue?

thanks and regards


3. client Server

4. Do android support multiple languages?

5. Replace preloaded class?

6. how to find my custom xml file in res/xml

7. Setting wallpaper to bitmap