SlideShare a Scribd company logo
1 of 21
Download to read offline
HERE Maps for the
Nokia X platform
NOKIA X
HERE MAPS
• The HERE API for Nokia X Software Platform provides a set of programming
interfaces that enable developers to build immersive Nokia X Software Platform
applications by leveraging a powerful and flexible mapping platform.
• Through these APIs, developers can add rich location features such as routing,
interactive maps, and searching a global Place database to their applications. The
powerful client-side HERE API for Nokia X Software Platform also includes a
sophisticated engine for rendering map data and route calculation.
• In addition to downloading map data dynamically as needed, it also supports
offline maps through use of previously cached map data or previously
downloaded map packages.
WHAT IS THE HERE API FOR NOKIA X ?
• The HERE API delivers vector-based map data, in contrast to most mapping SDKs
that only provide APIs to display map data using raster tiles. With raster tiles, panning
to a new location or moving to a new zoom level requires additional raster tiles must
be downloaded, leading to a negative impact on application fluidity and the overall
user experience.
• Vector map data used by the HERE API consists of many data layers that are
rendered based on rules describing what to display and how to display it.
• Vector map data requires significantly less storage space than raster map tiles,
enabling map data to be downloaded for offline use. The result is a powerful hybrid
solution where map data can be downloaded over a wireless data connection as
needed, or maps for countries and regions can be preloaded for later use, eliminating
the need for an always-present wireless data connection.
• The HERE API uses vector data for all normal maps. Raster tiles are used when
satellite, terrain, and custom maps are being displayed.
VECTOR MAPS
• Dynamically download vector maps for more than 190 countries in over 50 languages
• Preload maps for offline usage
• Map styles: normal street map, satellite map, transit map, and more
• Textured 3D landmarks
• Street level imagery
• Touch gestures (including pan, flick, pinch zoom, rotate, and tilt)
• Overlay objects on the map such as polylines, polygons, icons, and routes
• Overlay 3D map objects
• Overlay custom raster tiles on the map (for example, to display heat maps)
• Ability to render raster tiles and map objects interleaved within different map layers
• Venue maps
• Show real-time traffic flow and incidents
• 3D Buildings
• Traffic and transit object interaction
FEATURES - MAPPING
• Search through a broad set of geographical content, including 25 million streets, 200 million
address points, and over 60 million categorized places across the globe
• Search for a specific place or explore by categories
• Get rich details for a Point of Interest (including images, ratings, reviews, and editorials)
• Perform geocoding and reverse geocoding lookups
• Offline places search, offline geocoding/reverse geocoding lookups
• Get driving or pedestrian directions
• Public Transit directions
• Specify preferred route type (fastest/shortest) and attributes to avoid (toll roads, motorways, parks,
and more)
• Alternate routes
• Offline route calculation
• Driving directions that take traffic into account
FEATURES – SEARCH / DIRECTIONS
• The MapGesture interface encapsulates all user interactions and touch gestures supported by the HERE
API for Nokia X Software Platform. The MapGesture associated with a particular fragment can be retrieved
from MapFragment.getMapGesture(). The default behavior of the map for each gesture type may be
used as-is, supplemented, or replaces entirely.
MAP GESTURES
• The HERE API for Nokia X Software Platform provides a variety of map appearances for your application
to choose from, these appearances are otherwise known as map schemes. The MapScheme class defines
schemes that the HERE map service supports. You can set a desired scheme by making a call to the
Map.setMapScheme(String) method.
MAP SCHEMES
NORMAL_DAY
SATELLITE_DAY
HYBRID_DAY
HYBRID_DAY_TRANSIT
NORMAL_NIGHT
NORMAL_NIGHT_TRANSIT
TERRAIN_DAY
NORMAL_DAY_TRANSIT
• MapObject represents a base interface for all map-related objects that can be added on a Map. To create
these objects, you must use the MapFactory class by calling the corresponding create method with a geo
object. Geo objects (for example, GeoPolyline and GeoPolygon) are geographical data representations
that act as models to MapObjects, which act as views.
GEO OBJECTS
MapContainer
MapCircle
MapPolyline
MapPolygon
MapRoute
MapMarker
MapLocalModel
MapGeoModel
• MapTransitLayer is a layer that displays the available transit data for a map area. Three types of transit data are
currently available:
• Transit Stop data - represented by TransitStopObject
• Transit Line data - represented by TransitLineObject
• TransitAccess data - represented by TransitAccessObject
TRANSIT INFORMATION
• Traffic information can be displayed on the Map (where available) by using
Map.setTrafficInfoVisible(true). Traffic events are selectable through map gestures and
MapGestureListener.onSelectedObjects(List<ViewObject>). Traffic visualization requires a network
data connection to download real time traffic information, however traffic information may continue to be
displayed thereafter without a connection until the traffic events expire or the visibility is toggled.
TRAFFIC INFORMATION
• HERE API supports showing 3D representations of buildings and structures. This feature is called extruded
buildings, and you can enable it by simply calling the setExtrudedBuildingsShown() method in
com.here.android.restricted.mapping.Map method. Extruded buildings are available for most
metropolitan areas in North American and Europe.
EXTRUDED BUILDINGS AND 3D LANDMARKS
• In addition to outdoor mapping and geographical information, the HERE API for Nokia X Software Platform
also allows developers to retrieve and display venues from around the world. With the Venue Maps API, your
application can show data and map tiles that provide additional details of the interior of a building, including
information such as floor numbers, the structure of each floor, and room names.
VENUE MAPS
• The HERE API for Nokia X Software Platform allows application developers to offer users a panoramic street-
level imagery for many cities. Street-level imagery is a collection of interconnected 360-degree panoramas.
You can navigate from one panorama to another by tapping on links that appear on-screen as arrows
pointing in various navigable directions.
STREET-LEVEL IMAGERY
• HERE Maps requires:
OpenGl ES 2.0 support.
HEREApp ID & Token.
SD card to be present (emulator).
Internet connection.
• Note that map tiles will be cached,
thus you need to load them only
once.
GENERAL REQUIREMENTS
Map
Initialization
Failure
• HERE Maps offers the same functionality as Google Maps API, as well as
additional functionality for utilizing HERE location based services.
• Generally you can port your application to the HERE API in two approaches:
1. Create Separate APK to be used in Nokia X platform
• Use can use the Google Maps V1 or V2API Wrapper to port your existing application to utilize
the HERE maps.
• Simple 2 step porting with no need for code changes.
2. Add HERE API usage into the Existing APK
• At run time, select HERE maps to be used when the application is run in Nokia X devices, and use
other implementation when it is not.
• For reference implementation, see the MapsDemo example shipped with the SDK.
• Note that there are separate Wrappers with nokia namespace which can be used with this
approach.
PORTING TO HERE MAPS API
MODIFYING MANIFEST (I)
<uses-library android:name="com.here.android" android:required="true" />
You need to make some minor modifications to the AndroidManifest.xml file of your
project to enable HERE Maps. First, specify the application version compatibility by adding
or editing the following tag:
Add the additional permissions required by HERE:
<uses-sdk android:minSdkVersion="11" android:targetSdkVersion="16" />
Within the <application></application> block of tags, add the following library:
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
MODIFYING MANIFEST (II)
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
All application using the HERE SDK must have a valid application ID (app ID) and
application token (app token). You will also need to register your application in the Nokia
Publishing tool to obtain these. Please follow the instructions in the publishing content
quick guide. Once you have acquired the app ID and token, insert them within the
<application></application> block of tags:
HERE Maps require OpenGL and GPU so make sure you have OpenGL ES 2.0 usage
declared in the manifest file:
<meta-data android:name="com.here.android.maps.appid" android:value="YOUR ID" />
<meta-data android:name="com.here.android.maps.apptoken" android:value="YOUR TOKEN" />
In addition, either the whole application or the activity using maps, needs to have property
android:hardwareAccelerated set true:
<application ... android:hardwareAccelerated="true">
CONFIGURATION STEPS
• Import library project located at:
• <Android SDK installation path>/extras/nokia/nokia_x_services/libs/reference-v2_lib
• Remove Google Play Services library (google-play-services_lib) and make project
"reference-v2_lib" in the library list as a reference.
• Make sure that Android Private Libraries are in the Build Path. This ensures that the HERE
JAR is packaged as part of your application.
• If your existing application requires the Android Support Library (e.g. android-support-
v4.jar), ensure that the relevant JAR file is also present in your ported project. For instance,
the Google Play Services map sample uses FragmentActivity class, which requires version
4 Android support library (android-support-v4.jar) to be linked to the project.
RUN AND TEST YOUR APPLICATION
Your application will now use the v2 Reference APIs on the HERE Maps platform instead
of Google Maps. There should be no need to make additional changes to the source code
of your app. If you still have problems with the application after following the previous
steps, make sure that:
• If you are running the app in the emulator, the use of host GPU is enabled in the
Android Virtual Device (AVD) settings and you have a SD card defined.
• Your internet connection is working and proxy is properly set if needed.
• Your app ID and token are valid.
Thanks!

