How use sendintent

M
Mark
Zetes B.V. (Netherlands)

Hi,

I'm trying to run an application using sendintent, but I can't figure out how to get this working.

When I use adb, I can run the command:

adb shell am broadcast -n "com.symbol.selfdiagnostics/com.symbol.selfdiagnostics.SESReceiver"

How can I execute this via a script with sendintent?

Cheers, Mark

5 years ago
Android Scripting
ANSWERS
J
JCMOD@SOTI
5 years ago
M
Mark
5 years ago

I tried that script (that was one of my guesses), but doesn't work for me.
When using the adb command, a (new) file appears, that's how I check if it works.

J
JCMOD@SOTI
5 years ago

Hi Mark,

I recommend you look into using ADB Logcat and identify what is going on within the backend of Android. You can also download additional logs via MobiControl Web Console -> View Device -> Logs -> "Download Logs" Button -> Device Agent Activity. Then you can match up the time that the script is sent to the ADB Logcat.

ADB Command Example: adb logcat -v threadtime *:V >> C:\temp\ADBLogs.txt

Reference: https://developer.android.com/studio/releases/platform-tools

Also make sure you're utilizing the latest agent, plugin, and firmware where applicable. You may need to disable Chatty if you're utilizing a System Signed agent for ADB Logcat to show everything: chattyfilter disable and then re-enable it via chattyfilter restore.

Regards,