A |
Ӗ |
6A |
Andriod _l(f)h(hun)
ĿˣҪWT˽Andriodϵy(tng)WAndriodh(hun)ϤAndriodģMƽ__l(f){ԇεđó
1Andriod
2EclipsebdAndroid
3Android
Emulatorʹ
4澎g朰b
5AndroidԴaYcg
6ģM\Andriod
ϵy(tng)
7{ԇ\Hello,
Android!
8AndroidģKPg
1Android
_l(f)h(hun)
2{ԇ\һεAndroidó
|
1.Androidƽ_B
2.Androidƽ_
3.Androidƽ_ܘ
4.ģM\Andriod ϵy(tng)
5._l(f)h(hun)
6.(chung)Android
7.{ԇ
8.AndroidģKPg
9.AndroidĿY
1)drawable
2)layout
3)valuesstrings.xmlcolors.xmlarrays.xmlȣ
4)R.javaʹ
5)AndroidManifest.xml
10.AndroidԴaYcg |
a.NһHello AndroidijJRAndroidƽ_ĽY
b._l(f)h(hun)
HְbAndroid SDKԼEclipseADT_l(f)h(hun)
c._ԴĿ
ͨ^һ_ԴĿ(chung)һĿ
d.ʹģMgO䲢O\
ͨ^IDEІģMͨ^ģMM{ԇ,Ŀw
кε˽ |
7A
|
Androidƽ_đó_l(f)
ĿˣϤAndroidđóܣژõAndroidϵy(tng)_l(f)
1Androidđóܷ
1.1
Activity Manager
1.2
Package Manager
1.3
Window Manager
1.4
Telephony Manager
1.5
Content Provider
1.6
Resource Manager
1.7
View System
1.8
Location Manager
1.9
Notification Manager
2óMɲַ
2.1
Activity
2.2
Broadcast Intent Receiver
2.3
Service
2.4
Content Provider
3Androidďsó |
1ϤAndroidđócóM
2{ԇ\һsó |
1.Androidϣ
2.Activity
1)Activity
2)ActivityķN|^(q)eĠB(ti)
3)־àB(ti)
4)S
5)M̵
6)^ActivityԓעĆ}
3.Intent Receiver
1) IntentúĿ
2) v
3) action
4) data
5) category
6) extras
4. AndroidManifest.xml
5. Service
a)ʲôService
b) ʹService
c) Service
d) BroadcastReceiverʹ
6. SQLiteB
1) (chung)Content Providers
2) ʹContent Providers
3) ̈́
b) Querying for Data ԃY
c) Modifying Data Y
d) Adding a Record Y
e) Deleting a Record hY
|
Android£
ÑOӋ
AndroidManifest.xml
֪ͨ |
a.@ʾNw
b.@ʾNDƬ
c.ӌF(xin)3DӮЧ
d.ʾvˆε푑ˆcӲˆι
ҪAndroidóвˆεP̎
e.ʾvActivityȫʽ@ʾԼActivityĻĘ}ӈD˹
ҪActivityPɷ̎
f.̎resYԴ
ҪresYԴ̎ԔUչ_l(f)ķ˼·
g.һһķvⲢActivityIntentČF(xin)
RssReaderĿĿˣğoЌF(xin)书ܣҪvеġActivityIntentČF(xin)^ |
8A |
5. Android(sh)(j)惦c@ϣ[SQLite(sh)(j)]
6.SQLite(sh)(j)캆
7.SQLite(sh)(j)Ą(chung)
8.SQLite(sh)(j)IJ |
9. Android(sh)(j)惦c@£
[(sh)ļContent Provider]
10. (sh)ʹ
11. ļʹ
12. Content Providerʹ
13. _l(f)--ҕl̎
|
a.һӛ±һ
b.һӛ±
c.һӛ±
d.F(xin)ԒͰl(f)ʾ
e.ʹBroadcastReceiverF(xin)_CServiceActivity
F(xin)_CԆӵĹwF(xin)BroadcastReceiver÷ |
9A--
(chung)Ñ桡
̈́Ӯ}
ʹλ÷պ͵؈DAPIԼWiFi(lin)W
|
(chung)Ñ
1AndroidÑw
2.ViewcViewGroup
3.ҕؼ
4.֡
5. 푑Ѽ
6.Ŀؼ^ |
Ӯ}
1Tween Animation
1u׃ȄӮЧ
2u׃ߴsӮЧ
3DQλƄӄӮЧ
4DQλƄӄӮЧ
2Frame Animation
1FrameӮF(xin)ăɷN
2FramӮ̎XMLļ̎
3FramӮ̎дaеľ
|
ʹλ÷պ͵؈DAPI
1.λ÷ա
2.@ȡλϢ
3.ۙλ׃
|
10A--
M,Ԓcő
|
M_l(f)
1.M顡
2.ݷʽ
3.ڑóӿݷʽ
4.ѽMŵ |
Ԓcő
1ʲôIntent
2Intent
2.1IntentFilter
3IntentԒ̖
3.1̖rΡ
3.2ݔԒ̖aē̖
3.3ʹIntentFilterē̖
4IntentF(xin)һεĶų
4.1(chung)TinySMS桡
4.2OÙޡ
4.3l(f)Ͷš
5AndroidԒͶŷյİ |
11A--
ýw_l(f)
ⲿ(sh)(j)
|
ýw_l(f)--Լھ
1Service顡
2ʹBroadcastReceiver
3TinyPlayer
3.1Service֡
3.2Activity֡
4. ھýw(zhn) |
ʹⲿ(sh)(j)ͷ
11SAXXMLļ
22Google APIA
2.1ÑOӋcF(xin)
2.2Ϣ |
{ԇl(f)ʹ
1.ʹSAndroidú
2. {ԇl(f)ʹ
a) Android {ԇ
b) logcat־{ԇ
c) ģMϰbhܛ
d) ͰbܛO
e) Όܛςgoogle Maket |
1.Ӿһýw
2.Ӿһ؝֙CΑ |