Page 1 of 1

Problems Communicating with server

Posted: Tue Feb 07, 2017 6:59 pm
by trags3
I have a script that works perfectly well in the iPhone but not on an Android.

put "SOMEFILE.JPG" into tlender
put URLEncode(“myusername”) into tApiUser
put URLEncode(“myuserpassword”) into tApiPass
Put URL("https://" & tApiUser & ":" & tApiPass & "@ssl-myserversignin/~myAccount/api/bizcards/" & tlender) into image"loanOfficer" of cd"firstTime"
put the text of image"loanOfficer"of cd"firstTime" into tfile

Could it be that the Android operating system expects the JPG file type to be lower case and therefore doesn't find the file?

What am I doing wrong?

The file compiles with no errors or warnings, and I even was able to upload to Google Play.

Re: Problems Communicating with server

Posted: Tue Feb 07, 2017 7:42 pm
by LiveCode_Panos
Have you checked the "Internet" permission in Android standalone settings?

Re: Problems Communicating with server

Posted: Tue Feb 07, 2017 8:31 pm
by trags3
Thanks, That was it!
This is the first App I have done for Android.
Seems to work now.
Thanks Again :D
Tom