Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Android Fundamental

2,930 views

Published on

Android fundamental, slide presentasi dalam acara bedah buku "24JAM!! Pintar Pemrograman Android" di STMIK AKAKOM Yogyakarta

Published in: Technology
  • Be the first to comment

Android Fundamental

  1. 1. mBEDAH Buku24JAM!! Pintar Pemrograman Android AKAKOM #Jogja | 21/3/13
  2. 2. Arif Akbarul Huda Penulis | Freelance Programmer | Trainer@omayib 2971F7CBFacebook.com/omayib omayib@gmail.comomayib@gmail.com arul_sip@yahoo.com
  3. 3. Promo …
  4. 4. Promo … www.omayib.com www.indocode.net
  5. 5. Promo …
  6. 6. Promo … www.omayib.com
  7. 7. *
  8. 8. Version & Target Device…
  9. 9. Version & Target Device…
  10. 10. Komponen android… Komponen Android Activity Views Intent Broadcas Content Service treceiver provider
  11. 11. Komponen android…Acvitivy“User interface yang bisa digunakan untukberinteraksi antara user dengan aplikasi” activity
  12. 12. Komponen android…views basic building block for user interface components a rectangular area on the screen and is responsible for drawing and event handling Example Button, EditText, Listview,CalendarVie w,Checkbox,ImageView,TextView etc views
  13. 13. Komponen android…intent • a facility for late run-time binding between components in the same or different applications • Example 1 : from Login page to dashboard page • Example 2: from whatsapp -> activating camera intent
  14. 14. Komponen android…BroadcastReceiver • a component that responds to system-wide broadcast announcements • Example 1 : Batteray low • Example 2 : screen has turned off • Example 3 : picture was captured BroadcastReceiver
  15. 15. Komponen android…Service • a component that runs in the background to perform long-running operations or to perform work for remote processes • No need User Interface • Example 1 : music player • Example 2 : Tweeter App when fetching new tweet • Example 3 : perform file I/O Service
  16. 16. Komponen android…Content Provider • A content provider manages a shared set of application data • No need User Interface • Example 1 : manage User Contact • Example 2 : manage SQLite database Content Provider
  17. 17. DDMS android…
  18. 18. DDMS android…
  19. 19. Lifecycle App android… Lifecycleapp (DEMO)
  20. 20. Multiple ScreenSupporting different device Multiple screen
  21. 21. layout DRAG & DROP !
  22. 22. layout Komponen Properti value RelativeLayout Layout_width Match_parent Layout_height Match_parent backgorund #ff0000 Textview id textView2 Layout_width Wrap_content Layout_height Wrap_content text username EditText id inUser Layout_width Wrap_content Layout_height Wrap_contentKlik Kanan > Properties ... Tips bikin layout
  23. 23. layout Tips clientserver
  24. 24. Client ServerAsyncTask enables proper and easy use ofthe UI thread. This class allows to performbackground operations and publish resultson the UI thread without having tomanipulate threads and/or handlers. Asyntaks no Asyntaks vs asyntaks process process p2 p1 p1 time time
  25. 25. Push Notification

×