K
K
Kostya Bakay2015-07-17 20:10:30
Android
Kostya Bakay, 2015-07-17 20:10:30

How to save data after closing the application and restore it when reopening?

The user enters data in certain fields. I need to save this data in this form even if the user closes the application. Can you suggest how to implement this?
23eb220b200c4b6e81471ae50242be7e.jpg

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
Ivan, 2015-07-18
@kostyabakay

if there are few fields and the data is simple, then you can not bathe with the database and add it to SharedPreferences:
developer.android.com/guide/topics/data/data-stora...

I
IceJOKER, 2015-07-17
@IceJOKER

startandroid.ru/ru/uroki/vse-uroki-spiskom/133-uro...

K
Konstantin Dovnar, 2015-07-17
@SolidlSnake

The official site seems to work: Saving Data

O
Oleg Gamega, 2015-07-17
@gadfi

do not reinvent the wheel, your version of the database.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question