Android Question GPS location wrong on google map

sigster

Active Member
Licensed User
Longtime User
Hi

I am calling google map I change Degrees , Minutes Second into decimal number

on my Galaxy s4 google map show perfect location
but on Samsung Galaxy Ace 2 it is maybe 5 or 6 meters away or more
I don't use GPS only show location on google map

do anyone know why this difference between Mobile phone
or do I calculate this wrong :)


B4X:
Dim mapIntent As Intent
    Dim geoURI As String
    Dim Intent1 As Intent
 
    Dim utkoma_N As String
    utkoma_N  = NumberFormat(N2.Text/60 + N3.Text/3600 , 0,6)   
    Lab_N.Text = N1.Text & "" & utkoma_N
   
    Dim utkoma_w As String
    utkoma_w  = NumberFormat(W2.Text/60 + W3.Text/3600 , 0,6)   
    Lab_w.Text = W1.Text & "" & utkoma_w

    lat=Lab_N.Text
    lon=Lab_w.Text

    URI= "geo:" & lat & ",-" & lon & "?q=" & lat & ",-" & lon & "

    Intent1.Initialize(Intent1.ACTION_VIEW,URI)
    Intent1.SetComponent("googlemaps")
    StartActivity(Intent1)



Regards
Sigster
 

sigster

Active Member
Licensed User
Longtime User
I convert 64°8'39,88"N 21°55'22,439"W
into 64.144332 -21.922173
on my Galaxy s4 google map show right place outside the street

but Samsung Galaxy Ace 2 it is 3 or 4 meters a way from 64.144332 -21.922173
it don't go on same place it is like it go more into the street not outside the street like the it show up in my mobile

was wonder if older kernel / google maps are different

Regards
Sigster
 
Upvote 0
Top