GPS追跡を使用して特定の認識された場所でユーザーに警告するAndroidアプリを開発したい.初心者なので基本。
質問する
368 次
2 に答える
1
于 2012-07-17T11:14:24.877 に答える
0
i think you have to require following steps like
[1] google md5 certificate for your map
see https://developers.google.com/maps/documentation/android/mapkey
[2] make gps location listenr service in your project
see http://www.javacodegeeks.com/2010/09/android-location-based-services.html
[3] also Create AlaramService which notify the location and Alert using Brodcase Receiver
here do require code for AlaramService
[4] Add Require Permission and service register in Manifest
like
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission>
<uses-permission android:name="android.permission.UPDATE_DEVICE_STATS"></uses-permission>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"> </uses-permission>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"></uses-permission>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
this some steps which may useful to you
于 2012-07-17T11:28:38.800 に答える