Getting started with here-api – Create a New Android Studio Project

  1. From the Welcome to Android Studio dialogue box, select New Project… to open the Create New Project dialog.

  2. In the New Android Application dialog, under Application name, specify an appropriate application name. The remainder of this tutorial uses BasicMapSolution as the application name.

  3. Under Company Domain, specify an appropriate domain.

  4. Edit the package name by clicking the Edit link. The remainder of this tutorial uses com.here.android.tutorial as the package name.

    Important: You must use the same package name as you have registered on developer.here.com. Failure to do so leads to a blank map to appear in your application.

    You can also edit this package name later in your AndroidManifest.xml:

 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.your.package.name.here"
      android:versionCode="1"
      android:versionName="1.0" >
  1. Under Project Location, specify an appropriate project location in the file system.

  2. Click Next.

  3. Select the form factors supported by your application. For the purpose of this tutorial, check Phone and Tablet.

  4. Under Minimum SDK, select the lowest version of the Android SDK you wish to support. For this sample application, use Android 4.0.3 "Ice Cream Sandwich".

  5. Click Next.

  6. You may be prompted to agree to a License Agreement. Click Accept, and then Next to install SDK components. After the installation is complete, click Next again.

  7. In the "Add an activity to Mobile" dialog box, select Empty Activity and click Next.

  8. In the "Customize Activity" dialog box, specify an appropriate activity name in Activity Name. This tutorial uses the name BasicMapActivity.

  9. Under Layout Name, specify an appropriate layout name. (This tutorial uses activity_main.)

  10. Click Finish.

if you want to reproduce, please indicate the source:
Getting started with here-api – Create a New Android Studio Project - CodeDay