How to display data received from php as json in android xml layout



I have a json data received from php as



[{"name":"Daniel Bryan","img":"pictures\/smallest\/dierdrepic.jpg","username":"ricking2"},{"name":"Roshan HackerManiac Hacker","img":"pictures\/smallest\/belitapic.jpg","username":"ricking06"}]


Now i want to display them in the page for each user. can anybody show how to display or print them in the page.


format


image with src = img


name - username


I am not familiar with android and therefore dont know how to print them.


No comments:

Post a Comment