Lesson 1 Flashcards
Create Project Sunshine
Project Structure (cmd ;), ->app -> flavors
versions
AVD
Android Virtual Device
stack
application layer, application framework, c/c++ libs & Android Runtime, Linux Kernel
ADB
Android Debug Bridge
ADB commands
push, pull, shell, logcat…
gradle task
atomic work for build
./gradlew tasks
run on command line to list runnable gradle tasks
adb list commands
enter adb into terminal
Apps are…
collections of connected components
4 types of app components
Activity, Service, Content Provider, Broadcast Receiver (BACS) | (Br, A,S,Cp)
Android Manifest does what with components?
Register components
Activity
Component responsible for user interaction (view); a “single focused thing the user can do”.
Responsible for creating the window the application uses to draw and receive events from the system.
Experience of App, Activities
Experience app as a sequence of activities, beginning with launcher. Kept as a stack.
Android Manifest’s launcher
launch tag for application. Registered to an activity, with an intent filter for launching.
what layout does for activity
layout contains information about what to display, and how to display it.
res folder
application resources
resources
strings, images, files, layouts