Livecode Geolocation not returning result -


i created sample stack in livecode test geolocation somehow result empty

the sample stack can downloaded here

executing code: answer mobilecantracklocation() fire true

mobilestarttrackingsensor "location", true < -- start tracking mobilestoptrackingsensor "location" <-- stop tracking

here's code displaying in result in field:

    mobilesensorreading("location", true)      if array         combine using return , "="     end if     put "current reading" && & return before field "result" 

anything missed?

i using livecode 7.0.3

this has worked me reliably on ios:

    mobilestarttrackingsensor "location", false     put mobilesensorreading("location",false) tdata     mobilestoptrackingsensor "location" 

however, have not been able work on android devices. may report bug livecode.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -