This section is still WIP!
Prerequisites
Download and install Android Studio.
For more information, see installing Android Studio.
- WSO2 EMM supports API levels 16 to 23. Therefore install the Android API levels 16 to 23 on Android Studio.
- Open Android Studio.
- Click SDK Manager.
- Click the SDK Platform tab and select the 16 and 23 API levels.
- Click Apply.
Changing Android app catalog related logos and icons
Clone the
product-emm
repository. The folder will be referred to as<PRODUCT_EMM>
throughout the documentation.git clone https://github.com/wso2/product-emm
Navigate to the
<APP_CATALOG>/app/src/main/res
directory.<APP_CATALOG>
refers to the<PRODUCT_EMM>/modules/mobile-agents/android/appcatalog
file path.- Navigate to the
mipmap-xxhdpi/
folder and change theic_launcher.png
(144px X 144px
) file in order to change the icon. For more information, go to the Android icon guide.
Navigate to the
mipmap-xxhdpi/
folder, and change the following file logos in order to change the header logos:ic_logo.png
(240px X 72px
)repeat_bg.png
(277px X 125px
)- Navigate to the
mipmap
-xhdpi/
folder, and change theic_launcher.png
( 96px X 96px ) file to change the application icon. - Navigate to the
drawable-xhdpi/
folder, and change theic_logo.png
(267px X 48px),ic_logo_darker.png
(160px X 48px) andrepeat_bg.png
(222px X 100px) file in order to change the logos. Navigate to the
mipmap-hdpi/
folder, and change theic_launcher.png
(72px X 72px) file in order to change the icon.Navigate to the
drawable-hdpi/
folder, and change theic_logo.png
(200px X 36px),ic_logo_darker.png
(120px X 36px) andrepeat_bg.png
(122px X 55px) files in order to change the logos.Navigate to the
mipmap-mdpi/
folder, and change theic_launcher.png
(48px X 48px) file to change the icon.Navigate to the
drawable-mdpi/
folder, and change theic_logo.png
(133px X 24px) andic_logo_darker.png
(80px X 24px) files in order to change the logos.
- Navigate to the
- Open the
app-catalog
folder that is in the<EMM_SOURCE_HOME>/modules/mobile-agent/android
directory via Android Studio. Build the project to create a new APK with the changes.
Publish the built APK to your app store via the WSO2 App Manager publisher.
For more information, see Creating an Android Application.