+9 votes
446 views
in Android by
Hello,
I am developing an application in android, and I have a problem, I am trying to connect via JDBC my application to mySQL, after developed, without any compilation error, but when trying to run offers consultation, gives me erroes, and execution stops program. In data compilation aparcecen like this message.
java.net.SocketException message java.net.ConnectException: socket failed: EACCES ? Can anyone help me And if not, can someone help me make the connection to MYSQL By JDBC?

1 Answer

+10 votes
by (26.3k points)

 is the manifest permission to internet exists? 

<uses-permission android: name = "android.permission.INTERNET" /> 
if so has the correct syntax? deve be within the tag 
<uses-sdk 

I did not understand why using jdbc, it is more efficient to use web services 
I hope you serve ...

Ask a Question
Welcome to WikiTechSolutions where you can ask questions and receive answers from other members of the community.

You can ask a question without registration.

Categories

...