vendredi 4 septembre 2015

How to store Objects in Android so that they are accessible even when app restarts

I am developing an Android Application for Home Automation. I am creating objects for each device(home appliance) which has different data fields such as device name, device ID and device status etc. I want to store these object data in android storage so that even when I restart my app I can access these data.

I researched and found that Internal Storage and SQLite are 2 methods which can be used to store this type of data. Which method is more suitable in this application?

Aucun commentaire:

Enregistrer un commentaire