Virtual+Map+Tour




 * This lesson will cover**
 * Variables
 * Lists


 * Mobile features**
 * Touch interface
 * Working with lists
 * Linking to external services

In this example, we’re going to create a guided tour that links in to Google Maps. When the user clicks the “Explore Edinburgh” button, they will be presented with a list of popular sightseeing destinations within the city, each of which will bring up that location in the phone’s Maps app. The user will then tap the phone’s Back button to return to the Tour app.
 * Introduction**



This app makes use of the **ActivityStarter** component (**Other stuff→ActivityStarter**) which enables one app to start up other apps. In this case, our app will start up the Maps app on the phone.
 * Note that you must enter the properties for the ActivityStarter __exactly__ as shown (including upper/lower case letters).**

//**Task 2: Designing the solution**// Let’s consider the main steps we need to code our Virtual Map Tour. The app will let users pick a location from a list and display that location in the Maps app.

There are **two** main stages: > (one for place names and one for corresponding map references)
 * setting up the lists
 * launch Maps with location chosen from the lists

//**Algorithm**//
//Try creating a code by using the following algorithm. There is a screencast in the shared area if you get stuck.//

create variable containing a list of place names create variable containing a list of map references note the position of the chosen location in the place names list open maps with the URI in the corresponding position in the locations list
 * Set up the lists**
 * Display the map**



Alter your app to create a similar map tour for your own area. Remember – you can use Google’s Street View to get up close!
 * Extension 1**

Open up the following document for the extension activity that looks at a live readout of your current location.
 * Extension 2 - Location Aware**