/mastermobiledemo

Android Demo for students

Primary LanguageJava

mastermobiledemo

Android Demo for students

Build updates (Monday, 18:00) Added additional activity showing details of movie selected Movie is now shown in a table You are expected to add more details to the table and to style it

Build Updates (Sunday, 14:00) The original json feed has been reduced to 10 movies for speed of loading

A progress dialog has been added to illustrate code being loaded

Note ListView is being populated in the onPostExecute

This may not work on an emulator - you probably need a device

All Log messages start with Movie so you can filter the result

Clicking on List will show a toast with the title of the movie

Useful links ListViews https://dev.to/chrisvasqm/getting-intimate-with-listview-in-android-2336 https://appsandbiscuits.com/listview-tutorial-android-12-ccef4ead27cc http://adblogcat.com/parse-json-data-from-a-web-server-and-display-on-listview/

Async and ListView http://android-er.blogspot.ie/2010/07/load-listview-in-background-asynctask.html

Intents - Parcelling https://www.techjini.com/blog/passing-objects-via-intent-in-android/ https://stackoverflow.com/questions/2736389/how-to-pass-an-object-from-one-activity-to-another-on-android

Tables https://code.tutsplus.com/tutorials/android-user-interface-design-table-layouts--mobile-4788

ArrayAdapters https://stackoverflow.com/questions/11218173/how-do-i-pass-multiple-items-into-an-arrayadapter

Adding Sub Items to a List View https://stackoverflow.com/questions/20320794/how-to-add-a-sub-item-in-android-listview https://stackoverflow.com/questions/11256563/how-to-set-both-lines-of-a-listview-using-simple-list-item-2

Retrieving Text Views in Activities https://stackoverflow.com/questions/6761366/could-not-find-a-textview-by-calling-findviewbyid-method

JSON Parsing https://stackoverflow.com/questions/19197015/android-parse-json-array-of-strings

FragmentActivity https://stackoverflow.com/questions/22880585/android-fragmentactivity-with-listview-from-json-data