Learn the core Android App development concepts beyond creating the Android App. We used the Yamba app from the Learning Android demonstrate the use of Android Activities, Services, Broadcast Receivers, Intents and Content Providers.
Automating Google Workspace (GWS) & more with Apps Script
Learn how to develop for Android, beyond the Hello World android app - Cape Town Android Meetup
1. Android App Development
Beyond The HelloWorld App
Cape Town Android Meetup
Joseph Kandi
Peruzal Android App Development Training Team
www.peruzal.co.za
2. Take Aways
!
Android Development Environment
Android Application Components
Threads in Android
Designing Android UIs in XML
Using Intents
Performing Web Service Calls
15. Activity Class
Called when the activity will
start interacting with the user
Called the activity is first
created
Called when the activity is
becoming visible to the user
Called when the system is
about to start resuming a
previous activity
Final call before the activity is
destroyed
Called after the activity has
been stopped, prior to it being
started again
Called when activity is no longer
visible
16. Intents
Messages sent among the major building blocks.
They trigger an action to start up, tell a service to start or stop, or simple
broadcast
20. Application Context
Refers to the application
environment and the process
within which all the
components are running
!
Used to share data
between components
Context.getApplicationContext
Activity.getApplication
32. Project Name - NB
No spaces allowed
The name of the app
Package name,
usually reverse dns of
your company name
Minimum supported SDK
the app will run on
The version of
Android we are
building for
Does not do anything,
ignore
Create an initial
activity
33. Customize the launcher
Path for the image used as a
launch icon on the home screen
Preview of the launch icon on
different screen resolutions
35. Choose Main Activity Name
Leave it as
MainActivity for now, in
future we will change it
The xml file defining
the user interface for our
activity
Leave as is
36. Project Structure
Main activity
created during project
setup
Resource folders go
under “res” folder
xml layout file
defining the screen for
the app
Explains what
application consists, the main building
blocks, permissions
45. Create a New AVD
Choose name, no spaces
allowed
Choose device
specifications
Camera support
Amount of RAM
Improves speed of the
emulator
Android SDK version