Wednesday, December 7, 2011

Re: [android-developers] How to add a database greater 1MB in assets or internal storage

On Wed, Dec 7, 2011 at 8:04 PM, fatmabeyza <fatmabeyza@gmail.com> wrote:
> I have a video database sizes 16MB. After i put this database in
> assets folder i learnt that  it must be less than 1MB. So What can I
> do?
>
> I read the divide method but i think it is not good method for videos.

Why are you storing videos in a database? Why are you not storing
videos as ordinary files?

> Or How can I use internal or external storage?

http://developer.android.com/guide/topics/data/data-storage.html

> How can I install my
> own database file and how can I call the data from it?

You could try:

https://github.com/jgilfelt/android-sqlite-asset-helper

Note that I have not tried this yet.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 4.1 Available!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate