thanks. now i clear the classnotfoundexception. i got exception like java.sql.SQLException:no sutiable drive
On Feb 10, 7:35 am, David Turner <di...@android.com> wrote: > Ah sorry, the java.lang.ClassNotFoundException is a different thing. You may > be missing a .jar file when generating your project. > > On Tue, Feb 9, 2010 at 6:34 PM, David Turner <di...@android.com> wrote: > > Replace localhost with 10.0.2.2 and you should be all set. > > > See > >http://developer.android.com/guide/developing/tools/emulator.html#emu... > > > On Tue, Feb 9, 2010 at 1:57 AM, saravanan p <saravanan6...@gmail.com>wrote: > > >> Hi > > >> I am new to android development. How to connect mysql > >> server from our android emulator. I am using > > >> private String url = "jdbc:mysql://localhost:3306/"; > > >> dbname =test; > > >> username = ""; > > >> password = ""; > > >> Class.forName("com.mysql.jdbc.Driver"); > > >> Connection con = DriverManager.getConnection(url+dbName, > >> username, password); > > >> But I got the exception java.lang.ClassNotFoundException: > >> com.mysql.jdbc.Driver > > >> Please tell me the solution for this proplem. > > >> Thanks > > >> P.saravanan > > >> -- > >> 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<android-developers%2bunsubscr...@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