More Related Content

What's hot

Esri DevSummit 2011 - Grontmij presentation
Esri DevSummit 2011 - Grontmij presentationEsri DevSummit 2011 - Grontmij presentation
Esri DevSummit 2011 - Grontmij presentationXander Bakker
 
YVR and the Indoor Mapping Experience
YVR and the Indoor Mapping ExperienceYVR and the Indoor Mapping Experience
YVR and the Indoor Mapping ExperienceSafe Software
 
Location-Based Marketing Application Development Made Easier with GeoSimulator
Location-Based Marketing Application Development Made Easier with GeoSimulatorLocation-Based Marketing Application Development Made Easier with GeoSimulator
Location-Based Marketing Application Development Made Easier with GeoSimulatorSundeep Dawale
 
ArcGIS Mobile 10 - Grontmij
ArcGIS Mobile 10 - GrontmijArcGIS Mobile 10 - Grontmij
ArcGIS Mobile 10 - GrontmijXander Bakker
 
Super map gis 8c
Super map gis 8cSuper map gis 8c
Super map gis 8cDaniel PI
 
The 'right' choices in GIS - Grontmij
The 'right' choices in GIS - GrontmijThe 'right' choices in GIS - Grontmij
The 'right' choices in GIS - GrontmijXander Bakker
 
