• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we set a varible even app close variable data must be there for next time

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to set variable when i longing to app next time varible value have to be there.can we use Global class for this ?
i don't want to be use data base table ?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i need to save user name ,password,address......
After user enters data via form i need to save them.
can i use preferences to do this ?
 
Maneesh Godbole
Saloon Keeper
Posts: 11341
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What happened when you tried?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created simple example.



how can i used this to save more than one value,as it saves key and values .E
Ex i need to ssave name,age,address..
i can save name in a one value pair .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic