What intent is sent to the application to launch from the Profile?
Hello Josh Bradley,
Thank you for your post, please elaborate your question.
Technical Support | SOTI Inc. |1.905.624.9828 | email@example.com | www.soti.net |
We're building an application that we only what to run once and this will be when the application is installed.
To do this, we're going to limit the application to only work when it receives the intent from MobiControl after the Profile has been installed.
To do this, I need to know what intent is sent to the application when it "Automatically Run Activity after Install"
What make you think that an intent is sent to the app installed if the option you mentioned is selected. Is your program a normal app or a background sevice? If you plan to implement an Android intent in your code, you define what the intent is, and you include MobiControl "sendintent" script command to your installed app based on the intent you have implemented.
If you want to run the installed app/service right after its installation, instead of using the option you mentioned, you might also try using in the pcg post-install script a "start bundle_ID" script command to run it, followed by a "sendintent" script command to initiate some specific function(s). It should work, though I haven't tried anything similar in the past.