Skip to content

KeganMc/saveData

 
 

Repository files navigation

Save data Examples

eclipse/ has the example in the eclipse format (no longer updated). otherwise all examples are using Android Studio.

PerferenceDemo uses the preference activity/fragment to save data. This works to figure out 3.X+ and above, and below to use the different preference methods. annonying actually.

SupportPerferenceDemo uses the preference-v7 and preferencefragmentCompat. it is the same exmaple as PreferenceDemo, but using the support library. much better, yea!

saveDataDemo uses the shared preference system to store data.

ContentProDemo shows how to create a simple context provider and how to access it Also has an example of accessing the contacts provider.

fileSystemDemo shows how to read/write to local private and public directory and the "external" media like an sdcard.

sqliteDemo creates a database and content provider

sqliteDemo2 uses the content provider from sqlitedemo, also shows how to use a loader.

sqliteDemo3 uses the content provider from sqlitedemo and recyclerview. Uses a custom cursoradapter for it and a loader as well.

lvCursorDemo show varying listview to show how to use cursoradapters with listview and explistview.

These are example code for University of Wyoming, Cosc 4730 Mobile Programming course. All examples are for Android.

About

Android examples for saving data, sqlite, file system, and Preferences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%