Harpster, J. - Open data on buildings with satellite imagery processing
Harpster, J. - Open data on buildings with satellite imagery processingHarpster, J. - Open data on buildings with satellite imagery processing
Harpster, J. - Open data on buildings with satellite imagery processingOECDregions
 
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...IMGS
 
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)Ossama Alami
 
Making GIS accessible for Non-GIS Pros
Making GIS accessible for Non-GIS ProsMaking GIS accessible for Non-GIS Pros
Making GIS accessible for Non-GIS ProsGeCo in the Rockies
 
Vizualizace ve webovém GIS – Roll-out 2019
Vizualizace ve webovém GIS – Roll-out 2019Vizualizace ve webovém GIS – Roll-out 2019
Vizualizace ve webovém GIS – Roll-out 2019Jan Novotný
 
Energy Saving Trust - Esri UK Annual Conference 2016
Energy Saving Trust - Esri UK Annual Conference 2016Energy Saving Trust - Esri UK Annual Conference 2016
Energy Saving Trust - Esri UK Annual Conference 2016Esri UK
 
Foss4G2013 Mappy-ing Open Source
Foss4G2013 Mappy-ing Open SourceFoss4G2013 Mappy-ing Open Source
Foss4G2013 Mappy-ing Open SourceAudrey Malherbe
 

What's hot (17)

Mahendran
MahendranMahendran
Mahendran
 
