how to connect asp.net and android app and send/ recive data
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Manoj BhoirRank #599 · 4K reputationPosted Aug 8, 2015, 6:56 AM EDT
0
Hi,
You can connect your Android Application with your Database for Different Database Operations like Select, Insert, Update and Delete using ASP.Net Web Services or WCF (Windows Communication Foundation) Services. You can not directly connect your Android Application with Database.
Here we have two applications (Asp.net & Android) and one central database(same database for web and mobile app). Asp.net application will provide you the services(either web services/wcf/rest ful) to insert/update/delete/Select data from database. from your android appliction you can consume that services to perform operations like insert/update/delete/select.
Assume if your android app wants to do some operations(insert/update/delete/select) in offline mode(i.e. no internet connection) the you can create your local database( using SQL lite) and stor the data in your local and whenever internet is available sync your local data with Server database (these synching process has to do automatically).
First analyse your app requirement, is your data should sync with server database or not.
I hope it will give some idea to your query, If youlike my answer please accept it.
Manoj BhoirRank #599 · 4K reputationPosted Aug 8, 2015, 6:56 AM EDT
Narasimha Reddy ChennupalliRank #1,163 · 1.6K reputationPosted Aug 10, 2015, 11:39 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts