I am curious why you would need to store 4GB or more of data on a phone?
That's a whopping large bit of data for a phone device? Perhaps you should
consider using a server side component for the majority of data, make use of
it when possible and store immediate need stuff on the device? Furthermore..
I sure hope you can specify storing SQLlite db to the SD Card? That would be
insane to be stuck with the same 256MB ram for app storage as the sqlite db
space too.

On Tue, Jan 12, 2010 at 8:30 PM, Kumar Bibek <coomar....@gmail.com> wrote:

> As far as I know, till you have space left in the storage(phone/
> sdcard), you should be able to extend the DB. I don't exactly know how
> SQLite works for large dbs.
>
> I have never run out of space with my apps. But It's an interesting
> question though. I would like to know more about it.
>
> Kumar Bibek
> http://tech-droid.blogspot.com
>
> On Jan 13, 3:43 am, Arhimed <vitaliy.khude...@gmail.com> wrote:
> > 1) Our Android app will store data in a built-in SQLite DB.
> >
> > I see the DB can throw android.database.sqlite.SQLiteFullException,
> > but there's no exact info in API what is the limit.
> >
> > Could anyone tell what are the size limits for a DB in order not to
> > get into the SQLiteFullException?
> >
> > I assume DB will store data in device's internal storage (versus
> > SDCard). Am I right?
> > Given SQLite DB is just a file, probably the DB size is limited with
> > free internal storage space. Again - Am I right? If yes, then what is
> > the internal storage size on Android? How to detect it? Does it vary
> > on a device model basis or OS version basis?
> >
> > 2) We'll also need to save app settings. I think SharedPreferences
> > will fit nicely. However the question is - are SharedPreferences saved
> > to the internal storage too? If yes, then is it the same storage where
> > the DB stores its file?
> >
> > Thanks in advance!
>
> --
> 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

Reply via email to