MODULE 6 Flashcards
_____ class enables switching between activities
Intent
_____ pass data between activities
Intents
_____ is used to load data into intents
putExtra
_____ means that if a user quits the app and comes back, the data will stay
Persist
Ways to make data persist:
- Shared preferences mechanism
- Traditional file systems
- SQLite database system
_____ provides access to data that is accessed by all activities
SharedPreferences
SharedPreferences object for reading data is called _____
prefs
_____ converts bits and bytes into data objects on the app
De-serialization
Sharedpreferences object for writing data is called _____
editor
_____ converts data objects into bites and bytes to store on disk
Serialization
_____ is a method that initiats saving process
Commit
_____ is used to get data from database
rawQuery
_____ type is used to store floating point numbers
real
Classes to access database API:
- SQLiteDatabase
- SQLiteOpenHelper
_____ is used to add data to database
execSQL