tags:

views:

52

answers:

1

Hi all,

i developed one app it is displaying image and play audio along with the image.for this application i want to get images and audio files from remote server and store those on inside apk

1) i heard about sqllite in mobile.is this database hold image,mp3 files 2) i dont want to store images sd card

Thanks in adavance

Aswan

+1  A: 

Yes you can store images and audio files in sqlite as a BLOB format. You can check these links to find how it is being done

http://www.tutorialforandroid.com/2009/10/how-to-insert-image-data-to-sqlite.html

http://www.anddev.org/png_image_--und-gt_sqlite_db_--und-gt_imageview-t7188.html

Though some people store images on sqlite not many store audio files there. It is always better to read it from a local file(somewhere in ur SDCard or Internal m/y) than from a database.

Rahul