Bluetooth HEADPHONE support needed

by Vida » Mon, 13 Apr 2009 12:17:51 GMT


Sponsored Links
 Currently, the only option for listening to music is via a corded/
plugged headphone set or through the built-in speaker.  I just
purchased a wonderful Bluetooth Stereo Headphone and Microphone
combo.  Android will only use it for phone calls when the Bluetooth is
paired.  I believe this to be a necessary feature that should be
included as soon as possible in the the next android updates.  The G-1
could beat the pants off the iphone if people could walk around
listening to their music on a wireless/cordless Bluetooth Stereo
Headphone set and then pause to take calls on the same headset.  This
should be built right into the main audio settings for media volume /
media output.  Since this unit was less expensive than most Bluetooth
microphones on the market, I can't wait to use all of its features on
my G-1 (eventually, hopefully)!

Wanted:  Play music on Bluetooth Headphones
Using:  Kensington BT3071 Bluetooth Stereo Headphones with Microphone
Purchased:  $30 at Micro Center April 9th, 2009
No available Market applications to support a Bluetooth Headphone
feature

--~--~---------~--~----~------------~-------~--~----~



Bluetooth HEADPHONE support needed

by lbcoder » Mon, 13 Apr 2009 20:48:38 GMT


 You might want to try reading/searching *BEFORE* posting questions
like this:
 http://source.android.com/roadmap/cupcake 




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. X86 ALSA Sound Issue

Hi All:

I port to alsa-sound alsa-lib on X86 system and I use alas_ctl produce
asound.conf to /system/etc/.

When I tried to play Music Player on Android system, time line of
music player isn't correct and it can't play audio.
How to fix it? Thank you..

I modified init.rc file and add following .

    # change permissions for alsa nodes
    symlink /dev/snd/pcmC0D0c /dev/pcmC0D0c
    symlink /dev/snd/pcmC0D0p /dev/pcmC0D0p
    symlink /dev/snd/controlC0 /dev/controlC0
    symlink /dev/snd/timer /dev/timer
    chmod 0777 /dev/pcmC0D0c
    chmod 0777 /dev/pcmC0D0p
    chmod 0777 /dev/controlC0
    chmod 0777 /dev/timer
    chmod 0666 /dev/binder
    chmod 0666 /dev/ashmem
    #following are new lines
    chown root audio /dev/snd/controlC0
    chown root audio /dev/snd/pcmC0D0c
    chown root audio /dev/snd/pcmC0D0p
    chown root audio /dev/snd/timer



Following Error log:

