You run the JSON through a JSON parser. There's one built in to the SDK if you look for it.
On Mar 20, 11:10 pm, acr <[email protected]> wrote: > Hi, > I have looked everywhere and feel like I am going in circles at this > point what I am trying to do seems simple enough.. I a, trying to take > json data parsed from my mysql server and send the info to an array > list in android. > > I can return the json strings with no problem, eg. > json_data.getString("username") gives me a username in string format, > but how do I put them into the a simple arraylist > > for example how can I plug this into.. > > setListAdapter(new ArrayAdapter<String>(this, > android.R.layout.simple_list_item_1, mStrings)); > getListView().setTextFilterEnabled(true); > } > > private String[] mStrings = { > "Abbaye de Belloc", "Abbaye du Mont des Cats"}; > > please help.. thanks, > Albert -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

