8

Connecting android app to sql server using jtds

view full story
linux-howto

http://stackoverflow.com – I'm tired of searching with no result i don't know where the problem come from , i'm trying to connect my android app with the local SQl server 2008, now i get unable to get information from sql server. please help this is my code : String url = "jdbc:jtds:sqlserver://10.0.2.2:1433/lear_db;instance=SQLEXPRESS;"; TextView coucou = new TextView(this); try { Class.forName("net.sourceforge.jtds.jdbc.Driver"); java.sql.Connection connexion = DriverManager.getConnection(url,"kamal","kamal1234"); coucou.setText("Connection successful"); } c (HowTos)