Isac Active Member Licensed User Longtime User Dec 19, 2015 #1 Hi, I need to generate a sound when I plug the USB cable into the smartphone Is there any library about? thank you
Hi, I need to generate a sound when I plug the USB cable into the smartphone Is there any library about? thank you
Erel B4X founder Staff member Licensed User Longtime User Dec 20, 2015 #2 You need to create an intent filter that listens to the android.intent.action.ACTION_POWER_CONNECTED action. See this tutorial: Intent Filters - Intercepting SMS messages in the background Upvote 0
You need to create an intent filter that listens to the android.intent.action.ACTION_POWER_CONNECTED action. See this tutorial: Intent Filters - Intercepting SMS messages in the background