-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
  • 15,268
  • 4
  • 40
  • 57
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
  • 12,656
  • 7
  • 38
  • 62
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

18thAngel
  • 51
  • 1
  • 6