Siddharth Verma
- Forum posts: 1
May 1, 2015, 5:49:54 PM via Website
May 1, 2015 5:49:54 PM via Website
Hi, I have been trying to run an application that stores and retrieves data from MySQL using PHP and Android. The whole project is on androidhive website.
I am getting the following error
I have connected both my phone and the server(laptop-localhost) to the wifi. I have checked the ping after checking the ipconfig to know the ip address of localhost.
Ip address is 192.168.1.34
ping is working fine
this address is working in browser
, I have searched a lot and got the same answer to include foll. in manifest file
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
But I had already included it and still facing the same problem.
Here is my code of manifest file.
<!-- Internet Permissions -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
Please help and oblige
Thank You
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.