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. do not get corrent value from window.innerHeight/innerWidth


I deveopment web application for android chromelite.
In web page is not set viewport,
I get html's height/width from window.innerHeight/innerWidth all of
the time though pinch in/ pinch out.
I want window size.
is there solution?


2. what are 9-patch bad patches?

I've created some button .pngs in CS4 Fireworks and have loaded them
into draw9patch. The shadow effects I'm using to create a 3D-ish look-
and-feel cause the draw9patch tool to mark all the stretchable areas
as 'bad'. What artifacts are created when 'bad patches' are stretched?
How do I steer clear of graphics that won't stretch properly as 9-
patch pngs?


3. Is it possible to use DDMS to send mock locations to a physical device?

4. How do I initiate/terminate xml-defined SurfaceView upon a button push?

5. MediaPlayer to play Multicast (igmp) medias?

6. Testing in app billing, all purchases end up cancelled

7. Flickr api connection with android