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 difference between Service & Intent Service? |
☺ | Tell us what is a BuildType in Gradle? And what can you use it for? |
☺ | Do you know the languages supported for Android development? |
☺ | Explain me what is a ContentProvider and what is it typically used for? |
☺ | Tell us why would you do the setContentView() in onCreate() of Activity class? |
Top Mobile Technologies Categories
☺ | Android Interview Questions. |
☺ | Wireless Communication Interview Questions. |
☺ | 3G Interview Questions. |
☺ | iPhone Interview Questions. |
☺ | Mobile App Architect Interview Questions. |