Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: how to store variable values to registry?

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!

like image 824
Niko Gamulin Avatar asked Apr 02 '09 01:04

Niko Gamulin


1 Answers

"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

like image 67
James Moore Avatar answered Sep 18 '22 14:09

James Moore