![]() ![]() ![]() Note again that the chain here indicates the tight coupling between the activity in the service that uses an explicit intent. This diagram for example shows that activity one is sending an explicit intent to Service two. A named, or so called explicit intent, is sent to an instance of a designated class. The name element identifies the component that can receive an intent, the component name is optional. We'll first start by looking at the Android intent structure for the name element. This part of the lesson shows some code snippets for building intents. Some of the elements we'll discuss are of interest to the components that receive the intent, other elements are of interest to the Android system itself. This part of the lesson builds upon the discussions we had in the previous part, to allow you to understand the details of Android's intent structure. Welcome to part 2 in a lesson on Elements of an Android intent. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |