android 101 - manuel vicente vivo
TRANSCRIPT
![Page 1: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/1.jpg)
S
Android 101 Manuel Vicente Vivo
@manuelvicnt
@CapitalOneGeek
![Page 2: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/2.jpg)
Why?
S 1.4 billion active Android devices
Android 101 @manuelvicnt
![Page 3: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/3.jpg)
Android Fundamentals
S Java = programming Language
S APK = package format for deployment to device
Android 101 @manuelvicnt
![Page 4: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/4.jpg)
Code Structure
Android Manifest File / Gradle A
ctiv
itie
s
Re
sou
rce
s
Vie
ws
Layo
uts
Oth
ers
Android 101 @manuelvicnt
Log
ic
![Page 5: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/5.jpg)
Manifest.xml
S Unique ID of the app (package name)
S Name and Icon
S Activities declaration
S Required permissions
Android 101 @manuelvicnt
![Page 6: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/6.jpg)
Gradle
S Open source build automation system.
S Deals with:
S External dependencies.
S Android requirements:
S Target version
S Min version
S Different environments:
S Release
S Test
Android 101 @manuelvicnt
![Page 7: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/7.jpg)
Project Folders
S Java Source Code (java)
S Static resources (res)
S drawable: for images (xml, png, jpg)
S layout: views description (xml)
S values: raw properties (xml)
Android 101 @manuelvicnt
![Page 8: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/8.jpg)
Android Fragmentation
S Resources per device configuration
S Dynamic device capabilities
Android 101 @manuelvicnt
![Page 9: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/9.jpg)
Activity
S Represents a single screen with a User Interface
S Intents S Asynchronous messages
sent by applications to perform actions. S Launch a different
Activity.
S Run a Service.
Android 101 @manuelvicnt
![Page 10: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/10.jpg)
Activities Lifecycle
Android 101 @manuelvicnt
![Page 11: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/11.jpg)
Views
Toolbar
View Pager
TextView
EditText
Button
ImageView
Android 101 @manuelvicnt
![Page 12: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/12.jpg)
Layouts
S Layouts and Views properties: Width & Height S MatchParent : make it as big as the parent S WrapContent: make it big enough to enclose
its content
Android 101 @manuelvicnt
![Page 13: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/13.jpg)
Others
S Fragments
S Services
S Content Providers
S Broadcast Receivers
S Notifications
Android 101 @manuelvicnt
![Page 14: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/14.jpg)
Innovate with Android
S Fingerprint Authentication (Android Imprint)
S OCR (Optical Character Recognition)
S NFC technology
S Android Wear & Auto
S Google Now
S …
Android 101 @manuelvicnt
![Page 15: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/15.jpg)
Tools
S Android Studio
S Android device/emulator
S Ideas
S Persistence
Android 101 @manuelvicnt
![Page 16: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/16.jpg)
Android 101 example https://github.com/manuelvicnt/Android101
Android 101 @manuelvicnt
![Page 17: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/17.jpg)
Integrate your Website
S Make your website an Android App.
S Used in deployed Android apps.
S Smart error handling for no Internet Connection.
S The developer is in the room! Talk to him to add new functionality :)
S @jgarciabt
https://github.com/jgarciabt/SmartWebView
![Page 18: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/18.jpg)
Android 101 @manuelvicnt
Nessie – Capital One API api.reimaginebanking.com
S Customers
S Accounts
S Transactions
S …
![Page 19: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/19.jpg)
Want a price?
Android 101 @manuelvicnt
https://github.com/manuelvicnt/NessieC1
S Price goes to the best use of Nessie.
S Take a look at the Android example.
S API available for other technologies
![Page 20: Android 101 - Manuel Vicente Vivo](https://reader031.vdocument.in/reader031/viewer/2022030305/58707fa41a28ab57368b60d7/html5/thumbnails/20.jpg)
Questions?
Manuel Vicente Vivo
@manuelvicnt