MicroStrategy ONE
Deploy Multiple MicroStrategy Mobile Projects in Android
It is possible to deploy multiple mobile applications using the MicroStrategy Mobile project so that each application is treated independently. This is accomplished by specifying a unique package for the MicroStrategy Mobile project (for each mobile application) and making a change to the manifest file. To change the name of the mobile application, see Rebranding MicroStrategy Mobile.
The term "deploying" in this topic relates to compiling the MicroStrategy project during development. See Distributing Applications for instructions on making the mobile application available for users.
To deploy multiple mobile applications using the MicroStrategy Mobile project, perform the following steps for each application.
-
Set up the environment to use the MicroStrategy Mobile project
-
Build the project to confirm that the application compiles successfully
A detailed explanation of each of these steps is provided below.
-
Set up the environment to use the MicroStrategy Mobile project
Set up the environment so that you can use the MicroStrategy Mobile project as the base for your customizations.
-
By default, the Application ID is com.microstrategy.android.samples.app. If you want to change it, do the following:
-
Open Build.gradle under MicroStrategyMobile -> app.
- Change the ApplicationID in defaultConfig. For example:
-
Copy
defaultConfig{
applicationID 'com.microstrategy.android.mstr10U3.app'
versionCode 1
<versionName "1.0"
}
-
-
Build the project to confirm that the application compiles and deploys successfully
-
Build the project.
-
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 Applications topic.
-
Repeat the above steps for every MicroStrategy Mobile project you wish to deploy by creating a new package for each project or application.