Skip to content Skip to sidebar Skip to footer

Storing Videos In Sqlite In Android?

I'm creating an application for android which is a 3D inside navigation system of a certain building the has a feature that allows the user to enter a location and destination (e.g

Solution 1:

You don't store the video in your sqlite database. Storing binary data in you database will lead to super bad performance. Common practice is to simply store the filepath to the video in your database. Then when you do a query, use the filepath to load the videos as needed.

Solution 2:

I think you have to consider using a remote storage and stream the video in, when it's needed. You may also take a look at: HTML5 video element

Post a Comment for "Storing Videos In Sqlite In Android?"