Android Programming and Technical Programming Technical

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.

Read Solution (Total 1)

Android Other Question

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
How to start a content provider using an intent?

Options
1) possible. Content provider is also a component of android, so we can use intent to start it.
2) not possible. Using intent you can't trigger a content provider.
3) option 2 is correct because, we use content resolver to communicate with content provider
4)none