Why my Android DevPhone 2 keep recgonizing my notebook computer as a Headset?

by AITD » Mon, 26 Apr 2010 13:46:55 GMT

Sponsored Links
 Hi everyone,

I'm new to Android development. And now I'm trying to do some practice
about bluetooth.
I bought a Android DevPhone 2 which OS is Android 1.6. Not support
bluetooth API of course.
So I have to us "backport-android-bluetooth" to program.

But now I got a problem here.
It always shows a headset icon on the right side of the pairing device
item of my computer.

And I use "32feet.NET 2.5" as a PC client to send a message to ADP2
using RFCOMM after paired.
But from adb logcat, everytime PC wants to send something to ADP2,
ADP2 always says
incoming headset connection, and the connection is actully
successfully established.
But then the adb will tell me either "Listener poll() successful but
with a unexpected revent of bitmask 0x018",
or, it will tell me "Connection reset by peer" after I tried once or

Does anyone has any idea why my PC is recognized as a headset.
Or it has nothing to do with the error I encountered with, then how am
I suppose to solve it?

Thank you for your time and I'm looking forward to your answer.

Chris Wang


Other Threads

1. cannot bind to a service in an AppWidgetProvider.onUpdate().

i get an error message like --

09-30 20:08:24.733: ERROR/AndroidRuntime(949): Caused by:
android.content.ReceiverCallNotAllowedException: IntentReceiver
components are not allowed to bind to services
09-30 20:08:24.733: ERROR/AndroidRuntime(949):     at

so i guess you can't bind to a service in an AppWidgetProvider -
although you can start the service just fine... ??


2. Get AndroidManifest.xml Content

Hi, i'm developing a library and i need to know how to parse the
AndroidManifest.xml file in order to get the Application Version
Number from it dinamically.

Bests. Andrea

3. How to run any video with adb command

4. A week of judging ADC2 apps. "Judges" share your experience.

5. simple apk builder example

6. HTC Hero cannot search some applications found in Market

7. Does onActivityResult get called when an activity is recreated?