android - How to store information: a database or your apps memory? -


i've been wondering lot.

so made database android application. big advantage on making information strings , retrieving them way?

or there no advantage @ all?

if have single record, case "settings" , "preferences", then, guess store properties file or json string in file system, or more preferably "shared preferences".

however, if have multiple records, let's keeping track list of friends current user has, then, database ideal, allow create queries, create cursors lists, , many more advantages.


Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -