Re: [android-developers] Problem in Accessing 2.9 MB Database from Apps

2010-01-06 Thread Alessandro Pellizzari
Il giorno mar, 05/01/2010 alle 09.28 -0800, Vish ha scritto:

 I am Having 2.9 MB Database given by client. I know that Android don't
 Support data more than 1.1 MB So I Spilt DB into 3 Parts of 1.1 MB .

I had the same problem.
I provided a text file with the insert queries (one per line) in
res/raw, and, on first startup, populated a database.
This way you bypass the 1.1 MB limit (my DB is circa 3 MB, like yours).

I had to split the selects in two chunks (about 1000 each), because
decompressing them from the apk exceeded the allowed size.

Bye.


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

[android-developers] Problem in Accessing 2.9 MB Database from Apps

2010-01-05 Thread Vish
Hii All,

I am Having 2.9 MB Database given by client. I know that Android don't
Support data more than 1.1 MB So I Spilt DB into 3 Parts of 1.1 MB .
Now when I am going to Read these Database from my Apps then it is
Saying that Database Malformed and the Desired tables are not shown
there.So if Anyone has done work on this issue then please let me
know.Any suggestions will be AppreciatedAnd if there is some other
way, then please suggest me.Thanks


Regards:
Jeet
-- 
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