Hi
I put a module on google document with a single field , and update the content of this with this string
"http://spreadsheets.google.com/formResponse?formkey=dDZQTGVEYXRKMTJ4YWh5LTl6ZUpJTHc6MQ&ifq&entry.0.single=" & str & "&submit=Submit"
Where str = the value.
Follows a simple example:
On the PC work fine but on the device get this error:
Response code: -1
TrustFailure
Why?
Thanks
I put a module on google document with a single field , and update the content of this with this string
"http://spreadsheets.google.com/formResponse?formkey=dDZQTGVEYXRKMTJ4YWh5LTl6ZUpJTHc6MQ&ifq&entry.0.single=" & str & "&submit=Submit"
Where str = the value.
Follows a simple example:
B4X:
Dim str_URL as String
Dim str as String
str = 12345
str_URL = "http://spreadsheets.google.com/formResponse?formkey=dDZQTGVEYXRKMTJ4YWh5LTl6ZUpJTHc6MQ&ifq&entry.0.single=" & str & "&submit=Submit"
...............
GetText
..............
Sub GetText
Request.New1(str_URL)
Response.New1
Response.Value = Request.GetResponse
String = Response.GetString
Response.Close
If SubString(String, 176, 9) = ">Grazie!<" Then
Return True
Else
Return False
End If
End Sub
On the PC work fine but on the device get this error:
Response code: -1
TrustFailure
Why?
Thanks