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 labs part1

372 views

Published on

Android labs part1 - View/View Group

Published in: Education, Technology, Business
  • Be the first to comment

  • Be the first to like this

Android labs part1

  1. 1. Android實作練習 Part I View/View Group 1
  2. 2. Java 先備知識 ·•語言基礎 ·•巢狀類別 Nested class ·•介面/事件處理器 interface / Listener ·•繼承/覆寫 Inheritance / Override ·•匿名類別 Anonymous class ·•I/O ·•執行序 Thread 2
  3. 3. 程式撰寫通則 ·•UI Design (分析設計/實作)& Copy Resources ·•訊息以及多國語言設計 ·•AndroidManifest.xml ·•Layout (UI) ·•Activity ·•UI components as attributes ·•initView() ·•initHandler() 3
  4. 4. Lab01 ·• 學習重點: ·•TextView ·•EditView ·•Button ·•Button Listener 4
  5. 5. Lab02 ·•學習重點: ·•Toast ·•Toast with position ·•Toast with Image 5
  6. 6. Lab03 ·• 學習重點: ·•AlertDialog.Builder ·•AlertDialog.Builder setSingleChoiceItems ·•AlertDialog.Builder setMultiChoiceItems ·•SparseBooleanArray checkedItems = ((AlertDialog)dialog).getListView().getCheckedItemPositions(); 6
  7. 7. Lab04 ·•學習重點: ·•ImageView ·•SeekBar ·•ToggleButton / Switch ·•SDK版本控制 7
  8. 8. Lab05 ·• 學習重點: ·•樣式抽離 8
  9. 9. Lab06 ·• 學習重點: ·•WebView 9
  10. 10. Lab07 ·• 學習重點: ·•UIDatePicker 10
  11. 11. Lab08 ·• 學習重點: ·•ImageView ·•MotionEvent 11
  12. 12. Lab09 ·• 學習重點: ·•CheckBox ·•RadioButton ·•RadioGroup 12
  13. 13. Lab10 ·• 學習重點: ·•Spinner ·•Resource String Array 13
  14. 14. Lab11 ·• 學習重點: ·•AutoCompleteTextView 14
  15. 15. Lab12 ·• 學習重點: ·•ListView ·•Adapter 15
  16. 16. Lab13 ·• 學習重點: ·•ProgressBar ·•runOnUiThread 16
  17. 17. Lab14 ·• 學習重點: ·•ProgressDialog ·•runOnUiThread 17
  18. 18. Lab15 ·• 學習重點: ·•TimePickerDialog 18
  19. 19. Lab16 ·• 學習重點: ·•RatingBar 19
  20. 20. Lab17-19 ·• 學習重點: ·•Menu(3.0+ icon won't display) ·•選項功能表(OptionsMenu) ·•上下文功能表(ContextMenu) ·•子功能表(SubMenu) 20
  21. 21. Lab17 ·• 學習重點: ·•Menu(3.0+ icon won't display) ·•選項功能表(OptionsMenu) 21
  22. 22. Lab18 ·• 學習重點: ·•Menu(3.0+ icon won't display) ·•選項功能表(OptionsMenu) 22
  23. 23. Lab19 ·• 學習重點: ·•Menu(3.0+ icon won't display) ·•子功能表(SubMenu) 23
  24. 24. Lab20 ·• 學習重點: ·•GridView 24
  25. 25. Lab21 ·• 學習重點: ·•TabbedActivity 25
  26. 26. Lab22 ·• 學習重點: ·•ImageSwitcher 26
  27. 27. Lab23 ·• 學習重點: ·•TextSwitcher 27
  28. 28. Lab24 ·• 學習重點: ·•ViewFlipper 28
  29. 29. Lab25 ·• 學習重點: ·•Gallery 29

×