Please explain what is an Intent? Can it be used to provide data to a ContentProvider? Why or why not?
Submitted by: MuhammadThe Intent object is a common mechanism for starting new activity and transferring data from one activity to another. However, you cannot start a ContentProvider using an Intent.
When you want to access data in a ContentProvider, you must instead use the ContentResolver object in your application's Context to communicate with the provider as a client. The ContentResolver object communicates with the provider object, an instance of a class that implements ContentProvider. The provider object receives data requests from clients, performs the requested action, and returns the results.
Submitted by: Muhammad
When you want to access data in a ContentProvider, you must instead use the ContentResolver object in your application's Context to communicate with the provider as a client. The ContentResolver object communicates with the provider object, an instance of a class that implements ContentProvider. The provider object receives data requests from clients, performs the requested action, and returns the results.
Submitted by: Muhammad
Read Online Android Developer Job Interview Questions And Answers
Top Android Developer Questions
| ☺ | Explain me what is Context? |
| ☺ | Explain me what is the Android Application Architecture? |
| ☺ | Explain me scenario in which only onDestroy is called for an activity without onPause() and onStop()? |
| ☺ | Explain me how does the activity respond when the user rotates the screen? |
| ☺ | What are content providers? |
Top Mobile Technologies Categories
| ☺ | Android Interview Questions. |
| ☺ | Wireless Communication Interview Questions. |
| ☺ | 3G Interview Questions. |
| ☺ | iPhone Interview Questions. |
| ☺ | Mobile App Architect Interview Questions. |
