austgl / a2dpvolume

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

BT connect feature not working in Android 4.2 #149

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While I have not yet confirmed this, code leveraged from this project is used 
in A2DP Connect.  A2DP Connect does not return the interface from IBluetooth or 
IBluetoothA2dp.  See details here:
http://code.google.com/p/a2dp-connect/issues/detail?id=11

Original issue reported on code.google.com by JimR...@gmail.com on 3 Jan 2013 at 12:08

GoogleCodeExporter commented 9 years ago
I debugged this on my Jellybean device.  The failing line is: 
                IBinder b = (IBinder) m2.invoke(null, "bluetooth_a2dp");
in the Service.java class in the getBluetoothA2dp() method.
m2.invoke is returning null, which causes the rest of the calls to fail.

The user experience that drives this call is the auto-connect to another 
bluetooth device feature.  

Original comment by gotc...@gmail.com on 4 Jan 2013 at 6:14

GoogleCodeExporter commented 9 years ago
Yes, I found that too. Thanks for the feedback.  I found it in A2DP Connect but 
it uses the same part for this as A2DP Volume.  I need to know what changed in 
IBluetoothA2dp.java or if that interface even still exists in 4.2.  I have not 
been able to find that information yet.  

Original comment by JimR...@gmail.com on 4 Jan 2013 at 6:18

GoogleCodeExporter commented 9 years ago
I have been working the issue here: 
http://code.google.com/p/a2dp-connect/issues/detail?id=11
I will update this when I get it fixed but if you want to track progress, add 
comments, etc use the issue 11 in A2DP Connect.

Original comment by JimR...@gmail.com on 5 Jan 2013 at 11:30

GoogleCodeExporter commented 9 years ago
Quick update.  I got this functionality working now on A2DP Connect.  I have 
some cleanup and optimization to do before I am completely done but it does 
work now.  I will apply those fixes to A2DP Volume soon.

Original comment by JimR...@gmail.com on 13 Apr 2013 at 4:03

GoogleCodeExporter commented 9 years ago
This issue was closed by revision e999d869033b.

Original comment by JimR...@gmail.com on 15 Apr 2013 at 2:00