Flashcards
Options for Data Storage
Flashcards do conjunto (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
Informações
- Descrição
- Masters of Science Mobile App FlashCards sobre Options for Data Storage, criado por Nathan Hunsdale em 22-05-2014.
- Criado por
- Nathan Hunsdale · mai 2014
- Atualizado
- 19 fev 2016
- Visualizações
- 14
- Avaliação