924
Lectures Watched
Since January 1, 2014
Hundreds of free, self-paced university courses available:
my recommendations here
Peruse my collection of 275
influential people of the past.
View My Class Notes via:
Receive My Class Notes via E-Mail:

VIEW ARCHIVE


Contact Me via E-Mail:
edward [at] tanguay.info
Notes on video lecture:
Developing an Android App
Choose from these words to fill the blanks below:
animations, users, publishes, shares, messaging, language, background, Activity, developer, Java, events, database, continue, ContentProvider, plurals
four kinds of application components
1. Activity
           see these
enables users to give and receive
2. Service
supports long-running                      operations
3. Broadcastreceiver
listens for and responds to device             
4. Contentprovider
stores and              data between multiple applications
applications have any number of the above kinds of components
implemented as          classes
Activity class
primary class for user interaction
an activity should provide a single, focused thing for a user to do
e.g. phone dialer
DialtactsActivity.java
a sub-class of                 
Service class
run in the background
run away from UI thread
e.g. music application
allows music to                  playing even when you move to another app
users a service to play the music file
BroadcastReceiver
listens for and responds to events
events are represented by the intent class
use e.g. sendBroadcast
e.g. the                    application
someone wants to send me an SMS message
arrives at my phone
Android sits and waits for SMS messages to arrive and when one arrived,                    an SMSmessageReceived intent
Content Providers
stores and shares data across applications
use                 -style interface
handle interprocess communication
e.g. browser application
browser opens bookmarks in a Content
BrowserProvider extends                               
more complex application with two activities
MapLocation
user enters address
presses button
building an application
you get an apk file
apk is signed to identify the                   
steps
1. define resources
apps are more than source code
layout files
strings
                    
images
you can easily alter these resources
e.g. strings
individual strings
arrays of strings
              
e.g. book/books
in java, you refer to them as R.string.string_name
implement applicatoin classes
package application
install and run application
you can add another                  of strings by adding a directory, e.g.
videos-fr

Flashcards:

what are the four fundamental components of an Android application?
ContentProvider (data), Activity (interface), BroadcastReceiver (events), Service (background)
Android Architecture
The Android Development Environment
Developing an Android App
The Activity Class
Fields of the Intent Class
Android Permissions
The Fragment Class