I've been experimenting with GPS tracking using the api at Tiny Geo-coder | The fastest way to find latitude and longitude
I make a url and send a request to:
http://tinygeocoder.com/create-api.php?g=33.790348,-117.226085
and the site returns a simple web page which is literally actually just the address of the coordinates it received.
I have tried all sorts of things from various posts and examples but can't seem to figure out how to, instead of showing this page in a webview, put it into a text string.
I have been trying to do so with the response from the http server which I now realise is wrong, what I need to do is read all the text from the resulting webpage (which contains only the text I want to display) but am not sure how to.
I know it is possible but I also know I am over complicating this when I am sure it is more simple than I have been thinking. Could anyone point out what I'm missing?
I realise I have asked a few questions in the past few days (I am just getting into the language and jumping right in with testing things) so excuse me if it's a dumb question.
While it would be great if someone could make it really obvious for me if someone can give me maybe a hint or push in the right direction it would be very helpful
Dave
Dave
I make a url and send a request to:
http://tinygeocoder.com/create-api.php?g=33.790348,-117.226085
and the site returns a simple web page which is literally actually just the address of the coordinates it received.
I have tried all sorts of things from various posts and examples but can't seem to figure out how to, instead of showing this page in a webview, put it into a text string.
I have been trying to do so with the response from the http server which I now realise is wrong, what I need to do is read all the text from the resulting webpage (which contains only the text I want to display) but am not sure how to.
I know it is possible but I also know I am over complicating this when I am sure it is more simple than I have been thinking. Could anyone point out what I'm missing?
I realise I have asked a few questions in the past few days (I am just getting into the language and jumping right in with testing things) so excuse me if it's a dumb question.
While it would be great if someone could make it really obvious for me if someone can give me maybe a hint or push in the right direction it would be very helpful
Dave
Dave