Previously, my application did not connected to AWS Database. I want to change database connection to AWS Database. But i found some trouble. I think it was same like we connect AWS Database into a Website Application. But it really different.
Asked
Active
Viewed 1,957 times
1
-
Possible duplicate of [How can I connect to Android with ADB over TCP?](http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp) – Rfelix Mar 15 '17 at 05:56
2 Answers
1
Mobile apps usually don't connect to a database directly but do crud operations through an api like a webservice.

Bunnynut
- 1,156
- 5
- 14
- 37
-
-
A webservice is an intermediate service which handles requests done by for example mobile apps to do crud operations (Create, Read, Update and Delete) on the database. https://en.wikipedia.org/wiki/Web_service That way so don't have to publish an update of your app when the connectionstring to your database changes, you can just change your webservice. Or when the structure of your database changes you could change your webservice to implement these changes without having to change and republish your mobile app. Also you should avoid having a connectionstring in your mobile app. – Bunnynut Mar 13 '17 at 12:03
1
So just create web_services and get data like normal https request in android app then handle received data with android apps logic

Rfelix
- 57
- 1
- 11

Meena Pintu
- 162
- 1
- 9