Skip to content

Instantly share code, notes, and snippets.

@akueisara
Last active March 17, 2020 15:24
Show Gist options
  • Save akueisara/4559fc153a473d2e8a368b645e1c7d64 to your computer and use it in GitHub Desktop.
Save akueisara/4559fc153a473d2e8a368b645e1c7d64 to your computer and use it in GitHub Desktop.
Android Notes

Explicit Intents launch specific activity.

Implicit Intents specify WHAT you want done and system chooses activity.

Intent Action: the type of thing that the app wants to have done on its behalf, such as ACTION_VIEW, ACTION_DIAL or ACTION_EDIT

Intent Category adds a subtype to the action, such as CATEGORY_APP_MUSIC, CATEGORY_APP_GALLERY, CATEGORY_APP_MAPS, CATEGORY_APP_CALCULATOR, CATEGORY_APP_EMAIL, CATEGORY_APP_CALENDAR

**Intent Data Type (MIME Data Type) ** allows activities to support specific data types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment