Artemych / speakerproximity

Automatically exported from code.google.com/p/speakerproximity
0 stars 0 forks source link

Force close when using car dock #16

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I plugged the phone into the car dock; Almost immediately a message was 
displayed informing that SpeakerProximity had crashed.

This might be two bugs in one... I went into SpeakerProximity and dislabed it, 
expecting that to fully deactivate it. When plugging into the car dock, I still 
got a force close. Does disabling the app really fully disable it?

The car dock uses a bluetooth headset to transmit sound to the dock itself. It 
seems SpeakerProximity doesn't like bluetooth headsets all that much. I think 
that the app should get disabled when a bluetooth headset is detected and 
re-enabled when the headset disconnects.

Original issue reported on code.google.com by bons...@bonstio.net on 18 Oct 2010 at 4:13

GoogleCodeExporter commented 8 years ago
Can you attach a logcat of the event?

Disabling the app disables the functionality but to handle the bluetooth state 
I used broadcast receivers that write the actual state into sharedprefs because 
I can't access the bluetooth state directly in the app as it only sends 
broadcast if a BT headset is in use.

I don't have a cardock but my guess is in the bluetooth receiver...

Original comment by rac2...@gmail.com on 18 Oct 2010 at 8:46

GoogleCodeExporter commented 8 years ago
@greg do you have any log for me to take a look at this issue between changing 
diapers for the little boy ;-)

Original comment by michel.racic on 28 Oct 2010 at 10:00