ANDROID
CONTACT
SYLWESTERMADEJ
@smdremedy
smd@smdremedy.pl
OBJECTIVES
●
CreateyourownAndroidApp
●
PublishittotheGooglePlay
●
Getfameandrespect
BASICINFO
●
5-7meetings
●
2-3h+optionalhomework
●
Focusonbestpractices
●
Morecodethanslides
●
Requirements:computer,freetime,basicJava
SOURCES
●
http://developer.android.com/develop/index.html
●
http://developer.android.com/design/index.html
●
https://www.youtube.com/user/MarakanaTechTV
●
Requirements:computer,freetime,basicJava
●
„Androidwpraktyce”C.Collins,M.Galpin,M.Kaeppler
WEAPONOFCHOISE
●
GIT!(Github,Bitbucket)
●
Parse+FacebookSDK
●
ActionBarSherlock(support-v4),AQuery
●
Ormlite
●
JenkinsCI+Calabash
●
GoogleAnalytics
●
Genymotion
ANDROID
●
AquiredbyGooglein2005
●
Realstart–G1withAndroid1.5in2008
WHYANDROID?
●
CurrentlythemostpopularmobileOS
FRAGMENTATION
FRAGMENTATION
FRAGMENTATION
UNDERTHEHOOD
●
Linuxkernel
●
JAVA(bytecode-.class)
●
DALVIKVM(bytacode-.dex)
●
HeapperVM(process)-16MB+
●
Dex2Jar
TOOLS
●
ADTBundle(Eclipse+SDK+ADTPlugin+...)
http://developer.android.com/sdk/index.html
●
AndroidStudio?
●
Emulator(AVD)orGenymotion
●
ADB
●
DDMS REFRESH,CLEAN,RESTART!!!
DEMO
●
Let'sstarthavingfun
AndroidManifest.xml
●
Package
●
Components:Activities,Services,BroadcastReceivers...
●
Permisions
●
Versions
●
Libraries(e.g.Maps)
Activity
●
Singlescreen
●
Backstack
●
Lifecycle
●
Don'tforgettoputitinAndroidManifest.xml.Youwill...
●
StartActivity,StartActivityForResult
LUNCHTIME!
●
Homework:
CreateLoginActivitysimillartothis.
Whene-mail&passwordarecorrect,opensecondActivity
with„It'slunchtime!”textinthemiddleandLogutbutton,
whichswitchuserbacktoLoginscreen.
NEXTMISSION
●
Views
●
Layouts
●
Resources,Assets
●
AdapteswithViewHolderpattern

Practical Android Course Part I - Introduction, Activities (KNI)