Mind map
Intent
Map content
Intent
Activates 3 type of comps
- Activities
- startActivity()
- startActivityForReslut()
- onActivittyResult()
- startActivityForReslut()
- startActivity()
- Services
- startService()
- bindService()
- BrodcastRecievers
- sendBroadcast()
- sendOrderedBroadcast()
- sendStickyBroadcast()
- Activities
2 types:
- Explicit
- specify the component to start
- always use for Service, to avoid security hazard
- Implicit
- declare general action to perform
- require intent-filters
- Explicit
Information within Intent
- Component name. i.e. cz.cvut.pr2.ExampleActivity
- setComponent()
- setClass()
- setClassName()
- or Intent constructor
- general action; usually CONSTANT String
- setAction()
- or Intent constructor
- Data
- data URI to setData()
- setType()
- setDataAndType()
- Category; usually CONSTANT String
- additional info
- Extra
- Key: value pair
- Bundle
- Flags
- Extra
- Component name. i.e. cz.cvut.pr2.ExampleActivity
Information
- Description
- 1 Android Mind Map on Intent, created by Igor Ekishev on 20/02/2016.
- Created by
- Igor Ekishev
- Views
- 1
- Rating