LED ON/OFF TCP CORDOVA. Cannot connect to arduino
Posted: 17:53, 22 Apr 2015
Hello,
I have built an android cordova app. I copied the files from the Led On/Off TCP example to the www folder, build the app from cmd, and copied the created apk file to my phone. The UI works perfectly fine but when i enter the IP of my arduino and press connect, nothing happens.
I tried this demo using the workbench and the clientapp, and it worked just fine (i was able to turn on the LED...).
And i also added the necessary plugins to my cordova app (org.chromium.socket and org.chromium.sockets.tcp) and re-built the app from cmd, but still when i press connect nothing happens.
Any thoughts or suggestions ?
Thanks in advance
I have built an android cordova app. I copied the files from the Led On/Off TCP example to the www folder, build the app from cmd, and copied the created apk file to my phone. The UI works perfectly fine but when i enter the IP of my arduino and press connect, nothing happens.
I tried this demo using the workbench and the clientapp, and it worked just fine (i was able to turn on the LED...).
And i also added the necessary plugins to my cordova app (org.chromium.socket and org.chromium.sockets.tcp) and re-built the app from cmd, but still when i press connect nothing happens.
Any thoughts or suggestions ?
Thanks in advance