daily pastebin goal
15%
SHARE
TWEET

Untitled

a guest Jan 21st, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. JSONObject obj = new JSONObject();
  2. names.moveToFirst();
  3.             do {
  4.                 String name   = names.getString(indexName);
  5.                 //Log.e("Name new:", name);
  6.                 String number = names.getString(indexNumber);
  7.                 //Log.e("Number new:","::"+number);
  8.  
  9.                 obj.put(name, number);
  10.             } while (names.moveToNext());
  11.    
  12. {
  13.     "Jirsong Stdnt":"+919085445756",
  14.     "Nazrul ka":"+919855678023",
  15.     "Sofia Stdnt":"+919112310659"
  16. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top