welcome to linkAR technical documentation

next previous

Downloading Data


In JsonDataParse.java we have

public static ArrayList<POI_Json> arrayListPoiJson = new ArrayList<POI_Json>();

The array list load the objects with the information of panoramio in startDownloadJsonData()

/*
* Get an url, download json string and parse information to create
* POI_Json's class.
* 
* @param String sourceUrl
* @param boolean original_size
* 
*/
public void startDownloadJsonData(String sourceUrl, boolean original_size) {
   ...
}

You can see how we use Panoramio API in the UpdateJsonData class