i used google map api through json
in browser result is complete but in b4i through below code job.Success = true but GetString return incomplete result
and returned result after JobDone is
in browser result is complete but in b4i through below code job.Success = true but GetString return incomplete result
B4X:
Dim str As String = "https://maps.googleapis.com/maps/api/place/autocomplete/json?input=jordan&language=en&key=[API_Key]"
Dim http As HttpJob
http.Initialize("getAddress",Me)
http.PostString(str,"")
and returned result after JobDone is
B4X:
{
"predictions" : [
{
"description" : "Jordan",
"id" : "82e6af4e2dfe28362842fdc90e6a724b19357d9c",
"matched_substrings" : [
{
"length" : 6,
"offset" : 0
}
],
"place_id" : "ChIJmd5kZkdvABURmU4mUQdbKI0",
"reference" : "CiQeAAAAb3xT1U5eN2ZtMWkW4nMGFNg0XS7gzhxlgzjXHhHxaK8SEE1fWTeBpHynOvV9aET4rrUaFESHXyx__hEmPkKYam-NqxQJBTg-",
"structured_formatting" : {
"main_text" : "Jordan",
"main_text_matched_substrings" : [
{
"length" : 6,
"offset" : 0
}
]
},
"terms......