I'm working in the Django backend of an audio guide for tourism with mobile devices. Basically, the client (Phonegap app for Android and iOS) can follow a route over a map (Leaflet client) and see images or listen audio files in certain points of the route. Now, I want to provide offline service. So, the client can choose a route and download it, meaning download all the POIs, including images an audio files.
Of course, I can send the coordinates of the POIs in a json, or a gpx file. But what concerns me is the audio files and the images. Some random thoughts:
- The devices can store the coordinates in SQLite, and the audio files and images in the SD card
- Store the audio files and images as BLOBs in SQLite is not an option, because some files can be really big (like 100MB)
- My first approach is to create a JSON with the coordinate points and the name of the files related with them, and compress it along with the mp3 and images. Then, send that zipped file to the clients. Sounds... gross.
Is there any recommended way to do this? Send geolocated audio and images, basically.