views:

1368

answers:

1

Hi,

I am creating an application which requires login and enables user to configure some settings.

However I would like to enable user to store preferred settings, username and password.

Does anyone know how to store and retrieve values from registry? Another possibility is using SQL Lite database but if possible I would prefer to store values to registry.

Thanks!

+4  A: 

"Preferences is a lightweight mechanism to store and retrieve key-value pairs of primitive data types" http://developer.android.com/guide/topics/data/data-storage.html

James Moore