android - What type of JSON parsing using volley I should use? -


i'm using volley , looking @ ( http://www.androidhive.info/2014/09/android-json-parsing-using-volley/ ) tutorial, don't know how make work. using objectjson, error says "it can't converted array" , if use arrayjson method doesn't found database elements. urljson - http://smkbaig.esy.es/get_info_test.php

your json following php link provided starts { , tutorial said, that's json object, followed array called "receptai".

if have followed tutorial correctly till end, should work using makejsonarrayrequest()

you need paste code here further.

what might want first follow tutorial way presented, , if responses successfully, start experimenting , changing. see using own json instead of coding both jsonarrays , jsonobjects , seeing both buttons functional.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -