I am using your sample code OpenFNApp , But when i am going to use it on mobile it is giving some error and asking for application close and reload. The error which i am getting here is
Client init failed. Connection to the service is not available.
http://192.168.0.167:8080/apps/services/api/OpenFNApp/android/query Host is not responsive. Try to manually access the URL through the android emulator browser to verify connectivity.
I tried access this url from mobile , it's getting access. So tell me what is the problem and how to solve this so that i can test this app on mobile devices.
This topic has been locked.
Pinned topic service is not accessible on mobile after deployment
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Re: service is not accessible on mobile after deployment2012-10-23T14:31:59ZThis is the accepted answer. This is the accepted answer.Which version of Android are you running with? I saw a similar error when I wasn't running with Android 2.2. I switched my Android version and it started working.
Re: service is not accessible on mobile after deployment2012-10-23T14:56:35ZThis is the accepted answer. This is the accepted answer.Can you provide more general information:
Version of WL (enterprise or dev preview)?
What version of Eclipse?
What version of Android, like it was asked above.
What version of ADT?
If you are using the dev preview, you'll need to run it from the localhost, so that IP address should not work. You also need to check if you built and deployed the project by going to OpenFNAPP>apps > OpenFNApp > right click > Run As > Build All and Deploy. If you have an enterprise version, make sure to deploy the war file and upload the wlapps file.