kopia lustrzana https://github.com/ge0rg/aprsdroid
rodzic
2143f5f605
commit
e95a3cadd6
|
@ -1,8 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="de.duenndns.aprsdroid"
|
||||
android:versionCode="2"
|
||||
android:versionName="0.1">
|
||||
android:versionCode="3"
|
||||
android:versionName="0.3">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.LOCATION"/>
|
||||
|
|
|
@ -36,6 +36,8 @@ class AprsService extends Service with LocationListener {
|
|||
|
||||
val upd_int = prefs.getString("interval", "10").toInt
|
||||
val upd_dist = prefs.getString("distance", "10").toInt
|
||||
locMan.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
|
||||
upd_int * 60000, upd_dist * 1000, this)
|
||||
locMan.requestLocationUpdates(LocationManager.GPS_PROVIDER,
|
||||
upd_int * 60000, upd_dist * 1000, this)
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue