Flashcards
Options for Data Storage
Cards in this deck (10)
- 1Options for data storage What are the 6?1) Shared preferences
2) Internal Storage
3) Local cache
4) External Storage
5) SQLite DB
6) Network Connection - 2Options for data storage Shared preferencesSaves Primitive Data
- 3Options for data storage Internal storageSave files on the device's internal storage
- 4Options for data storage Local cache What method do use use to create the cache?use the getCacheDir() method to create the cache
- 5Options for data storage External Storage What method do you use to check availability of external storage?-like an SD card
-getExternalStorageState() to check availability of media - 6Options for data storage SQLite Database What method do we use to create the SQLite DB?a lightweight SQL (structured query language) database
@Override
public void onCreate(SQLiteDatabase db){ db.execSQL(DICTIONARY_TABLE_CREATE);
} - 7Options for data storage Network ConnectionRemote Storage
- 8Permissions to use data storage Where is it declared and what are the two types?Declared in AndroidManifest.xml
1) Internet
2) SD card - 9Permissions to use data storage - Internet What is the code?android.permission.INTERNET
- 10Permissions to use data storage - SD Card What is the code?android.permission.WRITE_EXTERNAL_STORAGE
Information
- Description
- Masters of Science Mobile App Flashcards on Options for Data Storage, created by Nathan Hunsdale on 22/05/2014.
- Created by
- Nathan Hunsdale · May 2014
- Updated
- Feb 19, 2016
- Views
- 14
- Rating