-1

I'am new to Android app development. I want to create a mobile application that has two entry fields. i.e: FirstName and LastName

and will input into MySQL database. Is there a basic source code example available to achieve something like this? how would i create something like this?

Thanks for your help guys.

Panama Jack
  • 24,158
  • 10
  • 63
  • 95
user3247335
  • 181
  • 2
  • 5
  • 16

1 Answers1

0

Android access to remote SQL database will explain to you why you dont want to connect a android device directly to a SQL server of any kind. It is a bad idea.

Go do some research on how to create either a SOAP or REST service and how to consume them in Android. Here is a article on REST and here is a article on SOAP.

Once you can create web services either SOAP or REST then any device can use your service not just android.

There is some great way to generate web services for this example by using Netbeans and Eclipse. Here is a great Netbeans tutorial to get you started.

Community
  • 1
  • 1
Namphibian
  • 12,046
  • 7
  • 46
  • 76