Introduction to Android Murat AYDIN STM - GDG Ankara
Introduction to AndroidMurat AYDIN
STM-GDG Ankara
About Me
• Android Developer and blogger in his free time
www.ottodroid.net
• Senior Software Developer at work
• GDG Ankara member
www.gdgankara.org www.androiddeveloperdays.com
• Author
www.androiddeveloperdays.com
History
• Android Inc. founded by Nick SEARS, Andy RUBIN, Rich
MINER, Chris WHITE in 2003
• Google acquired Android Inc. in 2005
• OHA (Open Handset Alliance) consortioum was formed in
2007
• Android Beta SDK Released 2007
Market Share
Android Versions
Android Dashboardhttps://developer.android.com/about/dashboards/index.html
Android Where?
• Smartphones
• Wearables
• TV
• Auto
ART
• AOT VS JIT
• Performance
• Battery Life
Choose Your IDE
Source
• developer.android.com
• androidweekly.net
What is the difficulty?
How?
• Supporting different languages
• Supporting different screens
• Supporting different versions
• Use Android Support Library
Every screen is generally an Activity
There are many Activities in an App
A Sample Activity
Activity Life Cycle
Screen Designs by Layout XML Files
Intents are used for starting an Activity
You can also call predefined functionalities with Intents
AndroidManifest.xml
• Package Name
• Activities
• Intents
• Permissions
• App versions
• App target and minimum SDK
• …
Sample AndroidManifest.xml
Permissions
Resources
• Animations res/anim
• Colors res/color
• Drawables res/drawable
• Layouts res/layout
• Menu res/menu
• Strings res/values
• Styles res/values
Layouts
Shared Preferences
Background Jobs
Logcat
Gradle
Proguard
• Shrinking
• Optimization
• Obfuscation
What Else?
• BroadcastReceivers
• Services
• SQLite
• Media
• Location
• Sensors
• App Widgets