Mobile: Plan for Thursday 5/3 (week 10) - and preparation

 

Teachers plan for the day

Prepare yourself by before lecture

- viewing following toturial this playlist: https://www.youtube.com/playlist?list=PL6gx4Cwl9DGBsvRxJJOzG4r4k_zLKrnxl

45, 46 (Simple ListView)
47 (Custom ListView Adapter)

 

- reading briefly about

Tutorial - simple ListView:  http://hmkcode.com/android-creating-simple-listview/ 
Tutorial – customer ListView: 
http://www.vogella.com/tutorials/AndroidListView/article.html#adapterown_example 
Tutorial – customer ListView and performance: 
http://www.vogella.com/tutorials/AndroidListView/article.html#adapterperformance 
Tutorial – Creating an Options Menu:
http://developer.android.com/guide/topics/ui/menus.html#options-menu

Example -  Android Asynchronous Http Client: http://loopj.com/android-async-http/
                  
http://stackoverflow.com/questions/4457492/how-do-i-use-the-simple-http-client-in-android

 

Extra useful tools for making interacting with webservices:

·         With WCF services (and ASMX) you can get the necessary data for SOAP call with WcfTestClient.exe you probably will find  here

-          "C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ WcfTestClient.exe"

·         Fidler is a usefull tool to show all what is sent and received on the http protocol: http://www.telerik.com/download/fiddler
You can use this tool for discover how to interact with a webservice, by using the service from other applications.

 

Ideas for small exercises:

External data to be used with web access

·        Webservices for retrieving data http://webservicedemo.datamatiker-skolen.dk/
Both with soap and REST call for JSON and XML

·        Webservice with geodata from Odense Municipality http://geodata.odense.dk/datatothepeople/ for retrieving JSON or XML data for fx parks and playgrounds.

·        Make an app, which can show a list of data retrieved from webservice – fx list of parks in Odense
When selecting an item show detail in another screen (activity)

 

 

More links about android

I have found this quite brilliant toturials that provides many concrete examples of use of various facilities:
http://www.vogella.com/tutorials/android.html 
http://www.vogella.com/tutorials/Android/article.html 
Fx Tutorial - more about ListView:    http://www.vogella.com/tutorials/AndroidListView/article.html 

 

Slides and examples from the lecture is accessible here: http://bjoerks.net/klasser/Mobile_2015_Foraar/materials/
In this lecture produced: