How to Cache Json data to be available offline?
I have parsed the JSON Data in a listview and now I want to make it available offline. Is there a way to save the JSON data at the phone so that you can see the data if your phone is offline? Does someone knows an example? EDIT works now: public class MainActivity extends ListActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); new TheTask().execute(); } class TheTask extends AsyncTask<Void, Void, JSONArray> { InputStream is = null; String result = ""; JSONArray jArray = null; ProgressDialog pd; @Override protected void onPostExecute