Please enable JavaScript.
Coggle requires JavaScript to display documents.
android - Coggle Diagram
android
infrastructure
middleware
android runtimes
-
android core libraries
intent
An intent contains a number of elements
including the name,
action, data, category, extras, and flags.
The name element identifies the component that can receive an intent, the component name is optional.
two types
implicit
-
explicit
actions
predefined by android
-
API
-
-
-
-
-
handlers
static
filters
-
-
Activity
Lifecycle
-
finish
finish()
this method is used to close down the activity and to propagate the result back to the component that launched the activity.
setResult()
result code
- 2 more items...
paused
onPause()
onPause should be used to perform important cleanup operations. Things like committing unsaved state, or perhaps releasing system resources such as broadcast receivers, handlers to sensors, or any resources that may affect battery life while your activity is paused and the user doesn't need to use them.
-
tasks
-
device home screen, shown here, is the starting point for most tasks.
concurrency
-
One framework is called the HaMeR framework, which stands for Handlers, Messages, & Runnables.
broadcasr_receivers
-
onReceive() hook method
For example, it can't register other receivers, it can't bind to a service, nor can it show a dialog.
goAsync()
-
goAsync can be used to keep the broadcast active, even after returning from onReceive.
mechanism
-
ordered
-
sticky
-
Application framework
The framework transparently monitors event sources, such as user input buffers, network connections, files, and so on or directories for activity of interest that the app is registered for.
-