Reputation: 95
I tried the following example: http:// mytechbook-praba.blogspot.com/2014/01/overview-installation-ibm-worklight.html
For the adapter invocation and running on the android emulator. It works fine after changing the host name from localhost to the ip address of my machine in the worklight development server in the eclipse environment.
To change the IP address of the MobileFirst server for your Android app i followed the steps of this solution: Change IP address to run MobileFirst Android app on real device
When testing it on a real android device. It fails. Here you can find the logcat below: Click here to view the logcat
Upvotes: 0
Views: 109
Reputation: 44516
How is this different from your previous question?
The connection attempt goes here: http://10.0.0.3:10080/AdapterProject/authorization/v1/clients/instance
You were asked to see if you are able to load the MobileFirst Console from your device's browser. Can you? The address would be: http://10.0.0.3:10080/worklightconsole
Other things you can verify: whether the device is connected to the same WiFi network as the computer that the server is running on.
Upvotes: 0