freshollie / UsbGps4Droid

USB GPS Provider for android :artificial_satellite:. A maintained fork of hvb/USBGps4Droid
GNU General Public License v3.0
82 stars 34 forks source link

Wrong GPS time #23

Closed slavka93 closed 3 years ago

slavka93 commented 3 years ago

Hello. I live in Russia, Moscow region. I want to express my deep gratitude for your application. Everything works great. Only after turning on the GPS item, the time is set to +12 hours and the region +3 East Africa. You have the opportunity to edit this time adjustment in the application, otherwise in the navigation programs the themes of the night version are installed during the day. Thank.

slavka93 commented 3 years ago

UsbGps4Droid-v2.2.0-release.apk

freshollie commented 3 years ago

Hi. Are you using the gps time to set the system time? Is that causing the issue?

slavka93 commented 3 years ago

Yes

freshollie commented 3 years ago

Think I've found the issue, but I don't have the hardware with me to check. I will make the change, and compile an APK which you can test here.

slavka93 commented 3 years ago

Yes, of course, I will test everything and write about the results.

slavka93 commented 3 years ago

Hello. Now I noticed that the program took 12 hours from the actual time. It will take 12 hours, then it will add. It happens that the time does not change and it corresponds to the actual one.

freshollie commented 3 years ago

Hey, sorry I am a bit confused. You might be able to explain better with screenshots :)

freshollie commented 3 years ago

Also, can I confirm are you on a GMT+12 timezone?

slavka93 commented 3 years ago

I am in time zone +3. Photos will now be.

slavka93 commented 3 years ago

IMG_20200912_143701 In this photo, the top line is the actual time. The bottom line is -12 o'clock.

slavka93 commented 3 years ago

IMG_20200912_143457 In this photo, the top line is the actual time. The bottom line is +12 o'clock.

slavka93 commented 3 years ago

And the date is always wrong, but it's not important to me.

freshollie commented 3 years ago

Can you try this version? UsbGps4Droid-v2.2.0-release.apk.zip

slavka93 commented 3 years ago

Yes now.

slavka93 commented 3 years ago

Thank!!!! It works !!!! Out of 5 system starts, 5 correct readings.

slavka93 commented 3 years ago

Please tell me. Is it possible to run the program in the background? Android 9.

slavka93 commented 3 years ago

By adjusting the time, I'll go for a ride, I'll see.

freshollie commented 3 years ago

Not sure on your issue with the background, can you open another issue to track? I'm gonna close this as I've published v2.2.1 with the fix.

slavka93 commented 3 years ago

Everything works great! Many thanks!