Esri DevSummit 2011 - Grontmij presentation
Esri DevSummit 2011 - Grontmij presentationEsri DevSummit 2011 - Grontmij presentation
Esri DevSummit 2011 - Grontmij presentation
 
YVR and the Indoor Mapping Experience
YVR and the Indoor Mapping ExperienceYVR and the Indoor Mapping Experience
YVR and the Indoor Mapping Experience
 
Location-Based Marketing Application Development Made Easier with GeoSimulator
Location-Based Marketing Application Development Made Easier with GeoSimulatorLocation-Based Marketing Application Development Made Easier with GeoSimulator
Location-Based Marketing Application Development Made Easier with GeoSimulator
 
ArcGIS Mobile 10 - Grontmij
ArcGIS Mobile 10 - GrontmijArcGIS Mobile 10 - Grontmij
ArcGIS Mobile 10 - Grontmij
 
Super map gis 8c
Super map gis 8cSuper map gis 8c
Super map gis 8c
 
The 'right' choices in GIS - Grontmij
The 'right' choices in GIS - GrontmijThe 'right' choices in GIS - Grontmij
The 'right' choices in GIS - Grontmij
 
Harpster, J. - Open data on buildings with satellite imagery processing
Harpster, J. - Open data on buildings with satellite imagery processingHarpster, J. - Open data on buildings with satellite imagery processing
Harpster, J. - Open data on buildings with satellite imagery processing
 
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...
Irish Earth Observation Symposium 2014: Point Cloud Data Management with ERDA...
 
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
Performance and Scalability for Maps API Sites (Dev Fest '10 Mexico)
 
Making GIS accessible for Non-GIS Pros
Making GIS accessible for Non-GIS ProsMaking GIS accessible for Non-GIS Pros
Making GIS accessible for Non-GIS Pros
 
ERDAS IMAGINE
ERDAS IMAGINEERDAS IMAGINE
ERDAS IMAGINE
 
Vizualizace ve webovém GIS – Roll-out 2019
Vizualizace ve webovém GIS – Roll-out 2019Vizualizace ve webovém GIS – Roll-out 2019
Vizualizace ve webovém GIS – Roll-out 2019
 
Energy Saving Trust - Esri UK Annual Conference 2016
Energy Saving Trust - Esri UK Annual Conference 2016Energy Saving Trust - Esri UK Annual Conference 2016
Energy Saving Trust - Esri UK Annual Conference 2016
 
Foss4G2013 Mappy-ing Open Source
Foss4G2013 Mappy-ing Open SourceFoss4G2013 Mappy-ing Open Source
Foss4G2013 Mappy-ing Open Source
 
Portifolio hermann compact
Portifolio hermann compactPortifolio hermann compact
Portifolio hermann compact
 
Digimap webinar - Urban Map data for CAD
Digimap webinar - Urban Map data for CADDigimap webinar - Urban Map data for CAD
Digimap webinar - Urban Map data for CAD
 

Similar to HERE Maps for the Nokia X platform

Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 
iMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationiMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationEsri
 
Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Peter Horsbøll Møller
 
Location and API Maps in Windows Phone 8
Location and API Maps in Windows Phone 8Location and API Maps in Windows Phone 8
Location and API Maps in Windows Phone 8Antonio Pelleriti
 
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...Lorenzo Amato
 
Offline maps for mobile developers (Android/iOS)
Offline maps for mobile developers (Android/iOS)Offline maps for mobile developers (Android/iOS)
Offline maps for mobile developers (Android/iOS)Vadim Nikolaev
 
GI2013 ppt buono_seismic_geo_sdi
GI2013 ppt buono_seismic_geo_sdiGI2013 ppt buono_seismic_geo_sdi
GI2013 ppt buono_seismic_geo_sdiIGN Vorstand
 
Heads up digitization- ON THE FLY- GIS
Heads up digitization- ON THE FLY- GISHeads up digitization- ON THE FLY- GIS
Heads up digitization- ON THE FLY- GISSadia Rahat
 
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade
 
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific Conference
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific ConferenceApps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific Conference
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific ConferenceInternational Map Industry Association
 
3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Prothangqd
 
BLM UT Mobile Data Collection
BLM UT Mobile Data CollectionBLM UT Mobile Data Collection
BLM UT Mobile Data CollectionScott Kichman
 
Developing Efficient Web-based GIS Applications
Developing Efficient Web-based GIS ApplicationsDeveloping Efficient Web-based GIS Applications
Developing Efficient Web-based GIS ApplicationsSwetha A
 
Mapgears - Technical product overview
Mapgears - Technical product overviewMapgears - Technical product overview
Mapgears - Technical product overviewAlexandre St-Cyr
 

Similar to HERE Maps for the Nokia X platform (20)

Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
iMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial InformationiMap 4.0 Effective Management of Spatial Information
iMap 4.0 Effective Management of Spatial Information
 
Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019
 
Location and API Maps in Windows Phone 8
Location and API Maps in Windows Phone 8Location and API Maps in Windows Phone 8
Location and API Maps in Windows Phone 8
 
Advanced Maps on Apps for Series 40
Advanced Maps on Apps for Series 40Advanced Maps on Apps for Series 40
Advanced Maps on Apps for Series 40
 
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...
THE OGC STANDARDS AND GEO-PLATFORM BASED WEB APPLICATION FOR SEISMIC EVENTS M...
 
Offline maps for mobile developers (Android/iOS)
Offline maps for mobile developers (Android/iOS)Offline maps for mobile developers (Android/iOS)
Offline maps for mobile developers (Android/iOS)
 
GI2013 ppt buono_seismic_geo_sdi
GI2013 ppt buono_seismic_geo_sdiGI2013 ppt buono_seismic_geo_sdi
GI2013 ppt buono_seismic_geo_sdi
 
Intro to apps with maps for series 40
Intro to apps with maps for series 40Intro to apps with maps for series 40
Intro to apps with maps for series 40
 
70.mobile gis
70.mobile gis70.mobile gis
70.mobile gis
 
Esri Map App Builders
Esri Map App BuildersEsri Map App Builders
Esri Map App Builders
 
LUMIA APP LAB #16: HERE APPLICATION LAUNCHERS
LUMIA APP LAB #16: HERE APPLICATION LAUNCHERSLUMIA APP LAB #16: HERE APPLICATION LAUNCHERS
LUMIA APP LAB #16: HERE APPLICATION LAUNCHERS
 
Heads up digitization- ON THE FLY- GIS
Heads up digitization- ON THE FLY- GISHeads up digitization- ON THE FLY- GIS
Heads up digitization- ON THE FLY- GIS
 
myVR mMap SDK
myVR mMap SDKmyVR mMap SDK
myVR mMap SDK
 
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev ToolsJefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
Jefferson Andrade - Esri Dev Summit 2016 #02 - Dev Tools
 
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific Conference
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific ConferenceApps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific Conference
Apps & web solutions with OpenSource - Mani Singh - IMIA Asia Pacific Conference
 
3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro3D Visualization in ArcGIS Pro
3D Visualization in ArcGIS Pro
 
BLM UT Mobile Data Collection
BLM UT Mobile Data CollectionBLM UT Mobile Data Collection
BLM UT Mobile Data Collection
 
Developing Efficient Web-based GIS Applications
Developing Efficient Web-based GIS ApplicationsDeveloping Efficient Web-based GIS Applications
Developing Efficient Web-based GIS Applications
 
Mapgears - Technical product overview
Mapgears - Technical product overviewMapgears - Technical product overview
Mapgears - Technical product overview
 

More from Microsoft Mobile Developer

Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsMicrosoft Mobile Developer
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagMicrosoft Mobile Developer
 
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsLumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsMicrosoft Mobile Developer
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appMicrosoft Mobile Developer
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeMicrosoft Mobile Developer
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoMicrosoft Mobile Developer
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraMicrosoft Mobile Developer
 

More from Microsoft Mobile Developer (20)

Intro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and toolsIntro to Nokia X software platform 2.0 and tools
Intro to Nokia X software platform 2.0 and tools
 
Lumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK betaLumia App Labs: Lumia SensorCore SDK beta
Lumia App Labs: Lumia SensorCore SDK beta
 
Nokia Asha from idea to app - Imaging
Nokia Asha from idea to app - ImagingNokia Asha from idea to app - Imaging
Nokia Asha from idea to app - Imaging
 
Healthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia AshaHealthcare apps for Nokia X and Nokia Asha
Healthcare apps for Nokia X and Nokia Asha
 
Push notifications on Nokia X
Push notifications on Nokia XPush notifications on Nokia X
Push notifications on Nokia X
 
DIY Nokia Asha app usability studies
DIY Nokia Asha app usability studiesDIY Nokia Asha app usability studies
DIY Nokia Asha app usability studies
 
Lessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviewsLessons learned from Nokia X UI reviews
Lessons learned from Nokia X UI reviews
 
Location based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tagLocation based services for Nokia X and Nokia Asha using Geo2tag
Location based services for Nokia X and Nokia Asha using Geo2tag
 
Nokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerationsNokia In-App Payment - UX considerations
Nokia In-App Payment - UX considerations
 
Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)Introduction to Nokia Asha SDK 1.2 (beta)
Introduction to Nokia Asha SDK 1.2 (beta)
 
