Pergunta

Will the data still be there after the user restarts his / her phone or changes SIM / battery?

Foi útil?

Solução

Yes. The data is persistent. Unless the user 'restores it to factory defaults'

Outras dicas

SharedPreferences are stored in the phone's internal memory, not the SD card.
They won't be erased by a reboot/battery change either.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top