Note that there are some explanatory texts on larger screens.

plurals
  1. POFetching associated city data from webserver to device
    primarykey
    data
    text
    <p>I know there are hundreds of questions about this, but I need to get an answer to all these questions.</p> <p><strong>Summary of my application (not my question):</strong> An application which has a map where it creates numerous markers (points of interest). When the user walks into the marker, it fires the information about that place. That information consists in the title of the place, slideshow using images from sdcard, some audio (with controls) and a small text description. <br /><br /><br /> <strong>Now my big question:</strong> I need to create the best way to download all this data to my device! <br /><br /><br /> I thought of downloading all the database using an XML file created by PHP.<br /> Why I think this won't work the way I want.<br /> I need to filter the information I want the user to download.<br /><br /> Well, the user just needs to Tick the information he wants to download, for example a couple of cities that have information.<br /><br /></p> <p>For this, I thought of creating an dialog like this<br /><br /> <img src="https://i.stack.imgur.com/YRJ5g.png" alt="Multiple select"></p> <p>After the user selects the cities he wants, the application must receive the information according to cities selected.<br /><br /> I'm here trying to find an answer for the best way of doing this.<br /><br /></p> <p>All I have is an MySQL Database with the following structure:<br /> <code>id | name | radius | coords</code><br /><br /></p> <p>I think by adding an column regarding the city it is associated will workout.<br /><br /></p> <p>Regarding the information data, it will have the following folder structure:<br /> <code>/sdcard/{app_name}/{id_of_the_point}/{.jpg/.mp3/.txt}</code><br /><br /></p> <p>For the sdcard, I compress all this information in a zip and thought of downloading it to the device and extract it somewhere in the sdcard.<br /><br /></p> <p>Posting all the information, I need you guys to give me the best practice of doing this!<br /><br /></p> <p>Thanks in advance!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload