Receive voice bluetooth SCO

by Ginobili » Fri, 20 May 2011 09:37:39 GMT

Sponsored Links

To begin, I'm French so exuse for my bad English. I want to receive
voice, sended by a Bluetooth module (free2move). The Bluetooth module
had SCO connections so I think that it's possible to route audio
between the module and an Android phone.

I try this code :

amanager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);

mPlayer.setDataSource(new FileInputStream("/sdcard/Music/

But it didn't worked. Do I have forgot something ? This project is
possible ?

Thanks for your help.


Other Threads

1. I registered a broadcast to detect sd card status, but it only works on the device below 2.1(include 2.1)

I registered a broadcast  to detect sd card status, but it only works
on the device below 2.1(include 2.1)

it's doesn't work on nexus one or 2.2 emulator...

android os will kill my process on nexus one and 2.2 emulator, but it
won't do that on device below 2.1(include 2.1)

is there anything wrong?

public class serviceSDcard extends Service {

        private static Context contextService           = null;
        private static AppWidgetManager awmService      = null;
        public static boolean bIsUnmount                        = false;
        public IBinder onBind(Intent intent) {
                return null;

        public void onStart(Intent intent, int startId) {

                IntentFilter intentFilter = new IntentFilter();
                intentFilter.addDataAuthority("*", null);

                registerReceiver(receiver, intentFilter);
                super.onStart(intent, startId);
        private BroadcastReceiver receiver = new BroadcastReceiver() {

                public void onReceive(Context context, Intent intent) {
                        try {
                                bIsUnmount              = !bIsUnmount;



                        } catch (Exception e) {
                                Log.d("main", e.toString());



2. Google TV Developers

Hey guys,

I'm sure some of you have heard about Google TV - I myself am e{*filter*}d
about the possibilities for Android apps in the living room. Being a
developer myself, I tried to find a community centered around Google
TV development and couldn't find one, so I started one. The site just
launched, but I think when the SDK is released, Android market is
opened, and the market for smart TVs grow, the developer community
will grow with it. Please join us at  http://www.***.com/  for
Google TV specific development.

- Chris


3. App Chooser not being shown when google browser is the default

4. Calling all developers who are passionate about health care

5. Testing several projects with a single test project

6. Plz remove me from this group than ksé”›

7. Setting focus programatically in ExpandableListView