Is there any way
overrides the default sound that is made when a USB cable or power cable is connected to an Android device.
I’m looking for a way to replace this default system sound with one of mine or turn off the sound completely.
I did a few digging in android developer referenceand found that intent "android.intent.action.ACTION_POWER_CONNECTED"could be used in a broadcast receiver to manage the power state connected to the device, But I can not interrupt this broadcast (in case I do not want to play the default sound), since this is not an ordered broadcast.
Is there any other way?
Any help is appreciated.
Thank.