I would like to know if it is possible to pass a variable to a URL?
Here is a background of what I am currently doing and want to achieve:
I've created a website where you can enter a business location and it is then saved in a database, an icon can be linked to the location and the end result for a user is to see the location of businesses.
I have created an android app browser to display the map of my website and that can get the user's location using GPS. The GPS coordinates is currently placed is a variable and I need to pass this variable to the URL of the website.
When the browser in the app opens I need to pass the variable
Code: Select all
mobileControlSet sBrowserId, "url", "mywebsite/mobile/map.php?maplat=theLat"
Hopefully there is an easy solution to this and I'm just doing it completely wrong. Surely it should be possible to pass a variable straight to a URL in livecode?
Any feedback will be greatly appreciated on this.
Thank you in advance!
Mills