Hi Guyz,
How can I Get my current location using iOS I am using livecode 8 Community Edition.
Any help is appreciated.
Thank You.
-Ken
Current Location
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Current Location
Probably not use LC 8 and check out the lesson;
http://lessons.livecode.com/m/4069/l/30 ... al-compass
liveCode 7.1 I think is the latest stable version.
Simon
http://lessons.livecode.com/m/4069/l/30 ... al-compass
liveCode 7.1 I think is the latest stable version.
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Current Location
Thanks for the reply Simon.
There's an Error when I Run the sample stack that you have shared it to me.
Is there any another way to get my current location?.
Thanks
)
There's an Error when I Run the sample stack that you have shared it to me.
Is there any another way to get my current location?.
Thanks

Re: Current Location
Just tested under LC8 (DP14)... works fine, in the sim and on device..
Code: Select all
on openStack
if environment() = "mobile" then
mobileStartTrackingSensor "location", true
end if
end openStack
on locationChanged latitude, longitude
set the theCurrentLocation of this stack to latitude & comma & longitude
put latitude & comma & longitude into fld 1
end locationChanged