Android: Load JSON-Fille from "raw" directory -
i have jet problem project. display panoramas in application i'm using panoramagl lib. library use json-file, provides settings, how displayed. want let user change of settings, accelerometer rotation , on. need access these values in json-file. , part, i'm struggling.
the file in raw folder , panoramagl i'm passing value like: "res://raw/json_k55".
context context = this.getapplicationcontext(); pano = getintent().getextras().getstring("pano"); panorama = new pljsonloader(pano); if(panorama!=null) this.load(panorama, true, new pltransitionblend(2.0f)); } since i'm not using actual http-request or getressource(), don't know, how objects of file changed, example on button click. json-file here: json_k55
Comments
Post a Comment