Android Programming and Technical Programming Technical

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

Read Solution (Total 1)

Android Other Question

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.
What is the difference between contentprovider and contentresolver?

Options
1) they are not at all related with each other
2) content provider is used to share private data with other applications, where as content-resolver communicates from client end with content provider.
3) content resolver is used to share private data with other applications, where as content-provider communicates from client end with content resolver.
4)content provider is used to store private data, where as content-resolver communicates from client end with content provider.