基于gps的警报

时间:2012-07-17 11:10:00

标签: android gps

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

2 个答案:

答案 0 :(得分:1)

答案 1 :(得分: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