Writing to database

Andy Joness

Greenhorn

Posts: 24

posted 5 years ago

I have an external Sql database which I need to send data to from an app I'm making. All tutorials I've found use php + mysql, which I'm not familiar with. I assume it is possible, however I need some help getting started. Cheers

Hardik Trivedi

Ranch Hand

Posts: 252

posted 5 years ago

Use Webservices.
Android has classes for Post and Get request.
Let me give you some idea..

This will send data to your server.Handle it your way from server side.

Andy Joness

Greenhorn

Posts: 24

posted 5 years ago

I figured it out yesterday. I wrote a web service using .net and I've connected to it using the ksoap package in Android. I then pass in some arguments which form the query and then write to database. Once I realised I had to set the service up as an application with IIS it was all working fine.

Suzzane Pinto

Ranch Hand

Posts: 214

posted 4 years ago

hi andy,

can you please tell how did you consume webservices which are in.NET.
how about sharing some tutorials if any?
evn im trying to develop an app which wants to write into the database