Closed freshollie closed 7 years ago
Hi Oliver,
Tested extensively on my android box, and works fine wrt reading the gps and finding a fix! Also option to launch at start up of android works fine.
However i face one issue once started, but this is true also for alternative " You Are Here" . It keeps asking for: "Allow USBGPS to access the Usb device?" Option to toggle: use by default for this Usb device? Of cource i select this option. But somehow it is not saved. So it asks this every time at start-up.
Do you know how to solve this last issue?
Kind Regards,
Jan R. Smit
2017-05-17 5:15 GMT+02:00 Oliver Bell notifications@github.com:
- Added option to start service on bootup
- Added option to set the system clock to the gps clock (10 seconds after connecting the clock will be set)
- Other code fixes
You can view, comment on, or merge this pull request online at:
https://github.com/freshollie/UsbGps4Droid/pull/3 Commit Summary
- Added start on bootup option, switched from depricated nmealistener
- Changed action strings
- Fixed missing permission
- Reorganised strings and constants
- Built dev apk
- Added Superuser manager, added option for set time
- Created time setting function
- Built APK
- Updated version code
- Updated change log
File Changes
- M README.md https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-0 (5)
- M app/build.gradle https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-1 (4)
- M app/build/outputs/apk/app-debug.apk https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-2 (0)
- M app/src/main/AndroidManifest.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-3 (22)
- M app/src/main/java/org/broeuschmeul/android/gps/nmea/ util/NmeaParser.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-4 (24)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/ provider/USBGpsApplication.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-5 (6)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/ provider/driver/USBGpsManager.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-6 (91)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/ provider/driver/USBGpsProviderService.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-7 (72)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/ provider/ui/GpsInfoActivity.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-8 (12)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/ provider/ui/SettingsActivity.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-9 (2)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/provider/ui/ USBGpsBaseActivity.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-10 (23)
- R app/src/main/java/org/broeuschmeul/android/gps/usb/provider/ui/ USBGpsSettingsFragment.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-11 (61)
- A app/src/main/java/org/broeuschmeul/android/gps/usb/provider/util/ SuperuserManager.java https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-12 (121)
- M app/src/main/res/layout/activity_info.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-13 (2)
- M app/src/main/res/layout/activity_info_double.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-14 (2)
- M app/src/main/res/values/constants.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-15 (5)
- M app/src/main/res/values/strings.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-16 (101)
- M app/src/main/res/xml-v14/main_prefs.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-17 (25)
- M app/src/main/res/xml/main_prefs.xml https://github.com/freshollie/UsbGps4Droid/pull/3/files#diff-18 (37)
Patch Links:
- https://github.com/freshollie/UsbGps4Droid/pull/3.patch
- https://github.com/freshollie/UsbGps4Droid/pull/3.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/freshollie/UsbGps4Droid/pull/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AaEUFGbj8oX5d8rlvZou2ucGrmyTdTpkks5r6mZegaJpZM4NdU4R .
This is how the android system is intended. A new permission must be gained if the USB device is disconnected and reconnected.
If you can compile your own android system then please apply this change to the system.
https://stackoverflow.com/a/26968141
I cannot write anything into the app to bypass this unfortunately.