Assignment :- 05 (Chapter 10)
- What is preference? Explain with example to store, update & delete data using private preference.
- Explain shared preferences to transfer data between activities with example.
- Write a program to create & write a data file, open that file & display in textview.
- Write a code to perform following operations with SQLite Databae.
- Create Database
- Create Table (with autoincrement, not null, primary key constraints)
- Inserting, Updating, Deleting records.
- Explain query() method to retrieve data from database.
- Explain rawquery() method & SQLiteQueryBuilder class to retrieve data from SQLite database.
- What is persistent database? Write a code to create persistent database.
- Explain cursoradapter to bind data with container controls.