SlideShare a Scribd company logo
LOCATION AND MAPS API
IN WINDOWS PHONE 8
SPECIAL GUESTS: THE NOKIA HERE® LAUNCHERS
Windows Phone Day
November 2013 - Catania
Ing. Antonio Pelleriti
Chief Software Architect @ Dynamicode
follow me: @zetanove
www.antoniopelleriti.it
GRAZIE
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
AGENDA
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• Geo Location
• Background tracking
• Map control
• Offline maps
• Geocoding/Reverse geocoding
• Route calculation and display
• Nokia HERE Launchers
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
GEOLOCATION
GEO LOCATION SENSING TECHNOLOGIES
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• A-GPS
• Wi-Fi triangulation
• Cell Tower triangulation
accuracy
Power
consumptiom
GEOLOCATION ARCHITECTURE
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Managed layer:
Provides .NET API (Pinvoke
not allowed in Windows
Phone)
Native layer:
Communicates with hw layer to
determine location of device
Hardware layer:
Provides location information
Managed Code
Native Layer
GPS WIFI
Cellular
networks
LOCATION API
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• In Windows phone 7: GeoCoordinateWatcher  now deprecated
• In Windows phone 8: Geolocator
• Obtain one shot position:
• Geoposition GetGeopositionAsync
• Continuous location tracking
• event PositionChanged
• DesiredAccuracy, DesiredAccuracyInMeters, MovementThreshold
• event StatusChanged
• Disabled, Initializing, NoData, NotAvailable, NotInitialized, Ready
To enable location features: add ID_CAP_LOCATION in WMAppManifest.xml
Certification Requirement: check for user consent to using location api
BACKGROUND TRACKING (1/2)
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• WMAppManifest.xml
<DefaultTask Name="_default" NavigationPage="MainPage.xaml">
<BackgroundExecution>
<ExecutionType Name="LocationTracking" />
</BackgroundExecution>
</DefaultTask>
• App.xaml
<shell:PhoneApplicationService …
Activated="Application_Activated"
RunningInBackground="Application_RunningInBackground"/>
Setting app for background tracking
BACKGROUND TRACKING (2/2)
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• App.xaml.cs
private void Application_RunningInBackground(object sender,
RunningInBackgroundEventArgs args)
{
RunningInBackground = true;
// Suspend all unnecessary processing such as UI updates
}
private void Application_Activated (object sender, ActivatedEventArgs args)
{
RunningInBackground = false;
}
Setting app for background tracking
TESTING GEOLOCATION WITH EMULATOR
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
GEOLOCATION
DEMO
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
MAP CONTROL
MAP CONTROL
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• Bing map control now deprecated (only for upgrading)
• Map Control
• Content: markers, overlays, polylines, polygons, route
• Settings: color, map type, pedestrian, landmarks, heading, pitch, zoom
• Features: geocoding, reverse geocoding, routing
• Capability ID_CAP_MAP in WMAppManifest.xml
• Reference: Microsoft.Phone.Maps.Controls
• Obtain API Keys from Dev Center
MAPS API KEY
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
SET MAPS API KEY
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Set the ApplicationID and AuthenticationToken
private void map_Loaded(object sender, RoutedEventArgs e)
{
MapsSettings.ApplicationContext.ApplicationId = "id";
MapsSettings.ApplicationContext.AuthenticationToken = "token";
}
MAP CONTROL MEMBERS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• GeoCoordinate Center (GeoCoordinate !=Windows.Devices.Geolocation.Geocoordinate)
• ZoomLevel (1..20)
• LandmarksEnabled
• PedestrianFeaturesEnabled
• CartographicMode
• Road, Aerial, Hybrid, Terrain
• ColorMap
• Light/Dark
• Heading (0-360)
• Pitch (0-75)
• SetView and animations in C#
• MyMap.SetView(MyCoordinate, 16, MapAnimationKind.Parabolic);
MAPS BUILT-IN TASKS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Maps task
Launches the built-in Maps app and optionally marks a location.
Maps directions task
Launches the built-in Maps app and displays directions.
MapDownloader task
Downloads maps for offline use.
MapDownloaderTask mapDownloaderTask = new MapDownloaderTask();
mapDownloaderTask.Show();
MapUpdater task
Checks for updates for offline maps that the user has previously downloaded
MAP OVERLAY
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
MapOverlay overlay = new MapOverlay
{
GeoCoordinate = myMap.Center,
Content = new Ellipse
{
Fill = new SolidColorBrush(Colors.Red),
Width = 40,
Height = 40
}
};
MapLayer layer = new MapLayer();
layer.Add(overlay);
myMap.Layers.Add(layer);
GEOCODING/ROUTE CALCULATION
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• GeocodeQuery: converts a street address or place to a GeoCoordinate
• RouteQuery: finds the shortest path between two GeoCoordinate, with any number of
waypoints in between and using a TravelMode (walking, driving)
• ReverseGeocodeQuery: obtains address or place informations from a GeoCoordinate:
Continent, country, state, province, city, address, housenumber, building, postalcode, …
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
MAP DEMO
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
HERE
APPLICATIONS
NOKIA HERE APPLICATIONS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
• HERE Maps
• HERE Drive
• HERE Transit
• HERE City Lens
They works together and with launchers
you can use their features in your code!
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
HERE LAUNCHERS API
HERE LAUNCHERS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
The services provided by the HERE applications can be used in two ways:
• HERE Launchers API (Tasks)
• https://github.com/nokia-developer/here-launchers
• Uri Schemes implemented in HERE applications.
HERE LAUNCHERS API
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Launch HERE Maps to: Launch HERE Drive to: Launch HERE Transit to:
•Show route from user's current
location (default) or selected origin
to a destination.
•Search for places with a text
string.
•Explore places by categories.
•Show map of a selected location
with desired zoom level.
•Show place by ID or location on a
map.
•Provide drive guidance from user's
current location to a specific
destination.
•Show journeys from user's current
location (default) or selected origin
to a destination, either using
current time for departure (default)
or with desired departure or arrival
times.
using Nokia.Phone.HereLaunchers;
…
DirectionsRouteDestinationTask routeTo = new DirectionsRouteDestinationTask();
routeTo.Destination = new GeoCoordinate(60.35, 24.60);
routeTo.Mode = RouteMode.Car;
routeTo.Show();
URI SCHEME PROTOCOL FOR HERE APPS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Currently 5 URI schemes.
directions : for routing paths.
explore-maps : for exploring map and map services.
guidance-drive : for drive navigation.
guidance-walk : for walk navigation.
places : for showing places.
public-transit : for public transit related use cases.
Example: directions://v2.0/route/destination/?latlon=60.35,24.60&mode=car
http://developer.nokia.com/Resources/Library
/Lumia/#!maps-and-navigation/here-
launchers.html
https://github.com/nokia-developer/here-launchers
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
HERE LAUNCHERS
PROJECTS
© 2013 Nokia. All rights reserved.
© 2013 Microsoft. All rights reserved.
Grazie!

