saving a json file to internal memory
hey there guys and girls i have this code that should download a json object and then save it to internal memory, i keep getting stuck here try{ //connects to mySQL HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost("http://10.0.2.2/textures_story_list.php"); HttpResponse response = client.execute(post); //captures the response entity = response.getEntity(); }catch(Exception e) { Log.e("log_tag", "Error in http connection "+e.toString()); } try{ is = entity.getContent(); String FILENAME = "story.json"; //gives file name FileOutputStream output = openFileOutput(FILENAME,