- Thu thip thong tin ye ten nguai dimg, ten ban be, se dien thoai cim ban Thvc hien truyen vao Intent de gQi den chtic am giri sms
137 Nguyin Xi& Doi Ki i,Hoing Mai Hi NO
Mai Hi NOi
2013-11-14 Giao din minh hga Giao din minh hga
4.3.12. Cher tang My kit km
UC #00012 1115Y KET BAN DO phfrc tap: 2
M8 hi
Chirc rang nay cho phep ngued dung ce the loaf be ngued ban khan mong mutm khed danh sich ban bẹ Sau khi ban be dugc Ioai be khei danh
sash, khi ban da dugc nap Iai Id tri ban be tree ban de se bien mat va khOng the sir dung cac tinh nang giao tiep khac.
Tic nhfin
Chinh Ngtred sir dung
Phg Kh8ng ce
Tiin diet' ben Ngued sir dung can ding ninlp vao chuong trinh H#u
dau
Thinh
cling Yeu au ket ban dugc xea be
Min Iii Yeu cAti ket ban khong bj xea be
St d6 luang cong vilc
Saab Wog tangy*: Chat ning hey kit ban
6 Ngtrbi dung Mitt N Android Server an sb drt Ilau
*au
Lon chon 'Wm kgt bre
Sin dm tigingtin 1
chi tat alb 1 ma bin
Much V
biAV Gisi bin du tIfn
Sow
Tip tan vb pelt Van aubwiblibin Mt tqn t HS thislang Se es %al tip ..„
' Open* cloth aid.
bine Dane n14101 Gin biltsicho C Killbk OEM ace bin
?hung phIp thvc hi§u
Ngudi sir dyng
Trong man hinh chi tiet ban be, floral clang chi cam barn nut "Hily ket ban" a x6a ngueri ban Wang Ong Ichei danh sich ban bẹ Neu viec Ithy ket ban thinh cong chuong trinh se thong bio "X6a ban thanh cong"
Chuang trInh xir If
Khi ngueri dung barn nut hay ket ban, chuang trinh se tien hanh cac cong viec: - Lay ra ten ngueri dung va ten ngueri ban can x6a
- Dm vao cau lenh:
removefriend <ten ngueri dung> <ten km can zoa>
- Girl cau lenh den server - Dgi ket qua tra ve
- Phan tich ket qua vi phan hOi cho ngueri dung
vi cong viec nay can troy cap mpg nen can phii at trong Asyntask. Sau khi hay ket ban
thinh cong, ban rth se duce nap lei de Op nhat danh sich ban bẹ
Server
Khi nhan duce yeu cau hay ket ban fir phia client, Server se tien hanh nhOng cong viec sau:
- Lay ra cac gia trj: ten ngueri dung, ten ban can x6a - X6a th6ng tin kh6i ca so de lieu:
✓Chu 5, rang khi A II ban caa B thi B cling la ban cua Ạ Nhtmg to khong biet
truck duce tong CSDL se duce luu IA "A la ban B" hay "B la ban A", chinh vi valy khi x6a ban can phaii xir ly a hai twang hop tren.
✓Bing se duce Ow nhet la bang Friend I va Friend2 - Sau khi x6a ban ghi, Server se tra ve ket qua cho client Cie yen au dlc biet ale
The Ho VIII
dhthanglong
Dai hoc Thing Long 137 Nguyen Xiin Doi Ki Mai His NQi
2013-1114 Giao diva minh hos Giao diva minh hos
4.3.11 Char nang c¢p nh4t thong tin al nhan
UC #00013 CAP NH4T THONG TIN CA NHAN DO phut ttip: 2
M8 ta
Chirc ning nay cho phí, ngutri sir dung co5 the thay doi met so th8ng tin ca nhan cira minh. Nguai dimg c6 the thy 9 thay di thong tin theo jf thich, hoc khi ding kj, nh#p vao thong tin khong chinh xac, ngutri dung di the sir dung chirc ning nay de chinh sira Iiị De phyc vu cho viec bao mat tai khoim, khi thay dei thong tin ca nhan ngtrai dung se phai rili#p vao mat khau hien hank. Neu mat Ithau kh8ng chinh xac thi th8ng tin ca nhan se ichOng IA thay del.
Tic nhin
Chinh Ngu&i sir dung
Phy 'Chong co
Tan dal' kien Nguoi sir dung can ding nhap vao chuong trinh Hl'
ditu kien
'Minh
cong Thong tin ca nhiin dm ngutri dimg duqc cap nhat Lai Thong tin co than dm nguiri dung thong duqc cap nh#t
Sọ d6 luting tong viOc
Sc c2) luong ding viec Chat rang they dot thong tin ca nhfin Nguttl dung til Mgt bi Android D lch vy cia
Google Server Ca stfr dre lieu
C B&°m )
•
Chcm dot aft
thay da Otis tin
ti thin