I am building an android app that needs to download and synchronise with an online database, I am sending my query from the app to a php page which returns the relevant rows
I have done it two different ways,
1.) make a Map
HashMap applicationSettings = new HashMap(); for(int i=0; i
2.) make a JSONArray of names
JSONArray names = json.names(); JSONArray values = json.toJSONArray(names); for(int i=0; i