Bluetooth connection notification

Post your questions and help other users.

Moderator: Martin

Post Reply
Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Bluetooth connection notification

Post by Wibbly » 07 Jan 2015 15:44

Anyone happen to know which app/package generates the notification for incoming Bluetooth connection/pairing requests on Lollipop? I see a notification shade notification and a Bluetooth icon appears on the left of the status bar... It'd like to use that as a trigger for a flow (unless someone knows of a different/better method).

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Bluetooth connection notification

Post by Martin » 07 Jan 2015 20:24

You can expand the statusbar and long-press the notification. The notification should now show the app icon and the name of the app that posted the notification. Maybe it's Android System, package would be android in this case.

andy
Posts: 40
Joined: 29 Dec 2014 21:00

Re: Bluetooth connection notification

Post by andy » 07 Jan 2015 20:41

A small additional tip: Maybe it works on Lollipop too. Under 4.3 there is a class called .Settings$NotificationStationActivity. It is part of com.android.settings. If you start it in "Start App" action you will get complete list of notification since bootup. By tab on an entry it will open App-Info too.
So you dont need to wait until next time your notification appears

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Bluetooth connection notification

Post by Martin » 07 Jan 2015 21:06

Great tip, I completely forgot about the notification log hidden in the settings app. It still exists in Lollipop.

Wibbly
Posts: 418
Joined: 17 Mar 2014 09:02

Re: Bluetooth connection notification

Post by Wibbly » 08 Jan 2015 09:31

andy wrote:A small additional tip: Maybe it works on Lollipop too. Under 4.3 there is a class called .Settings$NotificationStationActivity. It is part of com.android.settings. If you start it in "Start App" action you will get complete list of notification since bootup. By tab on an entry it will open App-Info too.
So you dont need to wait until next time your notification appears
There's a standard Android settings shortcut I can put on the home screen that seems to show the same list. The Bluetooth paring request wasn't in the list. I will re-investigate immediately I get the next request.

Thanks for the steer (both you and Martin) :)

Post Reply