How to use MS SQL as database for Android Studio

Can you? Yes. Should you? Not directly. If you connect to a database directly in your app, that means you put your password in your app. This means you have 0 security, and if your app has any value at all it will be hacked. Use a webservice instead, so the password never needs to leave your servers. And that webservice can connect to whatever it wants as a db, the android app should neither know nor care.

Leave a Comment