0

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
asked Apr 14, 2011 at 19:12
1
  • 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. Commented Apr 14, 2011 at 19:17

1 Answer 1

1

Yes it does. Being a persistent store is its primary purpose.

answered Apr 14, 2011 at 19:15
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.