

Select Finish to create your new project. It is the earliest version supported by the Azure Maps Android SDK. Select API 21: Android 5.0.0 (Lollipop) as the minimum SDK. Avoid using spaces in the path or filename due to potential problems with the NDK tools. Use the default or select a new location to save your project files. In the Empty Activity screen you'll need to enter values for the following fields: Select Empty Activity from the list of templates, then Next. In the New Project screen, select Phone and Tablet from the Templates list on the left side of the screen. Start Android Studio and select New from the File menu, then New Project. For more information on key rotation, see Set up Azure Key Vault with key rotation and auditingĬomplete the following steps to create a new project with an empty activity in Android Studio: To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. Also, for security purposes, it is recommended that you rotate between your primary and secondary keys. If you use the Azure subscription key instead of the Azure Maps primary key, your map won't render properly. Copy the Primary Key and save it locally to use later in this tutorial.In the left pane, select Authentication.Open your Azure Maps account in the portal.Once your Azure Maps account is successfully created, retrieve the primary key that enables you to query the Maps APIs. Once you have ensured that everything is correct in the Review + create page, select the Create button.Read the Terms, and check the checkbox to confirm that you have read and agree to the License and Privacy Statement.You may choose to Create new or Use existing resource group. The Resource group name for this account.The Subscription that you want to use for this account.On the Create Maps Account page, enter the following values: In the Search the Marketplace box, type Azure Maps, then select Azure Maps from the search results. In the upper left-hand corner of the Azure portal, select Create a resource. Create an Azure Maps accountĬreate a new Azure Maps account using the following steps: If you use a different version of Android Studio, the steps specific to Android Studio may vary. Many of the instructions in this quickstart were created using Android Studio Arctic Fox (2020.3.1).