More Related Content

PDF
LUMIA APP LABS: HERE MAPS AND LOCATION APIS FOR WINDOWS PHONE
PPTX
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
PPTX
AR Foundation framework: product roadmap – Unite Copenhagen 2019
PDF
Persistent world-scale AR experiences with ARCore Cloud Anchors and AR Founda...
PPTX
Mobile VR, Programming, Rendering
PDF
ARM: Enhancing your Unity mobile VR experience
PPTX
XR graphics in Unity: delivering the best AR/VR experiences – Unite Copenhage...
PDF
MSI UI Software Design Report
LUMIA APP LABS: HERE MAPS AND LOCATION APIS FOR WINDOWS PHONE
Developing and optimizing a procedural game: The Elder Scrolls Blades- Unite ...
AR Foundation framework: product roadmap – Unite Copenhagen 2019
Persistent world-scale AR experiences with ARCore Cloud Anchors and AR Founda...
Mobile VR, Programming, Rendering
ARM: Enhancing your Unity mobile VR experience
XR graphics in Unity: delivering the best AR/VR experiences – Unite Copenhage...
MSI UI Software Design Report

Similar to Location and API Maps in Windows Phone 8 (20)

PDF
LUMIA APP LAB #16: HERE APPLICATION LAUNCHERS
PDF
MWC/ADC 2013 Mapping and Location for Windows Phone
PDF
HERE Maps for the Nokia X platform
PPTX
Windows Phone 8 - 15 Location and Maps
PDF
Developing Windows Phone Apps with Maps and Location Services
PDF
12.Maps and Location
PDF
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
PDF
Intro to apps with maps for series 40
PPTX
12 maps, geolocation, and geofencing
PDF
Windows phone 7 series
PPTX
Discovering the wp8 sdk
PDF
Advanced Maps on Apps for Series 40
PDF
How to Install HERE SDK for ANDROID
PPTX
MAD Unit 6.pptx
PDF
International Journal of Engineering Research and Development
PPT
How to start a turn-by-turn navigation to a destination from your Windows Pho...
PPTX
Location based services 10
PPTX
Zadar Developers Hub - Windows Phone Development
PPT
Android Rally: Google Maps with LBS
PDF
Windows phone 8 session 2
LUMIA APP LAB #16: HERE APPLICATION LAUNCHERS
MWC/ADC 2013 Mapping and Location for Windows Phone
HERE Maps for the Nokia X platform
Windows Phone 8 - 15 Location and Maps
Developing Windows Phone Apps with Maps and Location Services
12.Maps and Location
LUMIA APP LABS: WINDOWS PHONE 8 FOR NOKIA DEVELOPERS
Intro to apps with maps for series 40
12 maps, geolocation, and geofencing
Windows phone 7 series
Discovering the wp8 sdk
Advanced Maps on Apps for Series 40
How to Install HERE SDK for ANDROID
MAD Unit 6.pptx
International Journal of Engineering Research and Development
How to start a turn-by-turn navigation to a destination from your Windows Pho...
Location based services 10
Zadar Developers Hub - Windows Phone Development
Android Rally: Google Maps with LBS
Windows phone 8 session 2
Ad

