Problems Communicating with server

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Problems Communicating with server

Post by trags3 » Tue Feb 07, 2017 6:59 pm

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.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: Problems Communicating with server

Post by LiveCode_Panos » Tue Feb 07, 2017 7:42 pm

Have you checked the "Internet" permission in Android standalone settings?

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: Problems Communicating with server

Post by trags3 » Tue Feb 07, 2017 8:31 pm

Thanks, That was it!
This is the first App I have done for Android.
Seems to work now.
Thanks Again :D
Tom

Post Reply

Return to “Android Deployment”