Does someone knows if the data saved in the SQLITE database stays there once you power off the device? if it doesn't how can i save that data so that when i turn the device back on is available for use thanks in advance
OMG Ponies
334k85 gold badges536 silver badges509 bronze badges
-
Yes it does. But even if you used the Shared Preferences to save a couple of values, they will also be there after you reboot the device. So for application preference settings you can also use that without need for a database. But you should use a database for the data managed by your application, and yes it will be persistent and available after each device reboot.Luis Miguel Serrano– Luis Miguel Serrano2011年04月14日 19:17:13 +00:00Commented Apr 14, 2011 at 19:17
1 Answer 1
Yes it does. Being a persistent store is its primary purpose.
answered Apr 14, 2011 at 19:15
Graham Borland
60.8k21 gold badges144 silver badges184 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
lang-sql