Recently uploaded (20)

PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PDF
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PDF
How to Get Business Funding for Small Business Fast
PDF
How to Get Funding for Your Trucking Business
PDF
MSPs in 10 Words - Created by US MSP Network
PPTX
ICG2025_ICG 6th steering committee 30-8-24.pptx
PPTX
Belch_12e_PPT_Ch18_Accessible_university.pptx
PDF
Training And Development of Employee .pdf
PDF
IFRS Notes in your pocket for study all the time
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PPTX
Probability Distribution, binomial distribution, poisson distribution
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PDF
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PPTX
New Microsoft PowerPoint Presentation - Copy.pptx
PDF
Laughter Yoga Basic Learning Workshop Manual
DOCX
Business Management - unit 1 and 2
PDF
Unit 1 Cost Accounting - Cost sheet
Power and position in leadershipDOC-20250808-WA0011..pdf
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
How to Get Business Funding for Small Business Fast
How to Get Funding for Your Trucking Business
MSPs in 10 Words - Created by US MSP Network
ICG2025_ICG 6th steering committee 30-8-24.pptx
Belch_12e_PPT_Ch18_Accessible_university.pptx
Training And Development of Employee .pdf
IFRS Notes in your pocket for study all the time
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
Probability Distribution, binomial distribution, poisson distribution
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
Stem Cell Market Report | Trends, Growth & Forecast 2025-2034
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
New Microsoft PowerPoint Presentation - Copy.pptx
Laughter Yoga Basic Learning Workshop Manual
Business Management - unit 1 and 2
Unit 1 Cost Accounting - Cost sheet
Ad

