This works more or less: as feedback I get some 1 K of data which includes the coordinates. This information is printed in the WEBView. I expected it in WEBReturn. The problem is that I have no idea how I can approach that data to extract the coordinates. Probably very simple, if you know it.
Please some help,
Harry
If the data returned is json then parsing it should be straightforward, you can even write your own routine
to extract just the coordinates.
What kind of data your are receiving?
Parsing is not difficult, but I cannot get access to the data; there is no function to get the text written in the WebView; that is my problem. The data starts with {"authentication Result Code...Stuff about Copyright ..... several times the address and the coordinates .... .,etc. With some string operations it is simple to extract the coordinates, provided that I have access to the data.
I think now I understand that you did not already captured the text..
If this is the case then you can use the Document object to get the "Body" of the web page, which should contain
JSON. then process JSON.
For me the threads on HttpUtils are so confusing that I do not manage to realize a simple thing like GetString. Should I use httpRequest, httpResponse, httpJob, httpClient??? It cannot be complicated, as downloading a map, when the coordinates are known, is just one statement. Could you please make a short, but complete sample for me with declarations?
An example is no longer necessary. After reading carefully , again and again, I found how to use HttpUtils in the correct way. Everything now works fine.