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 lecture hall to office#xxx) and I’ve done the 3D view of the building in 3Ds max and stored as video file so I was wondering about how I can store all these videos in sqlite? and displaying them when the user search for them? I’m quite confused if I’m doing the right thing by storing them in a database or is there another easier way?
I’m creating an application for android which is a 3D inside navigation system of
Share
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.