Sample Java app for handling app-specific configuration

Ivanti provides a sample Java app, HelloAppConnect-newAPI, which handles app-specific configuration. You can use the code from this app as a starting point for your app’s configuration handling.

HelloAppConnect-newAPI displays this screen:

HelloAppConnect-newAPI screen

The HelloAppConnect-newAPI app:

  • Calls sendBroadcast() when you tap Refresh, passing it an Intent object with the action "com.mobileiron.appconnect.action.REQUEST_APP_CONFIG".

  • Provides a callback method onConfigReceived().

    The callback method displays the received key-value pairs.

  • Displays whether the app is wrapped, based on the value of the system property "com.mobileiron.wrapped"

Sample apps, tester app, and Cordova plugin