android native programming introduction
TRANSCRIPT
![Page 1: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/1.jpg)
Android Native Programming
Introduction
Learning Android opens many
opportunities!
![Page 2: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/2.jpg)
Requirements
1. A little background in programming
2. Computer (PC or Mac) with at least an i5 processor.
3. Install Android Studio.
![Page 3: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/3.jpg)
![Page 4: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/4.jpg)
Development
Building Blocks of an Android Application
Activity
Views
Intents
Services
Content Provider
Broadcast Receiver
Required / must have
in any android app
![Page 5: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/5.jpg)
Development
Android Package (APK) file
Android apps are written in the Java programming language.
The Android SDK tools compile your code—along with any
data and resource files—into an APK: an Android package,
which is an archive file with an .apk suffix.
APK file contains all the contents of an Android app and is
the file that Android-powered devices use to install the app.
![Page 6: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/6.jpg)
Development
Activity
Represents a single screen with a user interface.
Each android app should have at least 1 Activity.
Listing
of Friends
View
ProfileChat
Example of Activities in a Messenger app.
![Page 7: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/7.jpg)
Development
View / ViewGroup
Represents the USER INTERFACE in an android app.
A View draws something on the screen that the user interacts.
A ViewGroup contains other Views and ViewGroups. A
collection of UI elements which conforms to its rules on how the
elements within are displayed on the screen.
Example: LinearLayout vs. RelativeLayout
![Page 8: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/8.jpg)
Development
Intent
An abstract description of the operation to be performed.
Navigate from one activity to another activity.
Transfer or pass data between activities and; much more.
![Page 9: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/9.jpg)
Development
first Android app
1. Click “Android Studio” icon to
open the editor.
2. Click “Start a new Android Studio
project”.
![Page 10: Android Native Programming Introduction](https://reader031.vdocuments.mx/reader031/viewer/2022021920/58d11cfb1a28ab2a738b4d8f/html5/thumbnails/10.jpg)
For android coding tutorials
Go to my Android Studio channel
at Youtube, click here.