We have moved to a new Sailfish OS Forum. Please start new discussions there.
60

[Bug] Android apps lose GPS fix when in background since 1.0.7

asked 2014-06-11 13:07:34 +0200

Leinad gravatar image

updated 2014-06-11 13:12:21 +0200

Since the update to 1.0.7 GPS for Android apps only works, when they are "active". As soon as you swipe from the side or lock the device, the GPS is lost. I tried rebooting and reinstalling those apps, but it did not help.

GPS is found again, when you go back to the app, but this does not help for e.g. tracking.

edit retag flag offensive close delete

Comments

Seconded, very annoying bug! I'm using gps tracker as cyclometer daily. If anyone has idea how to fix this, I'd like to know.

jsievikorte ( 2014-06-11 19:06:16 +0200 )edit
1

just runned into this problem today. Dunno what android tracking apps you are using, possibly Endomondo? Theres this native tracking app MeeRun in the Warehause/openrepos, and it seems to work great, just tried it. And you can export the tracks in .gpx, and then import to endomondo service if thats what you are using

Whippler ( 2014-06-11 20:28:46 +0200 )edit

Thanks. Have been using endomondo, yes. Just now installed Meerun, will likely use that until this is fixed (or if it's better, then I'll stick with it :)

jsievikorte ( 2014-06-11 20:36:22 +0200 )edit
1

Sports Tracker (2.5.2 & 3.0.5) fails in similar fashion - tracking stops when display blanks.

vode ( 2014-06-11 22:45:55 +0200 )edit
3

As a workaround, you can run a native sailfish app using GPS in the background.

balta ( 2014-06-11 22:49:44 +0200 )edit

3 Answers

Sort by » oldest newest most voted
8

answered 2014-06-18 07:41:30 +0200

Leinad gravatar image

Hm, no answer from any mod, so i have to decide it on my own... to share it not too public i packed it into a protected zip archive. The password is the "sea name" of the actual Sailfish version, that caused the problem :)

https://dl.dropboxusercontent.com/u/8168400/gps105.zip

edit flag offensive delete publish link more

Comments

Tested this and it works. Thanks you for this.

1chb ( 2014-06-23 10:08:21 +0200 )edit

Comments from the Jolla moderators would be welcome. I agree with the former writers that this bug is just plain annoying and if it can be safely fixed by one file, it would be extremely welcome as a hotfix.

Murtsi ( 2014-06-24 22:51:38 +0200 )edit

I can not unzip the file... I already tried different programs from 7ZIP via PeaZip to unzip. unzip said that my pk compat version is to old, all other complained that the password is not correct. could you upload the .so file without zipping is again please?

NFec ( 2014-06-26 01:21:34 +0200 )edit

i packed it with 7zip, so this should work, when it says wrong password, i guess you misstyped it. maybe try copy & paste...

Leinad ( 2014-06-26 13:51:36 +0200 )edit

Great, this works for me. So I can use Runkeeper again :-) thx a lot.

gergap ( 2014-07-01 15:02:51 +0200 )edit
5

answered 2014-06-17 20:41:57 +0200

Leinad gravatar image

updated 2014-06-17 20:45:08 +0200

so, since i was really pissed by this bug and the android support update did not fix it, i decided to fix it myself :) here is how to do it:

just replace /opt/alien/system/lib/hw/gps.default.so with the file from a version < 1.0.7

i was lucky, i have a device, wich is on 1.0.5 so i just moved the file from this device to the device on 1.0.7

i'm not sure, if i'm allowed to link it here...

edit flag offensive delete publish link more

Comments

Can you share that file plz? Or post binary diff between 1.0.5 and 1.0.7., that certainly won't hurt anyone.

lomo ( 2014-06-17 21:42:42 +0200 )edit
0

answered 2014-07-15 11:11:05 +0200

Does the last update fix this bug? Thanks!

edit flag offensive delete publish link more

Comments

I went for a walk yesterday evening after updating to 1.0.8.19 and Sports Tracker was completely fine.

2Ti ( 2014-07-15 11:23:50 +0200 )edit

OK many thanks :)

juju_des_highlands ( 2014-07-15 11:38:47 +0200 )edit

Latest update fixed it for me.

jsievikorte ( 2014-08-09 08:18:38 +0200 )edit
Login/Signup to Answer

Question tools

Follow
15 followers

Stats

Asked: 2014-06-11 13:07:34 +0200

Seen: 2,981 times

Last updated: Jul 15 '14