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.
7,
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
twice.

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.

Cheers
Chris Wang

--



Other Threads

1. Delaying

I'm working on a part of my application to change a textview text. But
I do not know how to make it delay like I want it to. I tried using a
schedule(runnable, delay, unit) but it never worked unless the delay
was 0. How would I make it delay for like 3 seconds?

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

2. How to use IOCTL() to access H/W, via Sahred Library + JNI or else, in Android applications?

Hi, Dianne,

Truly thanks for your kind reply, indeed.

Many thanks,

Mars Alucard



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

3. Where can I get com.google.googlenav Package

4. How to create a fixed size(eg. 30x30 ) main window?

5. Android Testing with TMobile G1

6. Issue 2204: logcat service can not run while add parameters -n 2

7. Download of [Application} was unsuccessful