2.Android???????? 2-1 Android???????? - PowerPoint PPT Presentation

1 / 22
About This Presentation
Title:

2.Android???????? 2-1 Android????????

Description:

... .awt.font java.awt.io IO java.awt.lang java.awt.math java.awt.net java.awt.nio IO java.awt.security ... – PowerPoint PPT presentation

Number of Views:82
Avg rating:3.0/5.0
Slides: 23
Provided by: shir96
Category:
Tags: android | java

less

Transcript and Presenter's Notes

Title: 2.Android???????? 2-1 Android????????


1
2.Android????????2-1 Android????????
  • 5????????

2
(1)???????????
  • Android???????
  • ?Dialer ??????
  • ?Contacts ?????????????????????
  • ?Browser Web??????
  • ?Maps Google??????
  • ?Setup ??????
  • ??????????????????

3
(2)????????????????????????????
  • ?Active Manager ??????????????????
  • ?Window Manager ????????
  • ?Content Providers ?????????????????
  • ?View System ??????????????
  • ?Notification Manager ????????????????
  • ?Package Manager ?????????
  • ?Telephony Manager ???????
  • ?Resource Manager ???????
  • ?Location Manager ???????
  • ?XMPP Service ??????????????

4
(3)??????????????????
  • ?Surface Manager ????????????2D/3D????????????????
    ?
  • ?Media Framework ????????/????????
  • ?SQLite ???????????????????
  • ?OpenGL / ES 3D???????????
  • ?Free Type ??????????????????????????????
  • ?Web Kit ????????????HTML??????????
  • ?SGL 2D??????????
  • ?SSL SSL??????
  • ?libc ????C???????

5
(4)Android??????????????????
  • Android ? Dalvik ?????????
  • ?Core Libraries Java ????????????????
  • ?Dalvik ????? ???.dex ???????????????????????

6
(5)Linux ???????
  • Linux ????OS
  • ???????????????
  • ????????????

7
2-2 Android ????????
  • 4??????????
  • ???????1???????????

Android ???
???????? (UI,????????)
???????
???????????????? (??????OS??????????)
????????????
?????????????????
????
???????????? ??????????
??????????
8
(1)??????????
  • ??????????????????
  • ??????????????????
  • ?????

Phone Application
Own making Application
???? ??
Own making Activity
Phone Activity
????????1??Activity ???????Activity?????????? ??
????????????????????????????
Call log Activity
Contacts Activity
Favorites Activity
9
(2)???????????????
  • ???????????OS?????????
  • ?????????????????????
  • ?????

Own making Application
Own making Activity
Broadcast Receiver
????????????????? ???????????????
?????? ????????
??? ??????????????Android ??????
android.intent.action.BATTERY_CHABGED ???????????
???????????
Android OS
10
(3)???????
  • ?????
  • ???????????????????
  • ?????????????????????
  • ???????????Notification(???)?Toast???????????????
    ?????

11
(4)?????????????
  • ?????
  • ??????????????????????
  • ???????????
  • ????????????????????
  • ?????????????????

12
(5)????????
  • ?????
  • ???????????
  • Context.start.Activity()???????????????
  • ????????????????
  • ?)Context.sendBroadcast()??????????????????
  • ??????????????????
  • ?)??????????????????????????
  • ????????????
  • ?)Context.startService()??????????????
  • ??????????
  • ?)Context.stopService()??????????????
  • ???????????

13
(6)???????????????
  • ?????????

onCreate()
T
?????? ??????? ???
onStart()
onStart()
onResume()
???
??????
??????? ?????
???????????
T
????????? ??????
onPause()
??????? ?????
???????????
onStop()
onDestroy()
?????????
14
??????????????(??)
  • ???? ?????????
  • onCreate ??????????
  • onStart ?????????????????
  • onRestart ?????????????????
  • onResume ???????????????
  • onPause ???????????????
  • onStop ?????????????????
  • onDestroy ???????????????

15
????
  • ?????????????????????????
  • ???????????????
  • onDestroy ? onCreate
  • ???????????
  • ????????????????????????
  • (ActivityManager ? killBackgroundProcesses
    ???????)
  • ?????????????????????
  • ?????????????????????
  • ?????????????????

16
2-3 Android ????????
  • ???????
  • (main.xml)

?????? (.java)
???????? (.png, .mp3?)
AndroidManifest.xml
Eclipse
???
??? apk ???? (.apk)
???? ???????????Java???????????????????? ????
????????????????
?? (.keystore)
???? apk ???? (.apk)
(????????)
17
2-4 Android ?????????(1)??????????
  • ??? ??????????????????????
  • ????? ??????????????
  • ???????? ????????????????

Class A
Package A
Class B
Class Library A
Class C
Package B
Class D
Class E
Package C
Class F
Class Library B
Class G
Package D
Class H
18
(2)Android ???????????
  • ?Java?????API?????
  • (?????????)
  • ?Android ???API
  • (??????????????????????)

19
(3)Java?????API
  • ?????? ??
  • java.awt.font ????
  • java.awt.io IO
  • java.awt.lang ??
  • java.awt.math ????
  • java.awt.net ??
  • java.awt.nio ?IO
  • java.awt.security ??????
  • java.awt.sql SQL
  • java.awt.text ????
  • java.awt.util ?????t?

20
(4)Android???API(??1)
  • ?????? ??
  • android ????
  • android.app ????????
  • android.content ??????????
  • android.database ????????????
  • android.graphics ???????
  • android.hardware ????????
  • android.location ????
  • android.media ????????
  • android.net ??

21
Android???API(??2)
  • ?????? ??
  • android.opengl OpenGL
  • android.os OS????????
  • android.preference ???????
  • android.provider ??????????
  • android.sax SAX
  • android.test ???
  • android.text ????
  • android.util ???????
  • android.view ???
  • android.webkit HTML??????
  • android.widget ??????

22
API??????????
  • ??????????????????
  • Http//developer.android.com/intl/ja/reference/pac
    kage.html
Write a Comment
User Comments (0)
About PowerShow.com