I'm trying to capture a hardware SOS button to start a b4a app. I've attached the adb USB debugger to the device and got the following when I pressed the button:
I've created a new b4a app and have tried using a Service, Activity & Receiver to capture the button unsuccessfully, and I'm seeking advice on what else to try, please.
B4X:
02-05 17:42:57.972 944 1046 D SOS : android.intent.action.SOS.down
I've created a new b4a app and have tried using a Service, Activity & Receiver to capture the button unsuccessfully, and I'm seeking advice on what else to try, please.
B4X:
AddServiceText(SOSService,
<intent-filter>
<action android:name="android.intent.action.SOS.down" />
</intent-filter>)
AddReceiverText(SOSIntent,
<intent-filter>
<action android:name="android.intent.action.SOS.down" />
</intent-filter>)
AddActivityText(SOSActivity,
<intent-filter>
<action android:name="android.intent.action.SOS.down" />
</intent-filter>)