[android-developers] Re: Can't connect to SPP device

2010-03-25 Thread philDev
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,

[android-developers] Re: Can't connect to SPP device

2010-03-20 Thread philDev
As I wrote in my Email I got similiar Problems but I'm really certain that your app is the client here. There is not as much Documentation available as I hoped but here is some: http://developer.android.com/intl/de/guide/topics/wireless/bluetooth.html Greets Philipp Toelle On Mar 19, 1:12 pm,

[android-developers] Re: Can't connect to SPP device

2010-03-19 Thread Gui
I guess this is kind of tricky. The device i'm trying to connect is a GP-GC021 made by Sure electronics, the documentation is really weak. In the documentation, it's a slave device. So that would mean it acts has a server listening for connection, and my android would be the client ... ? I can't

[android-developers] Re: Can't connect to SPP device

2010-03-18 Thread moneytoo
createRfcommSocketToServiceRecord() is used for creating server socket, you can only call connect() on client socket. What mode does the device use you are trying to connect to? Please be aware that these unofficial API for 1.x doesn't work in server mode. On Mar 18, 5:00 pm, Gui