I think you have to connect MySQL via PHP as backend with HTTP requests and JSON parameters to send and receive data from/to database.
On Fri, Aug 10, 2012 at 10:41 AM, Fabien R <theedge...@free.fr> wrote: > On 03/08/2012 17:05, Andrey Shloma wrote: > > Now i user mysql-connector-java-5.1.21-bin.jar library > > And try next code: > > > This is not the way to connect to database on android. > You have to send http requests to a web service. > - > Fabien > > -- > 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 > -- 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