Copyright (c) 2011-2017 HERE Europe B.V.
This repository holds a series of Java-based projects using the HERE SDK for Android. More information about the API can be found on the HERE Developer Portal's Mobile SDKs page.
This set of individual, use-case based projects is designed to be cloned by developers for their own use.
Note: In order to be able to build the examples, you have to sign up for a 90-day Free Trial. After signing in with a HERE account, follow these steps to download the Premium SDK:
-
Choose to Generate App ID and App Code for use with the Android SDK:
-
Enter the package name of the example you want to build, e.g. com.here.android.example.map.basic:
-
Click on GENERATE to obtain the App ID, App Code, and License Key:
-
CLick on Download SDK to get a files named like
HERE_Android_SDK_Premium_v3.3.1_205.zip
(your version number might differ). -
Extract
HERE_Android_SDK_Premium_v3.3.1_205.zip
as well as the containedHERE-sdk.zip
. -
Copy the contained
HERE-sdk/libs/HERE-sdk.aar
file to your example'slibs
directory. Again taking the map-rendering-android example, thelibs
directory would be here. -
Replace the instances of the
{YOUR_APP_ID}
,{YOUR_APP_CODE}
and{YOUR_LICENSE_KEY}
placeholders in the example'sAndroidManifest.xml
with your obtained values. Yet again looking at the map-rendering-android examples, this would be here, here and here. -
Launch Android Studio and import the example's
build.gradle
file. -
Run the app.
Unless otherwise noted in LICENSE
files for specific files or directories, the LICENSE in the root applies to all content in this repository.
All of the following projects use version 3.4 of the Android Premium SDK
- 3D Venues - Show venues in 3D mode
- Advanced Navigation - Handle user interactions and position updates during navigation
- Geocoding and Reverse Gecoding - Trigger a Geocode and Reverse Geocode request in HERE SDK
- Map Attribute - Map attributes manipulations
- Map Customization - Customize the map scheme
- Map Downloader - Download offline map data
- Map Gestures - Define custom gesture actions
- Map Objects - Add map objects onto HERE map
- Map Rendering - Display the HERE map on a device
- Routing - Create a route from HERE Burnaby office to Langely BC and display it on the map
- Search - Send different types of search requests
- Turn-by-Turn Navigation - Trigger a turn-by-turn navigation from HERE Burnaby office to Langley BC
- Urban Mobility - Send different types of Urban Mobility requests