========================================================
E/AudioService( 2111): Media server died.
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2241): Waiting for sevice media.player...
E/MountListener( 2111): Failed to connect to vold
E/MountListener( 2111): java.lang.IllegalStateException
E/MountListener( 2111):         at
com.android.server.MountListener.listenToSocket(MountListener.java:
253)
E/MountListener( 2111):         at com.android.server.MountListener.run
(MountListener.java:273)
E/MountListener( 2111):         at java.lang.Thread.run(Thread.java:1058)
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2241): Waiting for sevice media.player...
I/        ( 2323): ServiceManager: 0x804ac38
E/ALSALib ( 2323): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
E/AudioHardwareALSA( 2323): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 2323): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidRecord
E/AudioHardwareALSA( 2323): Unable to attach mixer to device
AndroidRecord: No such file or directory
D/AudioHardwareALSA( 2323): Mixer: element name: 'Master'
D/AudioHardwareALSA( 2323): Mixer: element name: 'Front'
D/AudioHardwareALSA( 2323): Mixer: element name: 'Front Mic'
D/AudioHardwareALSA( 2323): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2323): Mixer: master 'PCM' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Earpiece' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Speaker' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Bluetooth' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Headphone' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Bluetooth A2DP' not found.
D/AudioHardwareALSA( 2323): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2323): Mixer: element name: 'Capture'
D/AudioHardwareALSA( 2323): Mixer: master 'Capture' found.
D/AudioHardwareALSA( 2323): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 2323): Mixer: route '' not found.
D/AudioHardwareALSA( 2323): Mixer: route 'Bluetooth Capture' not
found.
D/AudioHardwareALSA( 2323): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 2323): Mixer: route 'Bluetooth A2DP Capture' not
found.
D/AudioHardwareALSA( 2323): mixer initialized.
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm_hw.c:1445:
(_snd_pcm_hw_open) Invalid type for subdevice
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM NULL_Device
I/AudioHardwareALSA( 2323): Initialized ALSA PLAYBACK device
NULL_Device
W/AudioHardwareALSA( 2323): AudioMixer expects two channels, but only
-1 found!
W/AudioHardwareALSA( 2323): AudioMixer expects two channels, but only
-1 found!
I/AudioFlinger( 2323): AudioFlinger's thread ready to run for output 0
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm_hw.c:1445:
(_snd_pcm_hw_open) Invalid type for subdevice
E/ALSALib ( 2323): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM NULL_Device
I/AudioHardwareALSA( 2323): Initialized ALSA PLAYBACK device
NULL_Device
I/CameraService( 2323): CameraService started: pid=2323
E/AudioService( 2111): Media server started.
W/MediaPlayer( 2241): MediaPlayerService not published, waiting...
E/MountListener( 2111): Failed to connect to vold
E/MountListener( 2111): java.lang.IllegalStateException
E/MountListener( 2111):         at
com.android.server.MountListener.listenToSocket(MountListener.java:
253)
E/MountListener( 2111):         at com.android.server.MountListener.run
(MountListener.java:273)
E/MountListener( 2111):         at java.lang.Thread.run(Thread.java:1058)
W/AudioSystem( 2111): AudioFlinger server died!
I/ServiceManager( 2094): service 'media.audio_flinger' died
I/ServiceManager( 2094): service 'media.camera' died
I/ServiceManager( 2094): service 'media.player' died
W/MediaPlayer( 2241): MediaPlayer server died!
E/MediaPlayer( 2241): error (100, 0)
W/MediaPlayer( 2241): mediaplayer went away with unhandled events
E/MediaPlayer( 2241): Attempt to call getDuration without a valid
mediaplayer
E/MediaPlayer( 2241): error (-38, 0)
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2241): Waiting for sevice media.player...
E/AudioService( 2111): Media server died.
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
E/MountListener( 2111): Failed to connect to vold
E/MountListener( 2111): java.lang.IllegalStateException
E/MountListener( 2111):         at
com.android.server.MountListener.listenToSocket(MountListener.java:
253)
E/MountListener( 2111):         at com.android.server.MountListener.run
(MountListener.java:273)
E/MountListener( 2111):         at java.lang.Thread.run(Thread.java:1058)
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2241): Waiting for sevice media.player...
I/        ( 2332): ServiceManager: 0x804ac38
E/ALSALib ( 2332): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
E/AudioHardwareALSA( 2332): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 2332): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidRecord
E/AudioHardwareALSA( 2332): Unable to attach mixer to device
AndroidRecord: No such file or directory
D/AudioHardwareALSA( 2332): Mixer: element name: 'Master'
D/AudioHardwareALSA( 2332): Mixer: element name: 'Front'
D/AudioHardwareALSA( 2332): Mixer: element name: 'Front Mic'
D/AudioHardwareALSA( 2332): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2332): Mixer: master 'PCM' not found.
D/AudioHardwareALSA( 2332): Mixer: route 'Earpiece' not found.
D/AudioHardwareALSA( 2332): Mixer: route 'Speaker' not found.
D/AudioHardwareALSA( 2332): Mixer: route 'Bluetooth' not found.
D/AudioHardwareALSA( 2332): Mixer: route 'Headphone' not found.
D/AudioHardwareALSA( 2332): Mixer: route 'Bluetooth A2DP' not found.
D/AudioHardwareALSA( 2332): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2332): Mixer: element name: 'Capture'
D/AudioHardwareALSA( 2332): Mixer: master 'Capture' found.
D/AudioHardwareALSA( 2332): Mixer: route 'Capture' found.
D/MediaPlayer( 2241): Error (100,0)
W/MediaPlayer( 2241): mediaplayer went away with unhandled events
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2241): Waiting for sevice media.player...
E/AudioService( 2111): Media server died.
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
E/MountListener( 2111): Failed to connect to vold
E/MountListener( 2111): java.lang.IllegalStateException
E/MountListener( 2111):         at
com.android.server.MountListener.listenToSocket(MountListener.java:
253)
E/MountListener( 2111):         at com.android.server.MountListener.run
(MountListener.java:273)
E/MountListener( 2111):         at java.lang.Thread.run(Thread.java:1058)
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
I/ServiceManager( 2241): Waiting for sevice media.player...
I/ServiceManager( 2111): Waiting for sevice media.audio_flinger...
E/MountListener( 2111): Failed to connect to vold
E/MountListener( 2111): java.lang.IllegalStateException
E/MountListener( 2111):         at
com.android.server.MountListener.listenToSocket(MountListener.java:
253)
E/MountListener( 2111):         at com.android.server.MountListener.run
(MountListener.java:273)
E/MountListener( 2111):         at java.lang.Thread.run(Thread.java:1058)
I/ServiceManager( 2241): Waiting for sevice media.player...
I/        ( 2341): ServiceManager: 0x804ac38
E/ALSALib ( 2341): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
E/AudioHardwareALSA( 2341): Unable to attach mixer to device
AndroidPlayback: No such file or directory
E/ALSALib ( 2341): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidRecord
E/AudioHardwareALSA( 2341): Unable to attach mixer to device
AndroidRecord: No such file or directory
D/AudioHardwareALSA( 2341): Mixer: element name: 'Master'
D/AudioHardwareALSA( 2341): Mixer: element name: 'Front'
D/AudioHardwareALSA( 2341): Mixer: element name: 'Front Mic'
D/AudioHardwareALSA( 2341): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2341): Mixer: master 'PCM' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Earpiece' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Speaker' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Bluetooth' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Headphone' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Bluetooth A2DP' not found.
D/AudioHardwareALSA( 2341): Mixer: element name: 'Front Mic Boost'
D/AudioHardwareALSA( 2341): Mixer: element name: 'Capture'
D/AudioHardwareALSA( 2341): Mixer: master 'Capture' found.
D/AudioHardwareALSA( 2341): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 2341): Mixer: route '' not found.
D/AudioHardwareALSA( 2341): Mixer: route 'Bluetooth Capture' not
found.
D/AudioHardwareALSA( 2341): Mixer: route 'Capture' found.
D/AudioHardwareALSA( 2341): Mixer: route 'Bluetooth A2DP Capture' not
found.
D/AudioHardwareALSA( 2341): mixer initialized.
E/ALSALib ( 2341): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
E/ALSALib ( 2341): external/alsa-lib/src/pcm/pcm_hw.c:1445:
(_snd_pcm_hw_open) Invalid type for subdevice
E/ALSALib ( 2341): external/alsa-lib/src/pcm/pcm.c:2201:
(snd_pcm_open_noupdate) Unknown PCM NULL_Device
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. How to launch a 'selection dialog' on Android

Hi,

When I click the home screen, android pops up a 'selection dialog' (i
am not sure what is the technical term) to ask me to add 'Widget',
'Shortcut', 'Folder', etc. etc.
Can you please tell me how to pop up those kind of  selection dialog?
Where can I find example for that?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

3. Load ListView in ListActivity and prevent user

4. error during "make BUILD_TINY_ANDROID=true"

5. how can I retrieve the list from the PHP DataBase

6. How to get into command mode after booting in virtualbox

7. How to get into command mode after booting in virtualbox