Location and API Maps in Windows Phone 8

  • 1. LOCATION AND MAPS API IN WINDOWS PHONE 8 SPECIAL GUESTS: THE NOKIA HERE® LAUNCHERS Windows Phone Day November 2013 - Catania Ing. Antonio Pelleriti Chief Software Architect @ Dynamicode follow me: @zetanove www.antoniopelleriti.it
  • 2. GRAZIE © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved.
  • 3. AGENDA © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • Geo Location • Background tracking • Map control • Offline maps • Geocoding/Reverse geocoding • Route calculation and display • Nokia HERE Launchers
  • 4. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. GEOLOCATION
  • 5. GEO LOCATION SENSING TECHNOLOGIES © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • A-GPS • Wi-Fi triangulation • Cell Tower triangulation accuracy Power consumptiom
  • 6. GEOLOCATION ARCHITECTURE © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Managed layer: Provides .NET API (Pinvoke not allowed in Windows Phone) Native layer: Communicates with hw layer to determine location of device Hardware layer: Provides location information Managed Code Native Layer GPS WIFI Cellular networks
  • 7. LOCATION API © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • In Windows phone 7: GeoCoordinateWatcher  now deprecated • In Windows phone 8: Geolocator • Obtain one shot position: • Geoposition GetGeopositionAsync • Continuous location tracking • event PositionChanged • DesiredAccuracy, DesiredAccuracyInMeters, MovementThreshold • event StatusChanged • Disabled, Initializing, NoData, NotAvailable, NotInitialized, Ready To enable location features: add ID_CAP_LOCATION in WMAppManifest.xml Certification Requirement: check for user consent to using location api
  • 8. BACKGROUND TRACKING (1/2) © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • WMAppManifest.xml <DefaultTask Name="_default" NavigationPage="MainPage.xaml"> <BackgroundExecution> <ExecutionType Name="LocationTracking" /> </BackgroundExecution> </DefaultTask> • App.xaml <shell:PhoneApplicationService … Activated="Application_Activated" RunningInBackground="Application_RunningInBackground"/> Setting app for background tracking
  • 9. BACKGROUND TRACKING (2/2) © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • App.xaml.cs private void Application_RunningInBackground(object sender, RunningInBackgroundEventArgs args) { RunningInBackground = true; // Suspend all unnecessary processing such as UI updates } private void Application_Activated (object sender, ActivatedEventArgs args) { RunningInBackground = false; } Setting app for background tracking
  • 10. TESTING GEOLOCATION WITH EMULATOR © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved.
  • 11. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. GEOLOCATION DEMO
  • 12. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. MAP CONTROL
  • 13. MAP CONTROL © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • Bing map control now deprecated (only for upgrading) • Map Control • Content: markers, overlays, polylines, polygons, route • Settings: color, map type, pedestrian, landmarks, heading, pitch, zoom • Features: geocoding, reverse geocoding, routing • Capability ID_CAP_MAP in WMAppManifest.xml • Reference: Microsoft.Phone.Maps.Controls • Obtain API Keys from Dev Center
  • 14. MAPS API KEY © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved.
  • 15. SET MAPS API KEY © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Set the ApplicationID and AuthenticationToken private void map_Loaded(object sender, RoutedEventArgs e) { MapsSettings.ApplicationContext.ApplicationId = "id"; MapsSettings.ApplicationContext.AuthenticationToken = "token"; }
  • 16. MAP CONTROL MEMBERS © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • GeoCoordinate Center (GeoCoordinate !=Windows.Devices.Geolocation.Geocoordinate) • ZoomLevel (1..20) • LandmarksEnabled • PedestrianFeaturesEnabled • CartographicMode • Road, Aerial, Hybrid, Terrain • ColorMap • Light/Dark • Heading (0-360) • Pitch (0-75) • SetView and animations in C# • MyMap.SetView(MyCoordinate, 16, MapAnimationKind.Parabolic);
  • 17. MAPS BUILT-IN TASKS © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Maps task Launches the built-in Maps app and optionally marks a location. Maps directions task Launches the built-in Maps app and displays directions. MapDownloader task Downloads maps for offline use. MapDownloaderTask mapDownloaderTask = new MapDownloaderTask(); mapDownloaderTask.Show(); MapUpdater task Checks for updates for offline maps that the user has previously downloaded
  • 18. MAP OVERLAY © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. MapOverlay overlay = new MapOverlay { GeoCoordinate = myMap.Center, Content = new Ellipse { Fill = new SolidColorBrush(Colors.Red), Width = 40, Height = 40 } }; MapLayer layer = new MapLayer(); layer.Add(overlay); myMap.Layers.Add(layer);
  • 19. GEOCODING/ROUTE CALCULATION © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • GeocodeQuery: converts a street address or place to a GeoCoordinate • RouteQuery: finds the shortest path between two GeoCoordinate, with any number of waypoints in between and using a TravelMode (walking, driving) • ReverseGeocodeQuery: obtains address or place informations from a GeoCoordinate: Continent, country, state, province, city, address, housenumber, building, postalcode, …
  • 20. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. MAP DEMO
  • 21. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. HERE APPLICATIONS
  • 22. NOKIA HERE APPLICATIONS © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. • HERE Maps • HERE Drive • HERE Transit • HERE City Lens They works together and with launchers you can use their features in your code!
  • 23. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. HERE LAUNCHERS API
  • 24. HERE LAUNCHERS © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. The services provided by the HERE applications can be used in two ways: • HERE Launchers API (Tasks) • https://github.com/nokia-developer/here-launchers • Uri Schemes implemented in HERE applications.
  • 25. HERE LAUNCHERS API © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Launch HERE Maps to: Launch HERE Drive to: Launch HERE Transit to: •Show route from user's current location (default) or selected origin to a destination. •Search for places with a text string. •Explore places by categories. •Show map of a selected location with desired zoom level. •Show place by ID or location on a map. •Provide drive guidance from user's current location to a specific destination. •Show journeys from user's current location (default) or selected origin to a destination, either using current time for departure (default) or with desired departure or arrival times. using Nokia.Phone.HereLaunchers; … DirectionsRouteDestinationTask routeTo = new DirectionsRouteDestinationTask(); routeTo.Destination = new GeoCoordinate(60.35, 24.60); routeTo.Mode = RouteMode.Car; routeTo.Show();
  • 26. URI SCHEME PROTOCOL FOR HERE APPS © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Currently 5 URI schemes. directions : for routing paths. explore-maps : for exploring map and map services. guidance-drive : for drive navigation. guidance-walk : for walk navigation. places : for showing places. public-transit : for public transit related use cases. Example: directions://v2.0/route/destination/?latlon=60.35,24.60&mode=car
  • 28. © 2013 Nokia. All rights reserved. © 2013 Microsoft. All rights reserved. Grazie!

Editor's Notes

  • #6: Il servizio di localizzazione usato da Windows Phone utilizza dati provenienti da diverse sorgenti, in maniera da ottimizzare la precisione: A-GPS Wi Fi Rete Cellulare Una o più di queste risorse possono essere utilizzare contemporaneamente, anche per bilanciare performance e precisione con il consumo di energia Le informazioni di geolocalizzazione vengono poi esposte alle applicazioni per mezzo di API basate su eventi A-GPS Highest accuracy Highest power consumption Slow startup No Indoor Wi-Fi triangulation Accuracy: >cellular network <GPS Medium power consumption Medium startup speed Needs wifi networks Cell Tower triangulation Low accuracy Low power consumption Fast startup Needs coverage
  • #7: L’architettura di Windows phone per la geolocalizazione consiste di 3 strati: Uno hardware Uno di codice nativo Uno di codice gestito
  • #8: Se non c’è id_cap_location, all’utilizzo si scatena un’ AccessUnauthorizedException In ogni caso gestire la possibile eccezione, se l’utente è in modalità aereo. Per certificare un app bisogna chiedere il consenso all’utente, e salvarlo per esempio nell’isolated storage DesiredAccuracy Default High (favorisce gps e consuma di più) DesiredAccuracyInMeters MovementThreshold in meters (20 è un buon valore) StatusChanged scatenato quando cambia lo stato del componente che rileva la posizione.
  • #9: In wp 7.5, se l’app viene sospesa e va in dormant o tombstone, tutti i dati di location vengono buttati via. In WP8 è possibile avere una sola app in background, che effettua location tracking Se ci sono più app che vogliono registrarsi per il location tracking, la più recentemente aperta prende il comando, le altre vengono passate in stato dormant o tombstoned The app stops actively tracking location. An app stops tracking location by removing event handlers for the PositionChanged and StatusChanged events of the Geolocator class or by calling the Stop() method of the GeoCoordinateWatcher class. The app has run in the background for 4 hours without user interaction. Battery Saver is active. Device memory is low. The user disables Location Services on the phone. Another app begins running in the background.
  • #10: In wp 7.5, se l’app viene sospesa e va in dormant o tombstone, tutti i dati di location vengono buttati via. In WP8 è possibile avere una sola app in background, che effettua location tracking Se ci sono più app che vogliono registrarsi per il location tracking, la più recentemente aperta prende il comando, le altre vengono passate in stato dormant o tombstoned
  • #12: ContinuousLocation Demo
  • #16: Le proprietà vanno impostate dopo il caricamento del primo controllo Map dell’App E vengono mantenute dall’infrastruttura. Se tutte le mappe sono distrutte e viene creata una nuova istanza, bisogna reimpostarle
  • #17: Landmarks edifici 3d Pedestrian dettagli utili ai pedoni, come scali, passaggi,
  • #18: Maps Data shared between apps. MapDownloaderTask and MapUpdaterTask launch the default maps settings application, to provide consistent User Experience
  • #19: MapOverlay object has a generic Content property, For shapes, controls, images, video, ecc.
  • #21: MapExplorer
  • #23: HERE Drive+ Beta è un'applicazione gratuita per la navigazione contenente istruzioni guidate e supporto completo offline, oltre alle istruzioni vocali per guidare in modo più semplice e sicuro. Transit Visualizza tutte le opzioni per i trasporti pubblici: autobus, treno, metropolitana, tram. Accedi facilmente agli itinerari e alle indicazioni per raggiungere le stazioni. Ristoranti, negozi, musei e hotel: HERE City Lens ti svela tutto quello che c'è davanti ai tuoi occhi. L'applicazione è disponibile soltanto per gli smartphone Windows Phone 8 dotati di magnetometro.
  • #25: With Windows Phone 8, developers can launch other applications with URI schemes. It is possible for developers to launch HERE applications by utilising the URI schemes implemented in those applications; the documentation for these schemes can be found in the Windows Phone URI scheme protocol for HERE applications topic. Another way of launching other applications and using their services with Windows Phones is using the Launcher APIs (MSDN) which allow an application to integrate with common system tasks, such as taking a picture, finding a contact, making a call, or saving a ring tone with very little effort. Thus, for convenience, we provide you the HERE Launchers API that simplifies developer's life by providing an API surface very similar to the Windows Phone launchers.
  • #26: When launcher tasks are used, the application made for handling the use case will be launched and the parameters given to the launchers will be forwarded to the handler application via the URI scheme protocol. In case there is no handler application for the given protocol installed in the device, then the user will be given an option to open Marketplace application for automated search for applications which can handle the specified protocol. In case there are multiple handler applications for the given protocol installed in the device, then the user will be shown a selection dialog from which the desired handler application can be chosen.