For everybody interested, I posted this question at Stackoverflow and
for the office Hours:

http://stackoverflow.com/questions/2519449/spp-socket-createrfcommsockettoservicerecord-will-not-connect

So if there is going to be a solution, I'm going to post it above.

Thank you

PhilDev

On Mar 24, 11:47 am, Gavin <reason...@gmail.com> wrote:
> Gui <gui.ouellet <at> gmail.com> writes:
>
>
>
>
>
> > Hi, I currently run android 1.5 on a HTC magic. I'm trying to
> > communicate from my phone to abluetoothdevice that supports SPP. I
> > can't seem to be able to connect to the device. I have tryed two ways
> > to connect:
> > 1- via the official 2.0 API using the backport-android to make it work
> > on android 1.5
> > 2- via the unofficialbluetoothapi 0.3
>
> > Both method give me an error around the same connection process.
>
> > With API 2.0, I can discover devices and pair with them. Then i create
> > a socket which seems to work, but when I use the .connect() method, I
> > get this error in CatLog:    IOException Unable to start Service
> > Discovery. This is related to doSdp() in public class
> > BluetoothSocket.
>
> Hi,
>
> I have encounter the same problem (IOException: Unable to start Service) using
> the backport-android on my HTC Hero.
> I want to ask if you have solved the problem? If yes, could you share the way?
> Thanks.
>
> Gavin

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to