UX considerations when porting to Nokia X
UX considerations when porting to Nokia XUX considerations when porting to Nokia X
UX considerations when porting to Nokia X
 
Kids' games and educational app design
Kids' games and educational app designKids' games and educational app design
Kids' games and educational app design
 
Nokia X: opportunities for developers
Nokia X: opportunities for developersNokia X: opportunities for developers
Nokia X: opportunities for developers
 
Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1Lumia App Labs: Nokia Imaging SDK 1.1
Lumia App Labs: Nokia Imaging SDK 1.1
 
Intro to Nokia X software platform and tools
Intro to Nokia X software platform and toolsIntro to Nokia X software platform and tools
Intro to Nokia X software platform and tools
 
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultationsLumia App Labs: Lessons learned from 50 windows phone 8 design consultations
Lumia App Labs: Lessons learned from 50 windows phone 8 design consultations
 
Windows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra appWindows Phone 8 speech: parliamo con la nostra app
Windows Phone 8 speech: parliamo con la nostra app
 
La pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo storeLa pubblicazione di un'applicazione sullo store
La pubblicazione di un'applicazione sullo store
 
Il pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progettoIl pattern mvvm come strutturare al meglio il vostro progetto
Il pattern mvvm come strutturare al meglio il vostro progetto
 
