INQ241B
Mobile Apps

Activity 7

Extend the Tour App

  1. Textual descriptions are great, but sometimes pictures can convey more. Add images to the tour app. Do this using only one Image component. Upload an image for each destination the user can choose. Put the image file names in a list and set the image component's Picture property when the user chooses a destination.

  2. Once the user has choosen where they would like to go, it would be helpful to give the user directions. Add a button to the app that when pressed opens the maps app and shows directions from the current location to the selected destination. Do this using only one Button component.

    Use a list to store the latitude and logitude of each destination. To find the latitude and longitude of a location in Google Maps, right click on a location and choose "What's here?". The search bar will display the latitude and longitude for where you clicked. Set the DataUri property of an ActivityStarter component and start the activity when the user chooses a destination.