Cac cong viec chucmg trirth can thyc hien:
- Sau khi lay duqc vi tri dm thiet bj, tqa do curt thiet bi se duqc Itru lai - Dua tqa dO vio ciu lenh: - Dua tqa dO vio ciu lenh:
updateloc <Ten clang nhtip> <latitude> <longitude>
Trong do latitude vi longitude la hai gia tri dai dien cho tqa dO thiet bj ctia ngueri dimg. - Cid you eau tren den server
- Nhán ket qui tri ve tir server Server Server
Server sau khi nhan duqc yeu ciu tar nguCri dung se tien birth cop nhat vio co so der lieụ Tqa do am ngtrad dung se duqc ghi vim co sec dii lieu de phyc vu cho cic chirc ning !chic. Sau do server se tra ve ket qua cho client timing bsio viec tip nhot tqa des thenh cong hay that baị Cie yell au dee biet khic
Thi6t In can c6 kat n6i mang Gino then minh Ms
4.3.7. Char ndng gal yeu cau kit ben
UC #0007 GUY YEU CAU KET BAN DO phut top: 1
MO ta
Chuc cling nay cho ph6p ngueri dung gUi yeu cau them ban m6ị Ngu&i ban nay se nhin duct yell eau ket ban, neu viec ket ban dirge xac nhon thi ngued ban nay se duqc them vao dank sach ban be cim ngu&i dung, clang then vj tri etia ban be cling se duct hien thi len ban dọ
Day la met trong nhOng- chat ring chinh cua chuang trinh 2!Friend. Nguei dung co the chia se vj tri veri ban be, dang then biet duqc vj tri ban be cua minh. Nha in, du 6 bit cu nai dau, chi can ban be sir dung chucmg trinh nay, ban cling c6 the a clang tu hop va gay bat nger cho ngtreri ban ctia minh. Day chinh la chat Wing dem ban be den gin nhau han.
Khi ngueri dimg nhip ten ban, chuang trinh se tien hanh truy xuat den server di !Ay cac gia tri gqi , ket ban, &up nguai clang them ban met tech thuin tien han.
Tic nhin
ankh Ngutri sir clung
Thy Khong 05
Tian di$u kiln Ngubi sir dung can ding nhop vao chuang trinh
Hu
di u
Idfn
Minh Sing
Yeti ciu ket ban duqc giri di
s. a keng ding viIc
Saab 'Ong Ong vịc: Chat Mug seri lieu au kit ben Sgutti dims a Thigt DI Android Dich Al cua
Goggle Server
3Casfrdirliou
Bit au
(
NI4p tin bin va bigrn ntit Itara
W
Ian dain diS
Tin* va wit II yiu du thIm bon
( Mr/P In Mr/P In Mau at W bin W t auk*
o MIL hit Ina /
----4-- /WA /WA 1 / ,swarm phianst
Ca loft oil a cho deft
4
..1]Win 61 thane*
do TA erg
Pad*
Phtrong phip thyc hitt' Ngueri sir chum
Tren giao dien chink dm chuang trinh, nored dung se nh#p "ten clang nh3p" cim tai khoin ban be mien them, sau 46 bam nut "Them" hoc "Ađ". Khi ngtreti dung nh#p ten ban, chuang trinh se hien till gqi 9 ket bon, ngtred dung c6 the chop ngay S danh sach gqi 9 new Being nher ten tai khoin dm ban minh. Chuang trinh se phin hé cho ngtrai dimg viec them ban la thinh cling hay that baị Neu them ban thanh cling, ngueri ban Wang (mg se nhÓn duce yeu au ket ban.
Tsang hap ten ban vira nhjp &I c6 trong danh sach hoc da gUi yeu cau, chuang trinh se fien hanh bao 161 vi Idling girl them yeti eau ket ban.
Clurcrag trinh Kir It
Sau khi ngueri dimg bam nut "Ađ" hoc "Them bon", chuang trinh se thyt hien xi: 19 !Meng
cling viec sau:
- Lay ra ten ban ma ngueri dung mien them - Dua vio eau lenh:
Ađfriend <username> <friendname>
- Gfri cau lenh tren den server. Thao tic nay se duqc d#t trong Asyntask - Nhem ket qui fir phia server vi thing ha° cho ngueri ditng.
- Neu them ban thinh cling, yeu cau ket ban se duce girl den ngueri ban Wang (mg.
Server
Sau khi nhOn duqc yeu au them ban S phia client, server se tien hanh cac cling viec sau: - Lay ra gii trý tin ngubi dimg, ten ban can them