Send intent to the AE agent via an Android app

YR
Yoan R
COPPERNIC

Hello,

We would like to develop an Adndroid application that could send intent to the android enterprise agent installed on the device.

Is there a way to directly contact the agent (does the AE agent have an intent receiver?) or do we have to go through the MobiControl API? (We would prefer to send an intent directly to the agent without going through the API)

Android Enterprise Device Owner (agent version 14.3.3.1038)

MobiControl vesion 14.3.3.1111

Thank you for your answer

BR, Yoan.

5 years ago
Android
ANSWERS
RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

Via the intent mechanism, what exactly do you want the device agent to do for your app?

YR
Yoan R
5 years ago (edited 5 years ago)

Hello Raymond,

For now, switch between the administrator mode and the user mode and send a message for both scenarios "Kiosk OFF" vs "Kiosk ON". 

Is there any documentation or something ? Thank you

RC
Raymond Chan Diamond Contributor
5 years ago

That is interesting!

If your app can have the device agent does what you said with an intent, then so can a malware on the device.  If so, do you think your device is safe and will you use MobiControl on your device?

MD
Matt Dermody Diamond Contributor
5 years ago

I agree with the security concerns around exposing that level of access to an outside, untrusted, application. The kiosk/lockdown has built in mechanisms to enable you to get into Admin mode at the device level. Why would you need a separate standalone application to perform that function?