Sully Posted September 3, 2015 Posted September 3, 2015 (edited) Hi every one , I am making some progress on creating an application that can do a simple ping. I have a small problem here, This is the error I am getting when I try to run the application from my phone. Note my phone is in Developer mode and all the possible settings in this mode that are needed are enabled. java.net.SocketException:socket failed :EACCES (Permission Denied) I have inserted the fowling three lines into the manifest file to set the permissions but they do not seem to work. <uses-permissions android:name="android.permission.ACCESS_NETWORK_STATE"></uses-permissions> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"></uses-permission> <uses-permission android:name="android.permission.INTERNET"></uses-permission> Any suggestions ? I would be really thankful if any one had any one could help. Thanks All Fixed ! Thanks to all for the view Edited September 3, 2015 by Sully Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now