Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
146Activity
×

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Android

Android

Ratings: (0)|Views: 45,113|Likes:
Published by Thanh

More info:

Published by: Thanh on May 24, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

09/20/2013

pdf

text

original

 
Tìm hi
ể 
u và xây d 
ự 
ng
ứ 
ng d 
ng Phone Book Safe Manager trên Android 
Page | 1
Sinh viên: Tr
 n H 
ữu Phướ 
 c
M
C L
C
 
CH
ƯƠ 
NG
1: C
Ơ 
S
Ở 
LÝ THUY
T..................................................................... 4
 
1.
 
L
CH
 
S
Ử 
 
ANDROID .................................................................................. 4
 
2.
 
DELVING
 
V
I
 
MÁY
 
O
 
DALVIK ........................................................... 5
 
3.
 
KI
N
 
TRÚC
 
C
A
 
ANDROID .................................................................... 5
 
3.1.
 
T
ng
ng d
ng .................................................................................... 6
 
3.2.
 
Application framework ........................................................................ 6
 
3.3.
 
Library ................................................................................................ 7
 
3.4.
 
Android Runtime ................................................................................. 7
 
3.5.
 
Linux kernel ........................................................................................ 8
 
4.
 
ANDROID
 
EMULATOR ........................................................................... 8
 
5.
 
CÁC
 
THÀNH
 
PH
N
 
TRONG
 
M
T
 
ANDROID
 
PROJECT ....................... 9
 
5.1.
 
AndroidManifest.xml .......................................................................... 9
 
5.2.
 
File R.java ......................................................................................... 10
 
6.
 
CHU
 
K
 
Ứ 
NG
 
D
NG
 
ANDROID ........................................................... 11
 
6.1.
 
Chu k
s
ng thành ph
n .................................................................... 12
 
6.2.
 
Activity Stack .................................................................................... 12
 
6.3.
 
Các tr
ng thái c
a chu k
s
ng .......................................................... 13
 
6.4.
 
Chu k
s
ng c
a
ng d
ng ................................................................ 13
 
6.5.
 
Các s
ki
n trong chu k
s
ng c
a
ng d
ng ..................................... 14
 
6.6.
 
Th
ờ 
i gian s
ng c
a
ng d
ng ............................................................. 14
 
6.7.
 
Th
ờ 
i gian hi
n th
c
a Activity .......................................................... 14
 
6.8.
 
Các ph
ươ 
ng th
c c
a chu k
s
ng ..................................................... 14
 
7.
 
CÁC
 
THÀNH
 
PH
N
 
GIAO
 
DI
N
 
TRONG
 
ANDROID ........................... 16
 
7.1.
 
View.................................................................................................. 16
 
7.2.
 
ViewGroup ........................................................................................ 16
 
7.2.1.
 
LinearLayout ............................................................................. 16
 
7.2.2.
 
FrameLayout ............................................................................. 17
 
7.2.3.
 
AbsoluteLayout ......................................................................... 17
 
7.2.4.
 
RetaliveLayout .......................................................................... 18
 
7.2.5.
 
TableLayout .............................................................................. 18
 
7.3.
 
Button ............................................................................................... 18
 
7.4.
 
ImageButton ...................................................................................... 19
 
7.5.
 
ImageView ........................................................................................ 20
 
7.6.
 
ListView ........................................................................................... 20
 
7.7.
 
TextView .......................................................................................... 21
 
 
Tìm hi
ể 
u và xây d 
ự 
ng
ứ 
ng d 
ng Phone Book Safe Manager trên Android 
Page | 2
Sinh viên: Tr
 n H 
ữu Phướ 
 c
7.8.
 
EditText ............................................................................................ 21
 
7.9.
 
CheckBox.......................................................................................... 22
 
7.10.
 
MenuOptions ................................................................................. 22
 
7.11.
 
ContextMenu ................................................................................. 24
 
7.12.
 
Quick Search Box .......................................................................... 24
 
7.13.
 
Activity & Intend........................................................................... 25
 
7.13.1.
 
Activity...................................................................................... 25
 
7.13.2.
 
Intent ......................................................................................... 26
 
8.
 
CONTENT
 
PROVIDER
 
 
URI .............................................................. 28
 
9.
 
BACKGROUND
 
SERVICE ..................................................................... 29
 
10.
 
TELEPHONY ........................................................................................... 32
 
11.
 
SQLITE .................................................................................................... 32
 
12.
 
ANDROID
 
&
 
WEBSERVICE .................................................................. 33
 
12.1.
 
Khái ni
m Web service và SOAP .................................................. 33
 
12.2.
 
Gi
ớ 
i thi
u v
XStream ................................................................... 34
 
12.3.
 
Thao tác v
ớ 
i web service trong Android ........................................ 36
 
CH
ƯƠ 
NG 2: PHÂN TÍCH VÀ THI
T K
H
TH
NG ............................... 38
 
13.
 
ĐẶ
C
 
