HERE Android SDK Developer's Guide

Authenticating Applications

Developers using the HERE SDK with their app are required to register for a set of HERE credentials and to specify these credentials (App_Id and App_Code) in their app's Android manifest XML file. Failure to do so results in blocked access to certain features and degradation in the quality of other services.

To obtain these credentials, visit the developer portal at https://developer.here.com/?create=Evaluation and register for a free Evaluation license. Once your project is created, you can generate these credentials on your Project Details page. If you already have a commercial (public or business) plan, you can also retrieve these credentials from your Project Details page.

Note: Credentials are unique to your application. Do not reuse credentials across multiple applications.

Adding Credentials to the Manifest

You can add your HERE credentials as <meta-data/> attributes to the AndroidManifest.xml file as follows:

  1. In your development environment, double-click your project's AndroidManifest.xml file and ensure that you are viewing the file in text editor mode.
  2. Within the <application></application> block of tags, add the following markup:
    <meta-data android:name="com.here.android.maps.appid" android:value="YOUR_APP_ID"/>
    <meta-data android:name="com.here.android.maps.apptoken" android:value="YOUR_APP_CODE"/>
  3. Replace the {YOUR_APP_ID} and {YOUR_APP_CODE} strings with appropriate credentials for your application.