Copyright (c) 2011-2021 HERE Europe B.V.
This repository holds a series of Java-based projects using the HERE Mobile SDK 3.x 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 HERE Mobile SDK (Premium):
-
Choose to Generate App ID and App Code for use with the HERE Mobile SDK for Android:
-
Enter the package name of the example you want to build, e.g. com.here.android.example.map.basic. The package name entered here must match the name in your app:
-
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.16.2_101.zip
(your version number might differ). -
Extract
HERE_Android_SDK_Premium_v3.16.2_101.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 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 examples, this would be here, here and here. -
Replace the instances of the
{YOUR_LABEL_NAME}
placeholders in the example'sAndroidManifest.xml
with your own custom values. Do not reuse HERE Mobile SDK defaults. -
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 latest version(currently 3.16) of the HERE Mobile SDK for Android (Premium)
- 3D Model - Show 3D model on the map
- 3D Venues - Show venues in 3D mode
- Advanced Navigation - Handle user interactions and position updates during navigation
- CLE2 - Use custom location extensions
- Geocoding and Reverse Gecoding - Trigger a Geocode and Reverse Geocode request in HERE Mobile 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
- Routing TTA - Create a route and retrieves Time To Arrival
- Venue Positioning - Use HERE location data source in venue
- Positioning - Use HERE location data source
- Search - Send different types of search requests
- AutoSuggest - Send different types of AutoSuggest requests
- Turn-by-Turn Navigation - Trigger a turn-by-turn navigation from HERE Burnaby office to Langley BC