Page 1 of 1
Problems with using location
Posted: Sun Mar 02, 2014 5:26 pm
by hsh_636
Im trying to come up with an app that requires getting the latitude and longitude I tried using Compass-2.rev as an example which is found on live code website just google Compass-2.rev next to live code, and then tested it on samsung galaxy s3 everything worked except finding the location and when I click the button test for support it displays location not supported, if anybody can help me with this problem because I`ve been trying to solve it for three days now, but I still can't pinpoint the problem.
Re: Problems with using location
Posted: Sun Mar 02, 2014 6:04 pm
by Klaus
Hiu hsh_636,
here is the stack in question:
http://lessons.runrev.com/s/lessons/m/4 ... al-compass
1. welcome to the forum!
2. Not sure what the problem is:
Does your device support MobileSensor... "location" and the script tells you no?
What about the other possible options:
heading
acceleration
rotation rate
Do they work, or the stack tells they do?
Best
Klaus
Re: Problems with using location
Posted: Sun Mar 02, 2014 7:35 pm
by hsh_636
Actually all the options work except location for some reason Im using samsung galaxy s3, so Im not sure if it support mobile sensor or not.
Re: Problems with using location
Posted: Mon Mar 03, 2014 10:35 am
by LCNeil
Dear Hamad,
We your support request via support but it will be easier to answer your question and it will benefit other LiveCode users.
I have tested this sample stack on my Galaxy S3 and experience the issue that is occurring for you. The reason for this it that the sample stack does not have the location options checked within the stanalone applciation settings. More specifically, "Fine Location" and/or "Coarse Location"
Once these were checked, the app worked as expected on my GS3
Let us know how you get on.
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
——
Re: Problems with using location
Posted: Tue Mar 04, 2014 2:14 pm
by LCNeil
Hi Everyone,
This questions does come up now and again, so we've posted this question along with a response on stackOverFlow. We hope that this will be of some assistance to other LiveCode users in the future.
http://stackoverflow.com/questions/2217 ... n-livecode
Kind Regards,
Neil Roger
--
RunRev Support Team ~
http://www.runrev.com
——
Re: Problems with using location
Posted: Sun Mar 09, 2014 12:08 pm
by hsh_636
Thanks, Mr. Neil Roger for all your help.
Re: Problems with using location
Posted: Sun Mar 09, 2014 2:46 pm
by hsh_636
Thanks, I just tried it and it totally work.