You may want to check the .jar file you included in you .classpath , make sure you have Driver.class in it, so the reflection method( that's "Class.forname('org.postgresql.Driver')",which is obviously used in your ReportActivity somehow directly or indirectly) will work correctly in your code.
On Aug 9, 4:24 pm, alexbruy <alexander.b...@gmail.com> wrote: > Hi, > > On 9 авг, 10:48, Calin Perebiceanu <calin.perebice...@gmail.com> > wrote: > > > You're missing a try catch for java.lang.ClassNotFoundException. > > May be I'm unclear. I can catch this exception but as I understand, > this exception occurs because driver can't be loaded. > So I want to know how I can add postgresql and postgis JDBC > drivers into my project and use them. Playing with «Add JAR», > «Add external JAR» in Eclipse and with .classpath file didn't helps. > > Thanks, > Alex -- 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