i create a array in my php file
$array = array();
$array = array();
and give it value and encode it by json like this :
json_encode($array);
`json_encode($array)`;
this is my output :
[
"1",
"notification 1",
"hello",
"first notification",
"2015年07月23日",
"2015年07月30日",
"www.google.com",
"2",
"notification 2",
"hello2",
"second notification",
"2015年07月23日",
"2015年07月28日",
"www.yahoo.com"
]
how can i parse it in android
i want a array in android
plz help me
i create a array in my php file
$array = array();
and give it value and encode it by json like this :
json_encode($array);
this is my output :
[
"1",
"notification 1",
"hello",
"first notification",
"2015年07月23日",
"2015年07月30日",
"www.google.com",
"2",
"notification 2",
"hello2",
"second notification",
"2015年07月23日",
"2015年07月28日",
"www.yahoo.com"
]
how can i parse it in android
i want a array in android
plz help me
i create a array in my php file
$array = array();
and give it value and encode it by json like this :
`json_encode($array)`;
this is my output :
[
"1",
"notification 1",
"hello",
"first notification",
"2015年07月23日",
"2015年07月30日",
"www.google.com",
"2",
"notification 2",
"hello2",
"second notification",
"2015年07月23日",
"2015年07月28日",
"www.yahoo.com"
]
how can i parse it in android
i want a array in android
plz help me
android parse array Json to java array
thisi create a array in my jsonphp file
i want directly send json to my$array = array in android();
but i dont want i dont use fromand give it value and encode it by json like this code:
JSONArray cast = jsonResponse.getJSONArray("i dont have any name for this");plz helpthis is my output :
[
["1""1", "notification 1", "breif notification 1""hello", "complete notification"first 1"notification", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "breif notification 2""hello2", "complete notification"second 2"notification", "2015年07月23日", "2015年07月28日", "www.yahoo.com", "3", "notification3", "breif3", "a arze salam va dorod faravan helooooo", "2015年08月08日", "0000-00-00", "www.exampleyahoo.com", "4", "notification4", "sada", "fasd", "2015年08月08日", "0000-00-00", "das", "5", "aada", "dasda", "das", "2015年08月08日", "2015年08月29日", "dasd"]
]
how can i parse it in android
i want a array in android
plz help me
android parse array Json to java array
this in my json
i want directly send json to my array in android
but i dont want i dont use from this code
JSONArray cast = jsonResponse.getJSONArray("i dont have any name for this");plz help
["1", "notification 1", "breif notification 1", "complete notification 1", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "breif notification 2", "complete notification 2", "2015年07月23日", "2015年07月28日", "www.yahoo.com", "3", "notification3", "breif3", "a arze salam va dorod faravan helooooo", "2015年08月08日", "0000-00-00", "www.example.com", "4", "notification4", "sada", "fasd", "2015年08月08日", "0000-00-00", "das", "5", "aada", "dasda", "das", "2015年08月08日", "2015年08月29日", "dasd"]
android parse array Json to java
i create a array in my php file
$array = array();
and give it value and encode it by json like this :
json_encode($array);
this is my output :
[
"1", "notification 1", "hello", "first notification", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "hello2", "second notification", "2015年07月23日", "2015年07月28日", "www.yahoo.com"
]
how can i parse it in android
i want a array in android
plz help me
android parse array Json to java array
this in my json
i want directly send json to my array in android
but i dont want i dont use from this code
JSONArray cast = jsonResponse.getJSONArray("i dont have any name for this");plz help
["1", "notification 1", "breif notification 1", "complete notification 1", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "breif notification 2", "complete notification 2", "2015年07月23日", "2015年07月28日", "www.yahoo.com", "3", "notification3", "breif3", "a arze salam va dorod faravan helooooo", "2015年08月08日", "0000-00-00", "www.example.com", "4", "notification4", "sada", "fasd", "2015年08月08日", "0000-00-00", "das", "5", "aada", "dasda", "das", "2015年08月08日", "2015年08月29日", "dasd"]
android parse array Json
this in my json
i want directly send json to my array in android
but i dont want
plz help
["1", "notification 1", "breif notification 1", "complete notification 1", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "breif notification 2", "complete notification 2", "2015年07月23日", "2015年07月28日", "www.yahoo.com", "3", "notification3", "breif3", "a arze salam va dorod faravan helooooo", "2015年08月08日", "0000-00-00", "www.example.com", "4", "notification4", "sada", "fasd", "2015年08月08日", "0000-00-00", "das", "5", "aada", "dasda", "das", "2015年08月08日", "2015年08月29日", "dasd"]
android parse array Json to java array
this in my json
i want directly send json to my array in android
but i dont want i dont use from this code
JSONArray cast = jsonResponse.getJSONArray("i dont have any name for this");plz help
["1", "notification 1", "breif notification 1", "complete notification 1", "2015年07月23日", "2015年07月30日", "www.google.com", "2", "notification 2", "breif notification 2", "complete notification 2", "2015年07月23日", "2015年07月28日", "www.yahoo.com", "3", "notification3", "breif3", "a arze salam va dorod faravan helooooo", "2015年08月08日", "0000-00-00", "www.example.com", "4", "notification4", "sada", "fasd", "2015年08月08日", "0000-00-00", "das", "5", "aada", "dasda", "das", "2015年08月08日", "2015年08月29日", "dasd"]