Lens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocameraLens app trasformare il telefono in una fotocamera
Lens app trasformare il telefono in una fotocamera
 

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

HERE Maps for the Nokia X platform

  • 1. HERE Maps for the Nokia X platform
  • 3. • The HERE API for Nokia X Software Platform provides a set of programming interfaces that enable developers to build immersive Nokia X Software Platform applications by leveraging a powerful and flexible mapping platform. • Through these APIs, developers can add rich location features such as routing, interactive maps, and searching a global Place database to their applications. The powerful client-side HERE API for Nokia X Software Platform also includes a sophisticated engine for rendering map data and route calculation. • In addition to downloading map data dynamically as needed, it also supports offline maps through use of previously cached map data or previously downloaded map packages. WHAT IS THE HERE API FOR NOKIA X ?
  • 4. • The HERE API delivers vector-based map data, in contrast to most mapping SDKs that only provide APIs to display map data using raster tiles. With raster tiles, panning to a new location or moving to a new zoom level requires additional raster tiles must be downloaded, leading to a negative impact on application fluidity and the overall user experience. • Vector map data used by the HERE API consists of many data layers that are rendered based on rules describing what to display and how to display it. • Vector map data requires significantly less storage space than raster map tiles, enabling map data to be downloaded for offline use. The result is a powerful hybrid solution where map data can be downloaded over a wireless data connection as needed, or maps for countries and regions can be preloaded for later use, eliminating the need for an always-present wireless data connection. • The HERE API uses vector data for all normal maps. Raster tiles are used when satellite, terrain, and custom maps are being displayed. VECTOR MAPS
  • 5. • Dynamically download vector maps for more than 190 countries in over 50 languages • Preload maps for offline usage • Map styles: normal street map, satellite map, transit map, and more • Textured 3D landmarks • Street level imagery • Touch gestures (including pan, flick, pinch zoom, rotate, and tilt) • Overlay objects on the map such as polylines, polygons, icons, and routes • Overlay 3D map objects • Overlay custom raster tiles on the map (for example, to display heat maps) • Ability to render raster tiles and map objects interleaved within different map layers • Venue maps • Show real-time traffic flow and incidents • 3D Buildings • Traffic and transit object interaction FEATURES - MAPPING
  • 6. • Search through a broad set of geographical content, including 25 million streets, 200 million address points, and over 60 million categorized places across the globe • Search for a specific place or explore by categories • Get rich details for a Point of Interest (including images, ratings, reviews, and editorials) • Perform geocoding and reverse geocoding lookups • Offline places search, offline geocoding/reverse geocoding lookups • Get driving or pedestrian directions • Public Transit directions • Specify preferred route type (fastest/shortest) and attributes to avoid (toll roads, motorways, parks, and more) • Alternate routes • Offline route calculation • Driving directions that take traffic into account FEATURES – SEARCH / DIRECTIONS
  • 7. • The MapGesture interface encapsulates all user interactions and touch gestures supported by the HERE API for Nokia X Software Platform. The MapGesture associated with a particular fragment can be retrieved from MapFragment.getMapGesture(). The default behavior of the map for each gesture type may be used as-is, supplemented, or replaces entirely. MAP GESTURES
  • 8. • The HERE API for Nokia X Software Platform provides a variety of map appearances for your application to choose from, these appearances are otherwise known as map schemes. The MapScheme class defines schemes that the HERE map service supports. You can set a desired scheme by making a call to the Map.setMapScheme(String) method. MAP SCHEMES NORMAL_DAY SATELLITE_DAY HYBRID_DAY HYBRID_DAY_TRANSIT NORMAL_NIGHT NORMAL_NIGHT_TRANSIT TERRAIN_DAY NORMAL_DAY_TRANSIT
  • 9. • MapObject represents a base interface for all map-related objects that can be added on a Map. To create these objects, you must use the MapFactory class by calling the corresponding create method with a geo object. Geo objects (for example, GeoPolyline and GeoPolygon) are geographical data representations that act as models to MapObjects, which act as views. GEO OBJECTS MapContainer MapCircle MapPolyline MapPolygon MapRoute MapMarker MapLocalModel MapGeoModel
  • 10. • MapTransitLayer is a layer that displays the available transit data for a map area. Three types of transit data are currently available: • Transit Stop data - represented by TransitStopObject • Transit Line data - represented by TransitLineObject • TransitAccess data - represented by TransitAccessObject TRANSIT INFORMATION
  • 11. • Traffic information can be displayed on the Map (where available) by using Map.setTrafficInfoVisible(true). Traffic events are selectable through map gestures and MapGestureListener.onSelectedObjects(List<ViewObject>). Traffic visualization requires a network data connection to download real time traffic information, however traffic information may continue to be displayed thereafter without a connection until the traffic events expire or the visibility is toggled. TRAFFIC INFORMATION
  • 12. • HERE API supports showing 3D representations of buildings and structures. This feature is called extruded buildings, and you can enable it by simply calling the setExtrudedBuildingsShown() method in com.here.android.restricted.mapping.Map method. Extruded buildings are available for most metropolitan areas in North American and Europe. EXTRUDED BUILDINGS AND 3D LANDMARKS
  • 13. • In addition to outdoor mapping and geographical information, the HERE API for Nokia X Software Platform also allows developers to retrieve and display venues from around the world. With the Venue Maps API, your application can show data and map tiles that provide additional details of the interior of a building, including information such as floor numbers, the structure of each floor, and room names. VENUE MAPS
  • 14. • The HERE API for Nokia X Software Platform allows application developers to offer users a panoramic street- level imagery for many cities. Street-level imagery is a collection of interconnected 360-degree panoramas. You can navigate from one panorama to another by tapping on links that appear on-screen as arrows pointing in various navigable directions. STREET-LEVEL IMAGERY
  • 15. • HERE Maps requires: OpenGl ES 2.0 support. HEREApp ID & Token. SD card to be present (emulator). Internet connection. • Note that map tiles will be cached, thus you need to load them only once. GENERAL REQUIREMENTS Map Initialization Failure
  • 16. • HERE Maps offers the same functionality as Google Maps API, as well as additional functionality for utilizing HERE location based services. • Generally you can port your application to the HERE API in two approaches: 1. Create Separate APK to be used in Nokia X platform • Use can use the Google Maps V1 or V2API Wrapper to port your existing application to utilize the HERE maps. • Simple 2 step porting with no need for code changes. 2. Add HERE API usage into the Existing APK • At run time, select HERE maps to be used when the application is run in Nokia X devices, and use other implementation when it is not. • For reference implementation, see the MapsDemo example shipped with the SDK. • Note that there are separate Wrappers with nokia namespace which can be used with this approach. PORTING TO HERE MAPS API
  • 17. MODIFYING MANIFEST (I) <uses-library android:name="com.here.android" android:required="true" /> You need to make some minor modifications to the AndroidManifest.xml file of your project to enable HERE Maps. First, specify the application version compatibility by adding or editing the following tag: Add the additional permissions required by HERE: <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="16" /> Within the <application></application> block of tags, add the following library: <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  • 18. MODIFYING MANIFEST (II) <uses-feature android:glEsVersion="0x00020000" android:required="true" /> All application using the HERE SDK must have a valid application ID (app ID) and application token (app token). You will also need to register your application in the Nokia Publishing tool to obtain these. Please follow the instructions in the publishing content quick guide. Once you have acquired the app ID and token, insert them within the <application></application> block of tags: HERE Maps require OpenGL and GPU so make sure you have OpenGL ES 2.0 usage declared in the manifest file: <meta-data android:name="com.here.android.maps.appid" android:value="YOUR ID" /> <meta-data android:name="com.here.android.maps.apptoken" android:value="YOUR TOKEN" /> In addition, either the whole application or the activity using maps, needs to have property android:hardwareAccelerated set true: <application ... android:hardwareAccelerated="true">
  • 19. CONFIGURATION STEPS • Import library project located at: • <Android SDK installation path>/extras/nokia/nokia_x_services/libs/reference-v2_lib • Remove Google Play Services library (google-play-services_lib) and make project "reference-v2_lib" in the library list as a reference. • Make sure that Android Private Libraries are in the Build Path. This ensures that the HERE JAR is packaged as part of your application. • If your existing application requires the Android Support Library (e.g. android-support- v4.jar), ensure that the relevant JAR file is also present in your ported project. For instance, the Google Play Services map sample uses FragmentActivity class, which requires version 4 Android support library (android-support-v4.jar) to be linked to the project.
  • 20. RUN AND TEST YOUR APPLICATION Your application will now use the v2 Reference APIs on the HERE Maps platform instead of Google Maps. There should be no need to make additional changes to the source code of your app. If you still have problems with the application after following the previous steps, make sure that: • If you are running the app in the emulator, the use of host GPU is enabled in the Android Virtual Device (AVD) settings and you have a SD card defined. • Your internet connection is working and proxy is properly set if needed. • Your app ID and token are valid.