0

Hi I have a business directory powered by WordPress, I need an Android application that is able to use my WordPress database to search for business address and phone using an android smartphone. What is the best approach?

Sorry if my question is not clear, but I hope you understand. Thanks.

1 Answer 1

1

One of the most common solutions is to build a webservice in which you interact with the database, as the database isn't a local database. After this you can make request to the webservice to get the information from the database to the Android phone.

A bunch of tutorials for this already exists, and here are some:

http://www.helloandroid.com/tutorials/connecting-mysql-database

http://www.androidhive.info/2012/05/how-to-connect-android-with-php-mysql/

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

3 Comments

Thanks mate, I will check this out. I am planning to do a native android app with phonegap searching in my wordpress database.
Ok, thank you, I was looking the tutorials, but I would like an app the could do queries in my database using search forms and things like this.
@user2295830 Android can unfortunately not connect directly to the remote database. So the second best option is to do the above.

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.