![]() Optional, used while declaring an explicit intent and a service. The component name represents the component's name (or component category) to start. ![]() Building Blocks of an Intent Component name In the above code snippet, an explicit intent is declared to move from one activity to another. Here, the component is specified, i.e., the external class to be invoked is provided. In the above code snippet, an implicit intent is declared to view a webpage(URL). ![]() Here, no component is specified instead, an action is performed. Intents are classified into two categories: Implicit Intent
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |