17 terms

I/O BootCamp 2011: Beginner's Guide to Android

- android platform: - writing the app: - surfacing the content: - building the app:
a single screen; can invoke functionality from other applications.
long-running operations in background; has no UI.
content provider
retrieves/stores data; system uses it to manage a shared set of app data
broadcast receiver
responds to system-wide messages (normal or ordered) ; very lightweight
messages that link app components together (explicit or implicit)
declare features, components, and version compatibility. Sets app permissions.
activity lifecycle
Activity Created -> Activity Running -> returns to app or gets destroyed.
unobstrusive content
event-driven notifications; even app can link to it!
display app info on homescreen; keep users engaged!
cloud to device messages
the server "pushes" messages (data) to app.
defined by XML layout files, a hierarchy of View & ViewGroup
Resources framework
comprised by res folder, esp. R.java. Qualifiers of these allow different device configs.
supporting multiple screens
Think web style layout. Provide density assets and size layouts
hardware sensors
devices have these to make more fluid experience with environment (accelerometer, gyroscope, etc.)
background tasks
multitasking, regular updates, and offline availability granted.
make tasks, tweaks, setting changes, and UI accessible.
in conjunction with Activity lifecycle; Set up feedback mechanisms and consult an app designer to ensure this.