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

6,976 views

Published on

Introduction to Android Programming presented at computer scientists group on Warsaw University Of Technology / 25.07.2013

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
6,976
On SlideShare
0
From Embeds
0
Number of Embeds
6,091
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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

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

×