Hi,
I need to broadcast few of the below system intents, but there is some issues..
1) android.intent.action.BATTERY_CHANGED
#Intent;action=android.intent.action.BATTERY_CHANGED;launchFlags=0x60000000;B.present=true;i.scale=100;i.level=50;i.status=2;i.plugged=2;i.health=2;end
Issue: "java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.BATTERY_CHANGED"
How to overcome this issue, any keystore do we need to use it to achieve this??
#Intent;action=android.intent.action.DEVICE_STORAGE_OK;end
Issue: "java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.DEVICE_STORAGE_OK"
and
#Intent;action=android.intent.action.SCREEN_OFF;launchFlags=0x40000000;end
java.lang.SecurityException: Permission Denial: not allowed to send broadcast android.intent.action.SCREEN_OFF
So please let me know, how to sign the app or what else do we need to do for this.
Regards,
Rajesh Kumar