CompanyGateways / mytracks

Automatically exported from code.google.com/p/mytracks
1 stars 0 forks source link

"Map center on my position" problem #501

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Requirements:
    - location by wireless networks is enabled in Android settings
    - GPS not able to fix (for example, inside a building)
2. Launch MyTracks. Your position on the map is represented by the "orange 
arrow", and is ok (located by wireless networks)
3. Click Menu > My Location

What is the expected output? What do you see instead?
The map should be centered on my position (orange arrow)
Instead, the map is centered in the middle of nowhere.

What version of MyTracks are you using?
I'm using 1.1.7.
I think the problem appeared in 1.1.5. Version 1.1.4 is OK.

On what version of Android? On what
phone?
Android 2.2 on HTC Desire.

I sent a log by Email.

You can find a video showing the problem, as attachment.

Original issue reported on code.google.com by electro...@gmail.com on 21 Jun 2011 at 9:49

GoogleCodeExporter commented 9 years ago
Here is the video showing the problem.

Original comment by electro...@gmail.com on 21 Jun 2011 at 9:56

Attachments:

GoogleCodeExporter commented 9 years ago
Hi ! The problem is still present, specially when using "WiFi localization", 
when the GPS position is not available.

Version 1.1.5, 1.1.6 and (the last) 1.1.7 are impacted.

- I've tried to wipe MyTracks data
- Moved to Android 2.3
... no improvement

Cheers !

Original comment by electro...@gmail.com on 13 Aug 2011 at 5:31

GoogleCodeExporter commented 9 years ago
For your information, problem still present on 1.1.8, released today on the 
Market.

Versions 1.1.5 to 1.1.8 are concerned.

Original comment by electro...@gmail.com on 17 Aug 2011 at 9:21

GoogleCodeExporter commented 9 years ago
Bug present in rev849 of the code.  Tested on 2.3.3 droid X.

Original comment by white...@gmail.com on 2 Oct 2011 at 7:09

GoogleCodeExporter commented 9 years ago
Please review my proposed fix:
https://code.google.com/r/rimazbe-mytracks/source/detail?r=5f98e54baaab61860ea00
e2dc2815d0ef258ce75

Original comment by Rimaz.be on 8 Oct 2011 at 1:07

GoogleCodeExporter commented 9 years ago
Thank you very much for your fix !

I hope it will be merged into the official repository.

Unfortunately, I can't test it, because I don't have the building environment, 
to create apk from source code.

Original comment by electro...@gmail.com on 8 Oct 2011 at 5:20

GoogleCodeExporter commented 9 years ago
I can create one for you to test it.
It is a revision 0ad2294e3d58 (Oct 6) + my changes.
Let me know if it doesn't work.

Original comment by Rimaz.be on 8 Oct 2011 at 6:36

Attachments:

GoogleCodeExporter commented 9 years ago
Yes ! The "My position" button is working again with your version, even if the 
GPS position in not available (ex: WiFi network localization).

However, the Google Maps basemap does not load ... but "My position" problem is 
solved :)

Original comment by electro...@gmail.com on 8 Oct 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Oh, my bad... Google Maps doesn't work because of the wrong API key. Well, the 
API key is right (the original one), but it doesn't match my certificate 
fingerprint. I just fixed that. :)

Original comment by Rimaz.be on 8 Oct 2011 at 8:46

Attachments:

GoogleCodeExporter commented 9 years ago
Gorgeous, it's working perfectly now !! Thanks !

For sure, your patch needs to be committed into the official mytrack trunk ;)

Original comment by electro...@gmail.com on 8 Oct 2011 at 8:51

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sorry for taking so long to review, doing it now.

Original comment by rdama...@google.com on 15 Nov 2011 at 1:16

GoogleCodeExporter commented 9 years ago
Thanks for the fix.

Original comment by rdama...@google.com on 15 Nov 2011 at 1:27

GoogleCodeExporter commented 9 years ago
Thanks ! Version 1.1.11 downloaded from Android Market isn't concerned by this 
problem anymore :)

Original comment by electro...@gmail.com on 20 Nov 2011 at 5:47