tags:

views:

66

answers:

2

How to store username password in device memory. Even after the user closes the application and returns back , he should be able to authenticate his username and password. Right now I am testing in Eclipse... so please help me with some pointers/links which will allow me to test in Eclipse and eventually run on Mobile.

A: 

store username and password in sqlite database which is prepackaged in android stack. see the below links

1

2

Srinivas Reddy Thatiparthy
+1  A: 

I've used SharedPreferences to store username/password, it is a much lighter weight storage solution and secure to your app.

Shared Preferences in Android Dev Guide

mmaitlen