Reputation: 3110
I'm newbie on android and I have two question but first Let me explain you the application I'm working on it.
In the Application I will have Some Text 'Like quotes they will be rarrely changed only between Version'
onCreate
or onStart
activites ?The seconde part of application, it's like an alarm but in stead of setting time manually it will get data from internet every day so data will be changed everyday.
Sorry If there's no code in my post but I need to know the right way to do it and best desvelopement practice.
Upvotes: 0
Views: 49
Reputation: 204
If I understood correctly, there is no need of databases here. In the first case, if the quotes will just change by version, you can easily store it in string literals. No hastle of databases.
In the second case, you can set alarm when you are retrieving time data from the internet. Or you can also store those in a simple file in SD card, or in SharedPreferences. It will be relatively easy I think.
Upvotes: 1
Reputation: 2547
I think you could use SharedPreferences if you need only to store strings
Upvotes: 1