Indawo Yokwandisa Indawo
Isandiso se-App Inventor esivezwe kulolu hlelo lokusebenza lwesibonelo sikwazi ukusebenza ngemuva ngenkathi uhlelo lwakho lokusebenza luvaliwe futhi ligcina idatha yendawo (i-latitude, i-longitude nokuphakama kokuzikhethela, ukunemba, isivinini, ikheli lamanje nomhlinzeki) ku-TinyDB aka Shared Preferences.
Futhi ukusebenza kwewebhu okungemuva kuyatholakala okungasetshenziswa ukuthumela idatha yendawo kwinsizakalo yewebhu oyikhethayo usebenzisa isicelo se-POST. Lokhu kungasetshenziswa ukwenza isibonelo ukugcina idatha yendawo ku-database ye-MySQL noma ukuthumela i-imeyili ngemuva kokutholwa kokushintsha kwendawo ngenkathi uhlelo lokusebenza lungasebenzi.
Isazisi sizovezwa ngenkathi insiza yendawo isebenza ngemuva.
Kuhlelo lokusebenza lwesibonelo unezinketho ezi-2 ezilandelayo:
1) ungakhetha, uma ufuna indawo yakho idluliselwe kudathabheyisi yami ye-Test MySQL. Ngaso sonke isikhathi lapho uqala insizakalo, kuzokhiqizwa i-id yomsebenzisi engahleliwe futhi idluliselwe kudathabheyisi yokuhlola kufaka phakathi imininingwane yendawo yakho (i-latitude, i-longitude nekheli lamanje). Ungabona indawo yakamuva yama-id omsebenzisi wokugcina ama-5 asebenzise uhlelo lokusebenza lwesibonelo ekhasini lami lewebhu ku-https: //puravidaapps.com/locationservice.php.
2) ungakhetha, uma indawo yakho kufanele ithunyelwe nge-imeyili. Uyacelwa ukuthi ufake ikheli lakho le-imeyili lendawo (i-latitude, i-longitude nekheli elikhona manje) elizothunyelwa kukheli lakho le-imeyili.
Izimvume ezidingekayo:
- android.permission.FOREGROUND_SERVICE
- android.permission.ACCESS_FINE_LOCATION
- android.permission.ACCESS_COARSE_LOCATION
- android.permission.ACCESS_BACKGROUND_LOCATION
- android.permission.INTERNET
Sicela ubheke nenqubomgomo yobumfihlo ku-https: //puravidaapps.com/privacy-policy-locationservice.php
Kubuyekezwe ngo-
Mas 16, 2024