T twmshwn New Member Licensed User Longtime User May 31, 2012 #1 Hi I Am trying to find out when the Android losses connection with a Bluetooth device one of my attempts is to find out the RSSI signal BUT When I use Manifest AddPermission(android.permission.BLUETOOTH) AddPermission(android.permission.BLUETOOTH_ADMIN) AddReceiverText(s2, <intent-filter> <action android:name="android.bluetooth.device.action.FOUND"/>"/> </intent-filter>) Service Sub Service_Start (StartingIntent As Intent) Log(StartingIntent) Log(StartingIntent.ExtrasToString) End Sub I Get LogCat connected to: HT1BVV80???? --------- beginning of /dev/log/system --------- beginning of /dev/log/main ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] Why Do i get android.intent.extra.ALARM_COUNT=1 What does it mean?? Can you Help Please
Hi I Am trying to find out when the Android losses connection with a Bluetooth device one of my attempts is to find out the RSSI signal BUT When I use Manifest AddPermission(android.permission.BLUETOOTH) AddPermission(android.permission.BLUETOOTH_ADMIN) AddReceiverText(s2, <intent-filter> <action android:name="android.bluetooth.device.action.FOUND"/>"/> </intent-filter>) Service Sub Service_Start (StartingIntent As Intent) Log(StartingIntent) Log(StartingIntent.ExtrasToString) End Sub I Get LogCat connected to: HT1BVV80???? --------- beginning of /dev/log/system --------- beginning of /dev/log/main ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] ** Service (s2) Start ** (Intent) Intent { flg=0x4 cmp=com.lis/.s2 (has extras) } Bundle[{android.intent.extra.ALARM_COUNT=1}] Why Do i get android.intent.extra.ALARM_COUNT=1 What does it mean?? Can you Help Please
Erel B4X founder Staff member Licensed User Longtime User May 31, 2012 #2 Check the intent Action value. These intents seem to come from StartServiceAt calls. Upvote 0