-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.

3
  • How is this related to php? Commented Jan 29, 2014 at 5:25
  • stackoverflow.com/questions/10679588/… will explain to you some steps on how to achieve this. Commented Jan 29, 2014 at 5:55
  • please show us what you got so far ? Commented Jan 29, 2014 at 6:02

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.