[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
On 9 авг, 19:30, Kostya Vasilyev wrote: > In Eclipse, right-click on the project... Select Properties... Then Java > Build Path and finally Libraries. Is the .jar there? Yes, JAR present in Libraries tab -- You received this message because you are subscribed to the Google Groups "Android Devel

Re: [android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Kostya Vasilyev
In Eclipse, right-click on the project... Select Properties... Then Java Build Path and finally Libraries. Is the .jar there? 09.08.2011 20:25, alexbruy пишет: Sorry, in the /org/postgresql/ On 9 авг, 16:21, Carl Lee wrote: In the root folder? I think it should be in /org/postgresql/Driver.c

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
Sorry, in the /org/postgresql/ On 9 авг, 16:21, Carl Lee wrote: > In the root folder? > I think it should be in /org/postgresql/Driver.class, shouldn't it? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Carl Lee
In the root folder? I think it should be in /org/postgresql/Driver.class, shouldn't it? On Aug 9, 7:09 pm, alexbruy wrote: > On 9 авг, 12:00, Carl Lee wrote: > > > You may want to check the .jar file you included in you .classpath , > > make sure you have Driver.class in it, so the reflection >

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
On 9 авг, 12:00, Carl Lee wrote: > 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 indirect

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Carl Lee
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

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread alexbruy
Hi, On 9 авг, 10:48, Calin Perebiceanu 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 d

[android-developers] Re: Accessing PostGIS database from Android

2011-08-09 Thread Calin Perebiceanu
You're missing a try catch for java.lang.ClassNotFoundException. On Aug 8, 9:05 pm, alexbruy wrote: > Hi all, > > I'm new to Android development and Java. Now I'm work on application > that should interact with PostgreSQL (to be exact PostGIS) database. I > read "Android & PostgreSQL" presentatio