You are not required to perform any additional steps to configure the Android server as it is preconfigured in WSO2 EMM. This section provides information on how you can make the Android agent production ready.
...
Tip | ||
---|---|---|
| ||
|
...
Get a GIT clone of the Android Agent application from GitHub.
Update the Android Software Development Kit with the following:
SDK Versions 22 23 and 16.
Build Tools Version 22.0.1.
Install or update Android Support Library.
Install or update Google Play Services.
Install Google USB Driver, if you are on a Windows platform.
By default, the Android agent communicates with the server through HTTP. For production, this needs to be changed to https, by configuring the following parameters in the Java class named
Constants.java,
which is in theorg.wso2.EMM.agent.utils
package:SERVER_PORT
andSERVER_PROTOCOL.
Anchor step3 step3 Panel For more information see below:
Expand title Generating a BKS File Include Page Generating a BKS File for Android Generating a BKS File for Android 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 builtandroid.jar
file that has access to the restricted APIs.
You can get the newjar
file using one of the following methods:Download the Android Open Source Project (AOSP) and build the source code to get the
jar
file for the required SDK level.- Use a pre-built jar file from a third party developer. You can find it here: https://github.com/anggrayudi/android-hidden-api.
Import the project on Android Studio, clean and build the project.
Run the project on a device.
Info The .
apk
file can be found in the<
EMM_HOME>/repository/deployment/server/jaggeryapps/emm-web-agent/units/asset-download-agent-android/public/asset
directory.
What's next
Configure the Android Platform settings. For more information, see Android Platform Configurations.
- Register Android devices with EMM. For more information, see Registering an Android Device Using the QR Code.