0

How to connect MYSQL DataBase from android application without php script ?

I was tried using JDBC CONNECTOR . But unable to build the project . Can anyone tell me , what is the best steps for to connect MYSQL Database from android application .

1

2 Answers 2

4

web service is simply some code on the internet (web) which allows you to receive and send information to a server, where it is saved per example in a database.

PHP is just a language, in which you can write a web service.

You can use array of languages to create a web service ( read: expose your database) to other devices. Among others, you can easily do this in Java, .NET, Python ...

If you're looking for a way to connect to an external database without any web service / API in between, i'll have to disappoint you with the news that this is not supported by Android.

Most examples of a simple web service / a bunch of scripts contain PHP since this is probably the easiest and can be used on pretty much any server.

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

Comments

-1

This should help. How to connect Android with PHP to MySQL

http://berthojoris.com/menu/blog/artikel/How-to-connect-Android-with-PHP-MySQL.aspx

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.