By external MySQL database do you mean it's on an external server?
If so, my preferred method is using HttpClient in Android, and a PHP webservice on the server to insert it into the database.
There are many options, so if you explain exactly what your situation is we can give better advice.
Brad. On 29/06/2010 9:42 AM, gabri wrote:
Hi everyone, I need help connecting my aplication to an EXTERNAL MYSQL DataBase. What I have to do in this app is sending an image.jpg file and some strings so they are inserted in the DB. I've been googling around and found some info about that but I still have nothing clear in what possibility to use and how to use it. I've understood that i can't use sqlite as it is an external DB is this correct. This are the 2 possibilities I'm looking at the moment: - Using php files to send the data and connect from there to the DB. Using httprequest httpuploadFile, etc... - Using Rest or Soap Webservices. Any other sugegestion will be kindly accepted. Please give your opinion and give also examples on how to use any of the solutions. Yhanks everyone in Advance. Gabriel
-- Sincerely, Brad Gies ----------------------------------------------------------------------- Bistro Bot - Bistro Blurb http://www.bgies.com http://www.bistroblurb.com http://www.ihottonight.com ----------------------------------------------------------------------- Never doubt that a small group of thoughtful, committed people can change the world. Indeed. It is the only thing that ever has - Margaret Mead -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

