0

The title kind of says the most of it but I want to connect to SQL using my Android app that I have in development so I made a sample set of code just to test the concept without using android and it worked. When I tried to use it on Android it doesn't work (connection error) is there a permission I need to request in my manifest? Any help is greatly appreciated.

Ctshaw
  • 217
  • 1
  • 5
  • 10

1 Answers1

1

You can not establish JDBC connections to remote database in android either you should use SQLite DB on device or write socket based interface between your device and hosted machine or the most appropriate way of doing this is using REST webservices.

Sanjeev
  • 9,876
  • 2
  • 22
  • 33