No connection when deployed to phone

0 votes
I'm using AppWarpS2 with Marmalade 7.1.2 and I've got my server setup and sending and recieving information when I run the app on my pc, but when I deploy it to my android phone, it does not connect to the server. The on screen text tells me that the none of the callback functions are even run.

I am using the IP, is this the correct one for when deploying to mobiles?


Thanks in advance
asked Feb 27, 2014 in AppWarpS2 by scott.woolven (35 points)
retagged Mar 11, 2014 by shepAdmin

1 Answer

0 votes
Perhaps you need to mention the internet permissions in the android manifest.
answered Feb 28, 2014 by dhruvc (1,099 points)
I have got: <uses-permission android:name="android.permission.INTERNET"/>
in the AndroidManifest and can open URL links, but it still doesn't connect..
When you put "" on the phone - it tries to connect to a server running on the phone itself. Which will of course fail. You need to put in the address of your PC/Mac thats running AppWarpS2. Either its public IP or if you are working in a private network at home/office then enter its private IP address (eg: 192.168.* or 10.0.*) and ensure that the phone is also connected to the same private network.
My private IP works like a treat, thanks!
great - please mark the question as answered!
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on