MicroStrategy ONE

Set Up the MicroStrategy Mobile Android Project

The following instructions help you in setting up the MicroStrategy Mobile project for performing your customizations. It is important that you have the Android development environment set up correctly before proceeding with the instructions in this topic.

  1. Get the project folder  

  2. Import the project folders into the workspace  

  3. Change the aplication ID (optional)  

  4. Build the project to confirm that it compiles and deploys successfully

A detailed explanation of how to perform each step is provided below.

  1. Get the project folder 

    1. Go to the MicroStrategy Download site and download the Android SDK file for the latest Mobile SDK. 

      The latest Mobile SDK may or may not be the same version as the version of Intelligence Server you are using.

    2. Copy the project folder ZIP file—MicroStrategyMobile.zip—from the downloaded folder to your local machine. 
    3. Extract the project folder—MicroStrategyMobile—included in the ZIP file. 
  2. Import the project folder into the workspace

    1. Open Android Studio.
    2. Import the project—MicroStrategyMobile. Choose File -> New ->Import Project
  3. Change the Application ID (optional)

    By default, the Application ID is com.microstrategy.android.samples.app. If you want to change it, do the following:

    1. Open Build.gradle under MicroStrategyMobile -> app

    2. Change the ApplicationID in defaultConfig. For example:

    3. Copy
      defaultConfig{
         applicationID 'com.microstrategy.android.mstr10U3.app'
         versionCode 1
         versionName "1.0"
      }
  4. Build the project to confirm that the application compiles and deploys successfully 

    1. Build the project. 

    2. Run the compiled application on a device or simulator to confirm that the apk you built can run successfully.

      To distribute mobile applications to your users, refer to the Distributing Android Applications topic.

Once you have done this, your project is ready to be customized. See Customization Scenarios for more information.