[android-developers] Android connection to MySQL database

2011-05-23 Thread Teunis Middelkoop
HTC Android 2.1  Eclipse with Android plugin.
The phone is via wifi connected to a LAN
How can I make a connection to a MySQL Server?
I only see examples with SQLite and that is a embedded on the phone.
Any suggestion is highly appreciated.
Thanks Teuns

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Android connection to MySQL database

2011-05-23 Thread Mark Murphy
On Sat, May 21, 2011 at 3:20 PM, Teunis Middelkoop middlec...@gmail.com wrote:
 HTC Android 2.1  Eclipse with Android plugin.
 The phone is via wifi connected to a LAN
 How can I make a connection to a MySQL Server?

Write a Web service for the MySQL server. Then, use HttpURLConnection
or HttpClient on Android to communicate with the Web service.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.6 Available!

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en