-1

I am creating an android application from one week but I am not able to succeed.

I searched in google and in many other forum but I am not getting the server connection.

If any one knows how to connect server then please explain me with simple code.

Thanks in Advance...

Praveen
  • 9
  • 1
  • 5

3 Answers3

1

Using Web Services

Community
  • 1
  • 1
Nirav Ranpara
  • 13,753
  • 3
  • 39
  • 54
1

You don't connect directly to the ddbb, instead, you should create a webservice with your preferred server language (c#, php, etc) which will handle the ddbb connection and business logic, passing the data to the android application using SOAP or JSON.

Oscar
  • 13,594
  • 8
  • 47
  • 75
0

I once had the same problem and found the following link, it helped me much, BUT later i realized, that you should not do it at all, and should use an easy to create web service.

how ever if you want to make your own experience take this link: MySql via Android

Netzmensch
  • 111
  • 1
  • 7