Reputation: 277
I want my Android app to connect to an MS SQL database. I also tried Google, but only this link was a bit clear but I didn't understand it properly.
Can anyone give a links to tutorials on how to connect to MS SQL database from Android?
Upvotes: 0
Views: 1242
Reputation: 8543
You'll need to connect to the MS SQL database using JDBC (Java Database Connectivity) and the MS SQL Database driver available here. I have not tried this personally and I'm not sure if it will be compatible on Android. In fact I doubt the driver will be compatible with Android but it might be worth a try.
Your best bet is to connect to the database using non-direct methods such as creating a web service which exposes the data you need.
Upvotes: 1