...
Navigate to the
<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-xxhdpi/
directory to update the following:Image Resolution Usage ic_launcher.png
144px*144px This is the launcher icon. ic_logo_dark.png
240px*72px This is the title bar image of the activity_authentication_error
message. This image is ligher in shade.ic_logo.png
240px*72px This is the title bar image of the activity_authentication_error
message. This image is darker in shade.repeat_bg.png
277px*125px This is the footer image of the activity_authentication_error
message.splash_bg.png
750px*123px This is the splash screen background image. wso2.png
300px*125px This is the top banner logo. banner.png
1023px*315px This is the top banner background. Note You can also remove
ic_launcher.png
,ic_logo_dark.png
,ic_logo.png
, andrepeat_bg.png
images in the following directories or replace them with appropriately resized images:<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-xxhdpi/
<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-hdpi/
<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-mdpi/
Navigate to the
<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-land-xxhdpi/
directory to update the following:Image Resolution Usage splash_bg.png
1232px*750px This is the splash screen background image. banner.png
1920px*300px This is the top banner background. Change the permanent device lock screen logo.
Navigate to the
<ANDROID_AGENT_SOURCE_CODE>/client/client/src/main/res/drawable-hdpi
directory.Replace the
ic_logo_dark.png
file to change the icon.
- Open the client folder that is in the
<ANDROID_AGENT_SOURCE_CODE>/client
directory via Android Studio. The Android agent can't be built via the usual Android developer SDK, as it requires access to developer restricted APIs. Therefore, you need to replace the existing android.jar file that is in the
<SDK_LOCATION>/platforms/android-<COMPILE_SDK_VERSION>
directory with the explicitly built android.jar file that has access to the restricted APIs.Restart the Android Studio.
Anchor | ||||
---|---|---|---|---|
|
...
APK File
Build the project to create a new APK with the changes.
- Rename the created
.apk
file toandroid-agent.apk
. - Copy the renamed file and replace it instead of the existing
android-agent.apk
. file that is in the
directory.<IOTS_HOME>/repository/deployment/server/jaggeryapps/android-web-agent/app/pages/mdm.page.enrollments.android.download-agent/public/asset