How do I access a MySQL database formed by a Django website through Android?
-
I have a Django based website.While developing the site it formed its own MySQL database. Now I am developing an Android app which will access those external database and tables and display data in the app by reading from these tables.How do I go about this? Does Django formed MySQL databases behave exactly like other normal exposed MySQL databases? I want to use web services(PHP scripts) for this.Will that work? Databases should return JSON data from databases and I will parse them in my android application.
-
Answer:
You want to expose JSON APIs from your django app itself I think. Look into using Django-rest-framework or tastypie and see if they meet your needs.
Sumit Chachra at Quora Visit the source
Related Q & A:
- How do I convert a PDF file to PDF/A in Delphi?Best solution by softwarerecs.stackexchange.com
- How do I send a message from yahoo to a cell phone?Best solution by Yahoo! Answers
- How do I upload a picture instead of using a generic avatar?Best solution by answers.yahoo.com
- How do I access a Yahoo group archive?Best solution by Yahoo! Answers
- How do I access my outlook express email from a different computer?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.