0

我想开发一个Android应用程序,使用gps跟踪在特定识别位置提醒用户,首先我们识别一些特定区域,当用户接近这个区域时,他必须得到警报,请帮助我从基础知识,因为我是初学者。

4

2 回答 2

1

看一下LocationManager.addProximityAlert

于 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 回答