This question has been deleted and is no more available to answer.
2
I am new to android. I am using android JSONArray. How can i get a specific index value from JSONArray in android?

Share using link:

Direct share:

Nov 29 at 23:47:11
Abdul
Abdul
192

2 Answers

1
Its easy what you are looking for:

For example you have the following array:

JSONArray myArray = new JSONArray(...);

to get the value from this array use:

myArray.get(index);

You can learn further about JSONArray here.

Cheers!!!
Nov 29 at 23:52:17
Alex
Alex
291

Exactly what i was looking for. Thanks alex!!!Abdul Hanif Nov 29 at 23:53:10

1
Your answer is here Android JSONArray.
Nov 29 at 23:55:3
Muhammadbilal
Muhammadbilal
85

thanks i already visit that link. Glad you shareAbdul Hanif Nov 29 at 23:55:38

Asked
11 days ago
Viewed
17 times