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

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -