1. Trang chủ
  2. » Tất cả

Tìm hiểu dịch vụ googlemap xây dựng ứng dụng chia sẻ vị trí với bạn bè trên nền tảng android

108 976 1
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 108
Dung lượng 1,35 MB

Nội dung

CHVONG Glen THISU BAI TORN 1.1 Vai net ve GoogleMap Nhu citing ta da biet, bit chip suy thoai kinh te, nganh ding nghe thong tin van dang phat trien v6i mot toe dg cheng m$t Trong thbi gian gin day danh diu sy phat trien rat manh cua cac thiet bj dien thoai thong mirth (Smartphone) MOt nhung (mg dung quart tong nhAt va co the nal la "khan the thieu" d6 chinh la ang dung ban db Ban d6 GoogleMap duqc xay dung ben ceng ty Google bang the hinh anh vg tinh va viec di tim hieu throng ph6 thuc te C6 mot so than vien cfra Google duqc tra ltrang cao voi c8ng viec dap xe dap c6 gin thiet bj cita Google de ghi lai va chyp anh dutmg ph6 Cong viec ton rat nhieu thbi gian, nhung nha d6 ma ban d6 GoogleMap co dO chinh xac rat cao va nhOt fit thutmg xuyen ling dung Maps hay chinh la GoogleMap gulp ngutri dung c6 the sir dung ban d6 viec tim duang di phart sau toi se gieri thieu ky han ve ung dung thy 1.2 Nhftng gl GoogleMap khong ht) trq? DOng hanh v6i su phat trien cfut ding nghe, new each ngubi giao tiep cling di kit di ChAng ta khong chi chia se hinh anh, loi nei, van ban ma yeti thiet bj di dOng thong mirth ta c6 the chia se ca vi tri ciut mink Cac thiet bj di dOng thong mirth hau het deu tich hqp tinh nang GPS — gitip djnh vi Nei tri sir dung tin hieu vg tinh Ngoai cac eh& nang co ban ma GoogleMap da cung cap nhtr tim dtrimg, chi dutmg, dieu huang co mot chirc nang quan khac ma GoogleMap da dimg trq da la firth nang chia se vi tri vUi ban be, ngutri than(Google Latitude) Chinh dieu da thitc dAy ten xay dung mot (mg dung chia se vj tri ban be teen Google Map 1.3 Tai lqi cAn ting dyng chia se vj tri? Nhu ta da thAy, co se dft lieu de luu aft da lieu ban d6 ctia ca the giOi la rat 1611, hay c6 the not la v8 cling lon Chic chin khong the nao luu trtt tit ca cac dia diem, cac nha hang, dja danh tren ban d6 duqc Cho du Google co co ging lam dieu thi dft lieu se khong the cOp nhOt thu?mg xuyen, trir moi khu ph6 tren the giei deu co than vien cita Google Chinh vi v$y thing ta co the S mot ngtrtri clang tot bung, bang each giam di ganh n$ng rill* dja diem cho Google Chang ta c6 the to cop nhOt vi tri cilia minh Tuy nhien, khong phiti bit tit ai, bit cir lac nao ta cling mutin chia se vj tri cfta minh Doi ta chi mut% chia se yen ngutri than gia dinh, hay bon be ma then Con nhieu van de !chic nfta, nhung da chinh la ljf de WI xay dung chuong trinh 1.4 Mei truirng boat (long Chuang trinh se &gm xay dvng tren he dieu hanh Android — MOt nen dang phat trien rat manh tren cac thiet bj di dOng — vi sir dtmg Google Map API 1.4.1 Tgi ding Android? Android la mOt hg dieu hanh ma nguan ma, chlnh vi the nen ne duqc phit trien rat da dang theo nhieu hue ng khic ChInh dieu da da &rip cho cac nhi sin xuAt clang hon tong viec cho nhUng sin pham het sirc da ding, gifip thiet bi di ding Android c6 s6 ngteri sir dyng kh6ng 16 Ben milt 46 gii mOt thiet bi Android ding re hon thiet bj chay IOS hay Window phone ma firth ruing yin kitting he thua kern a 1.4.2 Google Map API la gi? Google Map API li mOt Giao dien 1#p trinh img clang Google cung cap NO glop cho lap trinh vien c6 the sir citing chinh bin d6 cua Google de xay citing img dung cila mirth Tuy nhien khong phii tat ca the firth rang cua Google Map day di dau duce cung at) a day, chinh vi the ngubi 18p trinh vien phii tim each sir clang th$t Idiot) leo de giai quyet cac van de bii toin (tat Chi tiet ve Google Map API se duct de Op a pitan sau 1.4.3 Server qudn ly hogt Ong M#c da Google Map API cung cap cho to mOt ban dO tuong d61 hoin chink, nhung da chi li img dtmg ben phut ngubi dung De ling Mpg c6 the hoat ding can c6 mOt Server Server c6 nhiem vµ luu thong tin tai khoin cua ngubi dimg, luu v1 tri ngubi dimg vi thvc hien mOt so chirc niing khic Server can ducm via bang mOt non net ph6 bien vi khong phv thuOc vio hg dieu birth, da chinh la nein ngft Java Server khong an c6 giao dien 46 hoa, chi co nhiem vv nh#rt yeu tau tir phia thiet bj kith, zir ly vi tri ve ket qui Tuy nhien, da la ding viec cim ngu&i 1#p trinh, ngubi sir clang img citing khong an quan tam server lam gi ma chi can thao tic tren thiet bj dm mirth CHUONG GIefITHIEU a DIEU HANH ANDROID 2.1 Android la gi? Android la melt Hg dieu !Anti dinh cho cac thiet bj di dOng nhu dien thoai thong minh hay may tinh bang Android duqc xay dung Iron nen tang Linux va sir dung nem ng0 Java Ban du, Android duqc phat trien boi TOng cong ty Android vii str ho trq tai chinh cua Google VI° Min 2005, Google di chinh that mua lai ding ty Tuy nhien vao theri diem da Android van chug duct met Den aim 2007 Android mai mit cling yeti tuyen b6 lip Lien minh thiet bj elm tay ma: mOt hiep hOi g6m cac ding ty phan mem, phAn ming va vien th8ng yeti mac tieu day math cac tieu chuan ma cho cac thiet bi di dOng Thief bj du tier chug Android duqc ban thing 10 mitn 2008 Android la he dieu hanh c6 ma nguln ma va Google phat hanh ml nguln theo gily phip Apache — mOt giay phep kW:Mg c6 nhieu rang butjc Chinh dieu di glop cho cac nha san xuet thiet bj, mpg di dOng va cat lelp trinh vien duqc dieu chinh va phan phOi Android mOt cach tar Tinh den thed diem thing 10 niun 2012 — Titan sau thiet bj Android du tien duqc cong b6, di ce khoing 700.000 img dung tren Android, va s6 luqt tai ting dung tree elm hang 'ring dung Google Play &cc tinh khoang 25 ti luqt Chinh nhUng uu the nhu v1y ma Android di fret that nen tang dien thoai di dOng thong minh phO bier nhit the gi6i, vtrqt qua Symbian vao quy bOn nim 2010 Android duqc cac c8ng ty c8ng nghe sir dung h9 an mOt hg dieu Minh khong mItng ne, c6 kha ning tinh chinh va gia thenh r8 chay tren cac thiet bj cong nghe cao Ket qua la mic du duqc thiet ke de chay tren then thoai, may tinh bang, Android di xuit hien tren nhieu thiet bj khac nhu TV, may chai game va nhieu thiet bj 'chic Tinh den tit diem quy ba nam 2012, Android di chiem den 75% thj phlin dien thoai thong minh tren town the giai CO tong cong 500 trieu thiet bj di &Km kich hos va 1,3 trieu luqt kich host moi St; c8ng cim hg dieu hanh cling Man ne frac muc tieu the Ai hen lien quan den bAng phat minh, hay can gui la "cuOc chien dien thoai thong rninh" gift cac c8ng ty ding nghe 2.2 Lich sir phit tries 2.2.1 Sy! del cues Android Tang Gang ty Android (Android, Inc.) duqc lap tai Palo Alto, California vao thing 10 nAm 2003 beri Andy Rubin (thing sang lap ding ty Danger), Rich Miner (clang sang lap Tang cong ty Vien thong Wildfire), Nick Sear (timg 11 PM giam doc T-Mobile), va Chris White (truing thiet ke va giao dien tai WebTV) de phat trier, theo to i cita Rubin, "cic thiet bi di &mg thong minh han c6 the biet duqc vi tri va se( thich cita ngubi dimg" DV nhang ngutri lap vi shin vien deu la 'tang ngubi c6 tieng am, Tang cong ty Android boat dOng met each Am thim, chi tiet 10 r&ng hq dang lam phan mem (lath cho din thoai di dOng Trong nAm do, Rubin het kinh phi Steve Perlman, mOt ngubi ban than cita Rubin, mang cho Cog 10.000 USD tien mat nhtmg tit ch& tham gia vao cong ty Tang cong ty Android duqc Google mua lai vao 17 thing nAm 2005, bien n6 met be phan trvc thutic Google Sau thucmg vv nay, nliimg nhan vien chit chat dm Tang cong ty Android An tiep tic a lai cong ty lam viec Vao thbi diem da kitting c6 nhieu th8ng tin ve cong ty Android, nhtmg dA co nhang loci clan rang Goolge dir tinh tham gia thi trutmg thiet bi di dung sau buem di Tai Google, them Rubin dung du dA phat triers met nen tang thiet bi di dOng tren nen nhan Linux Google quing bi nen tang cho the nha sin xuid dien thoai va cac mang vien thong ding 16i him se cung cep mOt he thong linh hoot va c6 !chi nang Wang cap Google dA lien he vii hang loaf hang phan cling ding nhu dai tic phan mem Ngay thing 11 nAm 2007, lien minh thiet bi cam tay ma, hay gqi la Open Handset Alliance, met hiep Mit gem nhieu cling ty de c6 Texas Instrusments, tap doan Broadcom, Google, HTC, Intel, LG, tap doan Marvell Technology, Motorola, Nvidia, Qualcom, Samsung Electronics, Sprint Nextel va T-Mobile duqc lap shim mac Bich phat tries cac tieu chuAn ma cho thiet bi di Ong Cling chinh thbi diem de, Android cling duqc mit yeti vai tr6 la san phatt n Mu tien ciza Lien minh Chiec di'en thoai chay Android du tien duqc ban la HTC Dream, chay tren nen tang nhAn Linux phien ban 2.6, phat hanh 22 thing 10 aim 2008 Su trtmg cita Android la met Robot mau xanh la coy hang thiet ke Irina Blok tai California ye 2.2.2 Cdc Alen bdn Android a Android 1.0 Ra mat: 23 thing 11 nom 2008 Android 1.0 rat nguyen sa, tich hap sin rang deng bO der lieu yeti cac djch vu trqc tuy'en aim Google nhu Gmail, Google Calendar va Contacts, mot trinh phat media, hit trq Wi-Fi va Bluetooth, tang thai hien thi cac thong bao img dung va mot img dung chap anh (camera) chua cho phip thay doi dt) phan giai va chat luqng anh nhu cac thiet bi HTC Dream la don smartphone thucmg mai ding Android du tien v6i kieu Bang tract kem ban phim vet lg Phien ban Android 1.0 chua duqc Google ct(ft ten, truck 46 ten g9i Astro Boy hay Bender b Android 1.1 Ra mat: dying nom 2009 Ben quilt so phien bitn, Google da bit diu dua he thong ten g9i vio cac phien ban Android Tuy chua chinh thirc itp dung nhtmg Android 1.1 da c6 ten Petit Four Kitting bao gem nhieu tinh rang, phien ban be sung mitt so chirc ming meri cho Google Maps Men thi chi tier hart, ban phim a° g9i dien thoai da c6 the hien thi hoc An Mil gqi, chucmg trinh SMS cho OCT ngubi dung luu tap tin dish kern Android 1.1 sirs mot s6 loi Android 1.0 c Android 1.5 Cupcake Ra mitt: 30 thing !Am 2009 Cupcake, ten diu tien ip dung cho phien ban Android Cupcake mang nhieu tinh nang meri nhu ban phim io c6 kha Wing chr loan tir dang go, tir dien tir nger ngutti dung at ra, ho trq widget tren man hinh chink, quay phim va phat lai video clip, luqc sir then gian cuOc goi, the 40 to d'Ong xoay man hinh theo hueing sir dung (screen rotation) TrInh duy'e't web Cupcake c6 them kha nang chop va dan Ngoii ra, phien ban cho phep ngutti dimg hien tit hinh brill danh ba, mot diem thu vi ma hku het ngtroi dimg dien thoai di dOng muon c6 Man hinh chuyen tei va hinh anh khoi 4Ong may duqc lam m6i d Android 1.6 Donut Ra mat: 30 thing nam 2009 Donut nang cap cac chirc nang phien ban Cupcake, met Ong chirc rang tim kiem bing giqng n6i va ky to den bookmark va danh ba Android Market tit kho img dung chinh de nguiti &mg tim kiem va xem cac img dung Android !ling dung chyp anh va quay phim Donut nhanh hen Hg dieu birth ho trq man hinh cep 40 phan giai 16n ham, huOng den clic the hg smartphone hinh km e Android 2.0 Eclair Ra mat: 26 thing 10 nam 2009 Chi sau gin mOt than mat Donut (Android 1.6), Google tung Eclair, phien ban dugc nhan djnh la buck di len dm he dien hinh Eclair c6 rat nhieu chi tien, tit giao dien den (mg dung ben he' thOng Ung dyng chyp anh tang cubng them chitc nang zoom (phang to), can bang trAng, trq den flash va cac hieu img mau sic th0ng hoat dOng On djnh hen, cal thien kha nang xit 1Y, hi5 tug ket not Bluetooth tot hen, dac biet thy chcon ding hi) nhieu tai 'Moan Met diem thuan tien dugc danh gia cao lac bay gib la giao dien danh ba cho phep nhan chgn vac' mOt anh danh ba de g9i, nhan tin hay email den hq Giao dien img dyng Lich bleu (Calendar) He cung dugc thay dOi Eclair IA phien ban Android du tien trq anh nen dOng (live wallpaper) Tuy nhien thy chqn tieu ten kha nhieu pin vi titi nguyen may f Android 2.2 Froyo Ra mat: 20 thing nam 2010 Tir phien bin 2.0 tro di, Android &I din hoan thien hen Phie'n bitn 2.2 (Froyo) duce tich hqp Adobe Flash, keo theo hang lottt img dyng va game ND:raj dung ding c6 the xem video clip nen Flash nhu YouTube va "ra lenh" thyc hien cube goi qua ket net Bluetooth MOt chic nang mai Froyo dugc them ngubi dimg luu dOng yeu thich IA USB Tethering va Wi-Fi Hotspot, thin chiec smartphone Android thiet bj phat sang Wi-Fi to ket net 3G Tinh tiling dugc sit dyng rat phi) hien den Len diu tien Android cho phep chi dat img dyng (app) len the nher SD thay vi mac djnh chi vac' b0 nher cita diet bj MOt chitc nang mei cita Froyo la mat khau di trq se va chit se Thiet bj du den mang nhan Froyo mat thj trubng la HTC Nexus One g Android 2.3 Gingerbread Ra mat: thing 12 nam 2010 Den cuOi am 2012, Gingerbread yin dang duce sit dung eon rat nhieu thiet bj dimg Android, chiem den hen mOt nira (54%) Google hqp tic Samsung trinh lang dong smartphone diu tien sit dyng Gingerbread mang ten Nexus S, trq cong nghe giao tiep tam gin NFC Gingerbread dua vao he th6ng met ceng oar quart 15r tai tip tin, cho phep theo dei va truy xuit den cac tip tin da tai ye may He thong hiS trq nhieu camera cho cac thiet bj c6 camera mit sau va trtrac, quan 15r nguton pin hieu qua han, fiat kiem thin ltrang pin Phien ban khic phuc !chi nhieu loi tir Froyo, kern theo met so dieu chinh giao dien ngtroi dung h Android 3.0 Honeycomb Ra mot: 22 thing nrun 2011 Day Hiring chi la met phi'en ban, ma ce the xem la met the he Android du tien anti rieng cho may tinh bang (tablet), mot cling tablet Motorola XOOM Mang nhemg firth nang tir the he Android 2.; Android 3.0 cal tien giao dien phit hqp veri each sir dung may tinh bang, ban phim ao than alien han, h8 trq xir 13 , da the vu (multi-tasking), cho phdp chuyen doi qua lei cac ling dung dang cling chay Kherng chi c6 be mit dirge trau chu6t, phin lei he then c6 the cal tien ttrcmg thich yeti plan ding nhu hO trq chip xir ljr (CPU) da I8i, tang toe plan ding Android 3.0 dit nen meng quan cho the he Android 4.x hqp nhAt, 'chic phuc stir phan mang cila Android (c6 cac phien ban rieng danh cho smartphone vi tablet) i Android 4.0 Ice Cream Sandwich Ra mot: 19 thing 10 nam 2011 "Ice Cream Sandwich" (ICS) la the he Android dirge mong dqi nhit den nay, dtri ding ding smartphone bom ten Samsung Galaxy Nexus, the hg smartphone diu ten sir dung ICS Android 4.0 dua chirc nang truy xuat nhanh cac ling dung thutmg dung vao phir' ben duOi giao dien chit, thy bien widget, sip xep vi duyet danh sach ung dung hon a Cac img dung a c6 the truy xuit nhanh tir man hinh khOa thiet bi (Lock screen), vao thtri diem d6 cac hang san xuAt thiet bj chi mai cho phep Camera ce the chan nhanh tir Lock screen Ice Cream Sandwich host dOng muqt ma, nhanh va dpp han cac phial ban fru& d6 j Android 4.1 Jelly Bean Ra mit: thing nam 2012 May tinh bang Nexus 7, san phim hqp the gins Google va Asus, lit thiet bj diu tien sir dung Jelly Bean Android 4.1 'Ling dm hog dOng cho he dieu hanh dua Google, tit thenh he dieu hanh cho thiet bj di dOng hang diu hien nay, de daa ca "8ng lan" Windows KM ring sip xep giao dien chit va widget tong Jelly Bean c6 !dui nang thy bien cao va rat linh hoot He thong hO trq dich vu vi dien to Google Wallet, dic biet trinh duyet web mac djnh Android duqc thay the bt5i dai dien ten tan: Chrome, yeti kha neng dOng ba du lieu theo tai khoin vai ban Google Chrome tren may tinh k Android 4.2 Jelly Bean Ra mat: 29 thang 10 nem 2012 Chi sau gen nem thang mat Android 4.1, Google nep tyc tang cep cho Android vii phien ban 4.2 va vin mang ten Jelly Bean Android 4.2 tiep tpc mang den nhfing cai tien hap din cho (mg ch,mg chop inh (Camera) Sur HDR, Photo Sphere, hieu (mg link Google Now, dua tinh nen luta chqn to rat hay ban phim so Chirc rang ho trq nhieu tai Idioan ngutri dimg Ian dau tien duqc ap thing Android 4.2 nhung chi c6 ngutti den may tinh bang thin huerng chile rang Android 4.3 Jelly Bean Ra tat: 24 than nem 2013 Android 4.3 Iii la mot fling cep non cua phien ban mang ten Jelly Bean Phi'en ban hi) them tinh nang Bluetooth rang luqng thip, OpenGL ES 3.0, tit) , chqn Wifi luSn bat, hi trq ngon ngit doe tit phai sang trai Vii phien ban dui ba mang ten Jelly Bean, Android dang din hoan thien han, yeti nheng tinh neng mai, Android hila hen se thu but nhieu cang ngutri sit dung m Android 4.4 KitKat Ra mat: 31 thing 10 nem 2013 Mac du rat nhieu nguiti de doin phien ban Android mei c6 ten gqi "Key Lime Pie" suOt mot thei gian dai, Google de cho mat phien ban 4.4 vii ten gqi KitKat Android 4.4 KitKat bao gem rat nhieu ruing cap he thOng va (mg ch,mg, nhung diem net bat that ciia phien ban de la he try cac thiet bj co cau firth that) hot KitKat yeu eau be the tei thieu (RAM) chi la 512 MB, giiip cho cac thiet bj cAu clang hinh thep c6 the thing cap va trai nghiem mot cach a 10 2.3 Kien true 14 diet' birth Android Applications l Applications Famework to chuc Ling Liumi Android Runtime Libraries IH;1 (Thai 'Tan chay Ar droith Linux Kernel ' HIM 2-1: Ctic think pkin csia kf dl kink Android 2.3.L Lima Kernel DOi vei nhCmg phien ban truer, Android duct xay dung teen 130 than Linux 2.6 cho nheng djch vg cot lei nhu security, memory management, process management, network stack, driver model BO than lam tillitm vu nhu mOt lap trung gian ktt not pith' ring thiet bj ya phan *rig dung time Anima(' NDK apps Android SDK 241 apps Android app framework Standard libraries Mink 2-2: M6 kink kw tic gilta may Dalvik vi Native code JNI: Java Native Interface (Tuang ty Ichai nitm Application Programming Interface) la mOt 13 framework cho phi!) ma lOnh vitt bang Java chay ten may ao java 11 c6 the goi hoc duqc gqi boi met ung dung viet bing native code ((m g dung duqc viet cho met phAn ding cu the va tren met he dieu !faith cu the) !mac nhUng be thu vien viet bing C, C++ hoc Assembly Bang cfich sir dung NI, Android cho ph6p cac ling dung chay tren may ao Dalvik c6 the sir dung nhfing phucmg thirc ductc viet bang cac ng6n ngft cep thAp nhu: C, C++, Assembly Qua de cac nha phat trien ling dung ca the xay dung ling dung dua ten cac be thu vien viet bing C, C++, Assembly 'them tang Mc de thuc thi cim ling dung hoc sir dung ntrang firth nang mirc thep ma non ngft Java Ichong hie trq Tuy nhien ngtrai phat trien ling dung an phai can nhac su gia tang de phirc 4p cim ling dung quyet djnh sir (king cac be thu vien 2.3.2 Libraries Day la be cac thu vien xay dung nen cac chirc nang chinh dm Android System C library: Day la tOp cac thu vien he thong Thu vien duqc viet bang ngon ngft C, C++ chuen c6 the pi duqc thong qua giao dien Java Media FrameWork: Day la be thu vien h6 trq trinh dien va ghi cac djnh dung am thanh, hinh anh phe bien Surface manager: Quan ly hien thj nei dung 2D va 3D Cho ph6p tvo cac ciza so giao OpenGL: HO trq xay dung ling clung de hqa 2D va 3D - SSL: Cung cap chile nang bao inOt cho fiat bi SGL: Engine he trq M hqa 2D Free Type: HO trq cac Font Bitmap va vector SQLite: Met co sir du lieu nhe gqn va mph me Cung cep be may co s6 du lieu duqc nhimg thiet bj Webkit: Ho trq hien thj nei dung website 2.3.3 Android Runtime He dieu hanh Android tich hqp sin met top hqp the thu vien cot 16i, cung cep heu het cac chirc rang Mqi ling dung ciut Android chay tren met tien trinh cua rieng n6 cling v6i met the hien cim may ao Dalvik May ao Dalvik thuc to la met bien the dm may ao Java duqc sira Mi, be sung cac cling nghe dOc tnrng cim thiet bi di Mug NO duqc xay dung veri intic dich lam cho cac thiet bj di (king c6 the chay nhieu may k met cach hieu qua Tnrem chay, mei ling dung Android deli duqc convert file thuc thi Arai QM dm nen Dalvik Executable (.dex) Dinh long duqc thiet ke de phi hqp veri 12 5.1.3 Quit niing hien tri tri ben private class updatefriendtask extends Asyncrask protected String dolnBackground(String urls) { if(cl!=null) if(username==null) username=mbundle.getStringruser); iffid==null) id=getid(username); friendlist=gerend(id); String() friends=kiendlist.splitr "); templatIng=new LatLng[(friends.length/3)]; friendinfo=new Stringl(friends.length/3)1; kiendmarker=new Markerlikiends.length/311; for(int i=0;i[...]... activity_main.xml ✓... Editor lavadoc Location Project References Refactoring History Run/Debug Settings Task Tags Va6dation Android Project Build Target Target Name 0 Android 2.3.3 ❑ Goodie APS ❑ Android 4.0 En G40914 APS ❑ Android 4.22 Vendor Android Open Source Project Google Inc Android Open Source Project Googk Inc Android Open Source Project Plefonn 2.3.3 2.3.3 4.0 4.0 4.22 API L10 10 14 14 17 Linty 0 Is Leary Project... • - Tick vi o Google API cho phien ban Android muiin &mg de to irng clang: a Tools Packages SDK Path: EASTUDV1Androidbdt-bundle-windows-3d36 64-2013052Asdk Packages * API Name 1, Android SDK Platform-tools ❑ , Android SOK Build-tools 7' Android SDK Build-tools ■1 ; So mp les f or SOK n I ARM EA81v7a System Image Milt Gavle AM n is Sources forAndmid SDK 4 ■ Ea Android 422 (API 17) ■ Ili SDK Platform... Import 18 mu wee - Ch6n Android > Existing Android Code into Workspace Select Sled an import source type filter text 0 a General • 123 Android ItS bitting Android Code Into Workspace I, a cic 0 (a, Git D Install r, Run/Debug t, Team p XML 0 Finish < Back Ifinh 3-5: Import dm Wen (tiip) - Click Browse > CM den thu mvc chlra project thu vien google play services: /extras/google/google_play_servicesilibProject/googleplay-services_lib,... Google Services: ... -alias androiddebugkey Viii la dubng clan ley tin Eclipse nhu sau: Windows > Preferences > Android > Build > Copy clang Default debug keystore Nhap password la android, Enter > Hien thi ra SHAI Copy SHA1 a six dung cho buoy b b Lay google api key Vao https://code.google.com/apis/console/ Hang nhap bang tai khoan Google - Chbn Create Project - Ka° ming duet Click vao Google Maps Android. .. - Dan SHA I dA thy dirge to (a) va them package img dung cua mink vio cu & click Create Configure Android Key for bando This key can be deployed In your Android applications API requests are sent directly to Googie from your clients' Android devices Google verifies that each request originates from an Android application that matches one of the certificate SHA1 fingerprints and package names listed... most recent Choose a tweet API API 17: Android 42 (Idly Been) version, or 'Mint writarininnprwourawnwswwwwitwareaw etas wmout reflection Net) Blab 3-10: Too project mot 22 Finish I owl I - Them thu vien Google Services vim project: Click chu6t phai vao project vita too > Properties > Android > Add > Chun project Google Services [type filter tot 4 Resource Android Android Lint Preferences Builders lava... thanh Menu: Window > Android SDK Manager Ede Edit ReNtbiii Seine EtaiNdte SW& Eidied ENO bin Navatindow New Rotor Fide Toolbar open Pespedive a Client a 90091etieY-seiviceta a MeinActivity Nat View ► Customize Perspective— D J Sever Save Respective AsReset Respective— Dose Respective Close AI Respective; Navirion Android Virtue! Device Mango a Rom Android Lint Preferences Binh 3-1: Android SDK Manager... mpg c6 gi6i lion (3G, GPRS) - Ket n61 mang Ichong 6n djnh 2.4.2 Ngen ngit 41p trinh trinh chinh thlic cue Android la Java Mk du cat img dung tren NgAn Android duqc vitt bang nein agar Java, tuy nhien ban than Android lui !cluing the chay duqc cac t$p tin Java c6 dung jar Ngen ner Java sir dung trong Android khong phai la town be thu vier J2EE (Java 2 Platform, Enterprise Editiion) ma chi la met pit nho ... Task Tags Va6dation Android Project Build Target Target Name Android 2.3.3 ❑ Goodie APS ❑ Android 4.0 En G40914 APS ❑ Android 4.22 Vendor Android Open Source Project Google Inc Android Open Source...

Ngày đăng: 18/11/2020, 14:00

TỪ KHÓA LIÊN QUAN

TRÍCH ĐOẠN

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

w