Android Programming and Technical Programming Technical

What is the purpose of SQLiteOpentHelper?
Options
1) A helper class to manage database creation, version management, and inserting/modifying/deleting/updating table data without loosing state of the previous data.
2)A helper class to insert/update/delete data into tables with loosing state of the previous data.
3)A helper class to manage database creation, upgrading and version management without loosing state of the previous data.
4) all of the above

Read Solution (Total 1)

Android Other Question

What is the life cycle of a content provider?
Options
1)A content provider's onCreate() funcation will be called every time if some client calls providers funcations using content resolver.
2) A content provider's onCreate() funcation will be called when first time if some client calls providers funcations using content resolver.
3) All the content providers will be created (onCreate()) after phone has booted first time
4) None
Can one application access other application's database directly?

Options
1) yes, it is possible
2) no, it is impossible
3) option 2 is right because, sqliteDB will be stored in internal memory app always. so other apps cannot access it.
4) Option 2 is wrong, because even if db tables are stored in internal memory, using Content Provider one can access database.