I can tell, that I did it the other way around - reading a phone-generated
database on my desktop.
How big is the database? Did you try to create an empty database (or a
database with a minimum set of data) and read it on the phone?

/ Mads

On Fri, Feb 20, 2009 at 2:55 PM, Billy Bob <billybob5...@gmail.com> wrote:

>
> Hi,
>
>  I'm creating a sqlite3 database on a linux box. This db is valid on
> the box, I can select and all... When I download the file on the phone
> (emulator in my case), and try to read it with an SQLiteDatabase, any
> request will raise an exception 'invalid file'. I've checked the file
> is not corrupted, same md5 on the phone and on the linux box. Also,
> the file is found by the OpenHelper object cause I had the filename
> wrong at start and it would fail much earlier in the program.
>
>  Is there any differences between sqlite3 on android and the regular
> PC version?
>
>  Thanks for your answers.
>
> BB
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to