Connecting android app to Microsoft SQL server 2008

后端 未结 2 1232
挽巷
挽巷 2021-02-03 16:09

First of all. I am new to android application development environment and I am trying to connect to mssqlserver 2008 with simple android application using jtds-1.3.1.jar driver

2条回答
  •  广开言路
    2021-02-03 17:00

    add these code

    StrictMode.ThreadPolicy policy=new StrictMode.ThreadPolicy.Builder().permitAll().build();
    StrictMode.setThreadPolicy(policy);
    

提交回复
热议问题