There are two examples of a simple JSON service that converts a text string into latitude and longitude.
Some updates are needed:
Google changed the API. I started to update it, but got lost in JSON and Google API fiddle, did not have time to Finish. Either parse the right fields from google or replace with a different simple JSON service.
The apps were created quickly, live in a training, using Netbeans drag-and-drop UI. Combining both apps into a simple Eclipse-friendly Form UI would be much more clear for "this is how easy JSON is, result1 is parsed but gets from sever every time, result2 is not parsed so you get the cached result if you have previous searched for this address"
If time permits, it is nice to demonstract in this app the offline AJAX-style live update from cache as you type. Each key press in the Form input field can trigger a StaticWebCache.getAsync(currentTextFieldText.trim(), StaticWebCache.GET_LOCAL) which updates the field with any cached values which match, before you click a SEARCH button. PicasaViewer has a more complex version of this on a Canvas UI, but Form is more accessible.
There are two examples of a simple JSON service that converts a text string into latitude and longitude.
Some updates are needed:
If time permits, it is nice to demonstract in this app the offline AJAX-style live update from cache as you type. Each key press in the Form input field can trigger a StaticWebCache.getAsync(currentTextFieldText.trim(), StaticWebCache.GET_LOCAL) which updates the field with any cached values which match, before you click a SEARCH button. PicasaViewer has a more complex version of this on a Canvas UI, but Form is more accessible.