Display text in textview and save it in cach : How can I display text ( title and message) in textview and save it in chach 
Thanks for all

    public class sev_data extends IntentService { public static boolean ServiceIsRun = false; public sev_data() { super("Service"); } @Override protected void onHandleIntent(@Nullable Intent intent) { while (ServiceIsRun) { int id_s=0;//هنا رقم اخر رسلة وصلة التطبيق String url0 = "http://172.17.100.2/mham/sendapp.php?co>"+id_s;//رايط ملف الداتة من السيرفر String NewsData; try { URL url = new URL(url0); HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); InputStream in = new BufferedInputStream(urlConnection.getInputStream()); NewsData = Stream2String(in); in.close(); JSONObject jsonRootObject = new JSONObject(NewsData); JSONArray jsonArray = jsonRootObject.optJSONArray("date"); for (int i = 0; i < jsonArray.length(); i++) { JSONObject jsonObject = jsonArray.getJSONObject(i); String id= jsonObject.optString("id"); String title = jsonObject.optString("title"); String mess = jsonObject.optString("mess"); ///// هنا نهاية الموضوع دي اخر رسلة علي السيرفر } } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } catch (JSONException e) { Log.e("mmmm", "hhhhhhhh", e); } } } public String Stream2String(InputStream inputStream) { BufferedReader bureader = new BufferedReader(new InputStreamReader(inputStream)); String line; String Text = ""; try { while ((line = bureader.readLine()) != null) { Text += line; } } catch (Exception ex) { } return Text; } }