BlackBerry Developer

Prepare for Android Native development on Windows

Take Action Now so You Can Develop at Developer Summit Europe

We'll dive right into hands-on development in the Developer Summit Europe workshops with no time allocated for environment set-up. Perform the steps below now so you are ready to develop when you arrive.

We encourage you to ask questions and share what you are learning with others! Just scroll down and post your questions, documents and videos in the discussion forum.

Step Action
1. Installing Java
2. Installing Android Studio
3. Configuring Android Studio
  • Start Android Studio
  • Choose Standard Setup and click Finish
  • Click Start a new Android Studio project
    • Change Minimum SDK to API 26
    • Choose Basic Activity
    • Accept other values as default, click Finish.
  • Click on SDK Manager in toolbar (or Tools menu, Android, SDK Manager)
  • Check off Android 8 (Oreo), click OK
  • Accept license agreement, click Finish
4. Configuring an Android Emulator
  • Click on SDK Manager in toolbar (or Tools menu, Android, SDK Manager)
  • Click on tab "SDK Tools" tab
  • Check "Intel x86 Emulator Accelerator (HAXM)
  • Click "Apply".
  • Accept license agreement.
  • If it doesn't autorun after installing, manually run HAXM installer, which is by default located at: C:\Users\username\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-android.exe
  • Choose 2-4 GB RAM setting depending on your available free RAM
  • Close remaining dialog windows
  • In Android Studio click on AVD Manager in toolbar (or Tools menu, Android, AVD Manager)
  • Click +Create Virtual Device
  • Choose Pixel
  • Choose Download beside Oreo API 26 x86
  • Click Finish
5. Verifying Android Configuration
  • In Android Studio, with sample open from step 3
  • Click on the green Run App button in the toolbar
  • Application should run within the Android Emulator configured in step 4.
6. Installing BlackBerry Dynamics SDK
  • Follow the steps in the BlackBerry Dynamics getting started page to install the BlackBerry Dynamics SDK for Android: Get Started
  • The BlackBerry Dynamics SDK will be installed into one of the following directories:
    • Windows: C:\Users\[username]\AppData\Local\ Android\sdk\extras\blackberry\dynamics_sdk
    • Mac: /Users/[username]/Library/Android/sdk/sdk/extras/blackberry/dynamics_sdk
7. Verifying BlackBerry Dynamics SDK Installation
  • Open sample included in BlackBerry Dynamics SDK in Android Studio: Your_Installation_Directory\sdk\samples\ApacheHttp
  • Choose "Remind me later" if prompted to update
  • Click on the green Run App button in the toolbar
  • Choose to run in Android Emulator created in step 4
  • Sample should start in emulator and prompt for an email address and access key
8. Next Steps
  • If you are doing only Android Native development you are now ready to do mobile development at the event.
  • If you are doing the advanced track please return to the main landing page and follow the preparation steps for Workspaces and Enterprise BBM.