T
 
BÀI
 
TOÁN................................................................................. 38
 
14.
 
ĐẶ
C
 
T
 
CH
Ứ 
C
 
 NĂNG
............................................................................ 38
 
14.1.
 
Upload phone book........................................................................ 38
 
14.2.
 
Revert phone book ......................................................................... 39
 
14.3.
 
Send contact .................................................................................. 40
 
14.4.
 
Reveive contact ............................................................................. 40
 
14.5.
 
Export contact t
ớ 
i SD Card ............................................................ 40
 
14.6.
 
Import contact t
SD Card ............................................................. 41
 
14.7.
 
Account Manager .......................................................................... 41
 
14.7.1.
 
Login ......................................................................................... 41
 
14.7.2.
 
Change password ....................................................................... 41
 
14.7.3.
 
Restore account ......................................................................... 41
 
14.7.4.
 
Create account ........................................................................... 42
 
15.
 
CÁC
 
BI
U
 
ĐỒ
 
H
 
TH
NG ..................................................................... 42
 
15.1.
 
Bi
ểu đồ
Usercase ........................................................................... 42
 
15.1.1.
 
Restore account ......................................................................... 43
 
15.1.2.
 
Export Contact vào SD Card ...................................................... 43
 
15.1.3.
 
Import Contact t
SD Card ........................................................ 43
 
15.1.4.
 
Login ......................................................................................... 44
 
15.2.
 
Bi
ểu đồ
Class................................................................................. 44
 
 
Tìm hi
ể 
u và xây d 
ự 
ng
ứ 
ng d 
ng Phone Book Safe Manager trên Android 
Page | 3
Sinh viên: Tr
 n H 
ữu Phướ 
 c
15.2.1.
 
Bi
ểu đồ
Class gi
a các thành ph
n giao di
n ............................. 44
 
15.3.
 
Bi
ểu đồ
Class Contact.................................................................... 44
 
15.4.
 
Bi
ểu đồ
Class ContactProvider ...................................................... 44
 
15.5.
 
Class Webservice .......................................................................... 45
 
15.6.
 
Bi
ểu đồ
Sequence .......................................................................... 45
 
15.6.1.
 
Login ......................................................................................... 45
 
15.6.2.
 
Create new account .................................................................... 46
 
15.6.3.
 
Restore account ......................................................................... 47
 
15.6.4.
 
Upload phone book .................................................................... 48
 
15.6.5.
 
Revert phone book ..................................................................... 48
 
15.6.6.
 
Export Contact to SD Card ........................................................ 49
 
15.6.7.
 
Import Contact from SD Card .................................................... 49
 
15.6.8.
 
Send Contact ............................................................................. 49
 
15.7.
 
Bi
ểu đồ
Activity ............................................................................ 51
 
15.7.1.
 
Change password ....................................................................... 51
 
15.7.2.
 
Export Contact to SD Card ........................................................ 52
 
15.7.3.
 
Upload phone book .................................................................... 52
 
15.7.4.
 
Send Contact ............................................................................. 53
 
15.7.5.
 
Revert phone book ..................................................................... 53
 
15.7.6.
 
Import Contact from SD Card .................................................... 54
 
16.
 
C
Ơ
 
S
 
D
Ữ 
 
LI
U
 
WEB
 
SERVICE ............................................................ 54
 
CH
ƯƠ 
NG 3: DEMO
Ứ 
NG D
NG ................................................................... 57
 
17.
 
M
T
 
VÀI
 
HÌNH
 
NH
 
Ứ 
NG
 
D
NG ........................................................ 57
 
18.
 
S
Ơ
 
ĐỒ
 
LIÊN
 
K
T
 
CÁC
 
MÀN
 
HÌNH
 
 
DIALOG ................................. 58
 
18.1.
 
Danh sách các liên k
ế
t màn hình m
c 1&2 .................................... 58
 
18.2.
 
Danh sách liên k
ế
t các màn hình m
c 3 ......................................... 58
 
18.2.1.
 
Màn hình View Contact ............................................................. 58
 
18.2.2.
 
Màn hình danh sách các Contact m
ớ 
i ......................................... 58
 
18.2.3.
 
Màn hình danh sách phone bool
đ
ã upload................................. 58
 
19.
 
ĐÁNH
 
GIÁ
 
Ứ 
NG
 
D
NG ......................................................................... 59
 
20.
 
H
ƯỚ
NG
 
PHÁT
 
TRI
N
 
TRONG
 
T
ƯƠ
NG
 
LAI......................................... 59
 
21.
 
K
T
 
LU
N............................................................................................... 60 
ĐÁNH GIÁ CỦ
A GIÁO VIÊNTÀI LI
U THAM KH
O

Activity (146)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Danh Dũng liked this
Hoàng Anh Minh liked this
Cong Dang Thanh liked this
Danh Dũng liked this
Danh Dũng liked this
nguyentuandang liked this
Cao Kỳ Hãn liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->