dos anyone has problem like me?
I have built Port Connection apps, I built in Windows then Deploy for Andoid and PC
here the result:
- Livecode success build apk and exe file
- exe file works good in PC (can connect to server)
- apk file not working on Android.
Not working mean
Aplication cannot connect to Server
NOTE
I use CasparCG for Server http://www.casparcg.com/
here the code
Code: Select all
command connectIt
if field ipport is among the lines of the opensockets then
close socket field ipport
set the backgroundcolor of button "server_btn" to 0, 0, 0
else
open socket to field ipport
set the backgroundcolor of button "server_btn" to 128, 0, 0
if the Result <> "" then
put "result:" && the result
else
readLoop
end if
end if
end connectIt
command readLoop
if field ipport is among the lines of the opensockets then
read from socket field ipport until empty
send "readLoop" to me in 50 milliseconds
end if
end readLoop
Any comment and help wouldbe apreciate
Best Regards
Gilar Kadarsah | From Indonesia
Newbe programmer