Inserting data into SQLite Database

Basic Tutorials concerning: GUI, Views, Activites, XML, Layouts, Intents, ...

Inserting data into SQLite Database

Postby mellow70 » Wed Mar 03, 2010 6:25 pm

I have a question I want to retain retrieve xml variables into a SQLite database once the user logs in, reason why is that certain functions need to use these retrieve variables

For example a user logins to a remote database, there pin number is returned, thus pin number should then be inserted in the locale SQLite database to be used in another activity in order for the user to create the process.
mellow70
Freshman
Freshman
 
Posts: 5
Joined: Thu Feb 18, 2010 8:42 pm
Location: Atlanta, Georgia

Top

Postby WalkerTexasRanger » Wed Mar 03, 2010 8:53 pm

Someone correct me if I'm wrong, but if you wanted just to save simple datatypes like an integer or something, couldnt you just use the shared preferences? Would this pose a possible threat to the security of the PIN number?

Here is what google has in the dev guide.

here is a little more information on shared preferences and Activity preferences, which may be all you need.
WalkerTexasRanger
Freshman
Freshman
 
Posts: 2
Joined: Wed Mar 03, 2010 8:38 pm

Top

Return to Novice Tutorials

Who is online

Users browsing this forum: No registered users and 8 guests