Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You are not required to perform any additional steps to configure the Android server as it is preconfigured in WSO2 EMM.

Follow the instructions given below to configure and build the Android client application:

Info

Ensure that you have downloaded the Android Studio bundle before starting the configurations.

Expand
titleClick here for prerequisites

Include Page
PrerequisitesSystem RequirementsPrerequisites
System Requirements

Note

Support for the Android Developer Tools (ADT) in Eclipse is ending. Therefore, you should migrate the app development projects to Android Studio. For more information on transitioning to Android Studio, see Migrating to Android Studio.

  1. Get a GIT clone of the Android Agent application from GitHub.

  2. Update the Android Software Development Kit with the following:

    • SDK Versions 22 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.

  3. 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 the org.wso2.EMM.agent.utils package: SERVER_PORT and SERVER_PROTOCOL.

    Anchor
    step3
    step3

    Panel

    For more information see below:

    Expand
    titleGenerating a BKS File

    Include Page
    Generating a BKS File for Android
    Generating a BKS File for Android

  4. Import the project on Android Studio, clean and build the project.

  5. 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