Download Tutorial22.tarThis tutorial builds on tutorial 21. We take our JSON result array to build an ArrayList with our custom class, rather than a String. This allows us to do more useful things with the structured data our remote url returns to our application. We also bring back our ArrayAdapter and ViewHolder technique, with a slight modification to work with our new ArrayList.
Download Tutorial21.tarThis tutorial is our first tutorial that deals JSON handling in an Android application. We pull a json encoded array from a URL, and display it in our textview, using the JSONArray and JSONOBject Classes. This tutorial is very similar to 20, as we use the same basic series of classes to get our data from the internet.
Download Tutorial20.tarThis tutorial is our first tutorial that deals with accessing information over the internet. This tutorial creates an activity with a single textview, the uses a series of classes to make a request from a URL, and then display the contents of that URL in our TextView.