HvB / UsbGps4Droid

Usb GPS for Android
GNU General Public License v3.0
36 stars 27 forks source link

Mock Locations Issue in Android 6.0 #10

Open johnsonjp34 opened 8 years ago

johnsonjp34 commented 8 years ago

I've been using this for a while for a BU-353S4. However on installation on Android Marshmallow the application doesn't work with the new Mock Location procedures in the 6.0 APIs. Versions prior to 6 work fine.

*Update. If the software is installed prior to update it will be optimized and work fine in Android 6. If it is installed directly on Android 6 it does not work. The Google APIs automatically change the calls to mock locations, but I can't find any Google documentation on the new calls to make for Android version 6.

freshollie commented 7 years ago

I don't know if its relevant to you anymore, but I have updated this app to work properly on 6.0.1

JanRSmit commented 7 years ago

Hi Freshollie, I tred your build on my android enybox x2 with android 6.0.1 . It does not work. Can you help me out? I am not a programmer. Regards JanRSmit

JanRSmit commented 7 years ago

I use a usb version of BU-353S4

freshollie commented 7 years ago

How does it not work @JanRSmit ? Got any more details? Does the app crash when it opens? Or does it not provide a location from the device? Also I would recommend making an issue in my fork.

JanRSmit commented 7 years ago

hi freshollie, i tested your latest . After installing i selected it for mock operations and then klicked on it to start. it comes with a white pop up and message " unforntunately usb4gps has stopped" . I use an enybox x2 with android 6.0.1 and a globalsat bu-353s4 usb gps. I doe not know how to make an ssue in your fork.

freshollie commented 7 years ago

I have opened an issue in: https://github.com/freshollie/UsbGps4Droid/issues/1

Please comment there from now on.

JanRSmit commented 7 years ago

Hi Oliver,

No does not crash it does not work. The latest build i tried comes almost directly with message that it stopped working. Wish i could get it to work. I want to use it on a android box togethet with navigation app for my car.

Jan R. Smit +31622511679 Kornetstraat 2 1312XG Almere

Op 29 apr. 2017 23:08 schreef "Oliver Bell" notifications@github.com:

freshollie#1 https://github.com/freshollie/UsbGps4Droid/issues/1

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/HvB/UsbGps4Droid/issues/10#issuecomment-298194768, or mute the thread https://github.com/notifications/unsubscribe-auth/AaEUFPG9cVCtHUrbQl3oiz11-9hiRCD0ks5r06bGgaJpZM4HsVgF .

freshollie commented 7 years ago

@JanRSmit Please post in the correct thread. https://github.com/freshollie/UsbGps4Droid/issues/1 I will not be responding anymore in this thread.