[android-developers] Bluetooth connection problem between Raspberry and Android

2016-03-15 Thread 'Fiddendoerp' via Android Developers
Hey there, maybe someone can help me, I posted on stackoverflow as well, but it is urgent and I can not find a solution or a command on recently posted problems/solvings. The Problem: After connecting a raspberry pi and an android app we can send data over the created socket. But if the sock

Re: [android-developers] Bluetooth connection

2013-11-01 Thread sting
Thats not the problem. I need a device that when it is asked to connect with a SPP profile, it knows what to do. I have a bluetooth card that I have configured to work in SPP mode but it seems that android still can't connect. I just want to know what commands I need to send to the device to

Re: [android-developers] Bluetooth connection

2013-10-31 Thread Kristopher Micinski
It seems that something like this would do the trick: http://www.miniinthebox.com/bluetooth-master-uart-board-wireless-transceiver-module-uart-interface-host-mode_p394547.html?currency=USD&litb_from=paid_adwords_shopping&gclid=CJbo1KSwwboCFdGe4AodKzQAzQ It's got a UART interface and lets you stic

[android-developers] Bluetooth connection

2013-10-30 Thread sting
I am building a device that basically has a UART so I can send and receive bytes. I want to be able to control the device, send configuration information to the device, using an android phone. Is there a way for such a simple device to establish a connection with the BlueToothServer/socket.

[android-developers] Bluetooth connection that persists through activity life-cycle

2013-08-22 Thread RLScott
I have a Bluetooth implementation in my app that goes through its entire set-up and tear-down in onResume and onPause in my main activity. The application communicates with a Bluetooth serial adapter. The trouble is that sometimes the user needs to leave our main activity for some other activ

Re: [android-developers] Bluetooth connection problem

2012-08-30 Thread Bryan
rauf, I think you replied to the wrong topic, could you please delete your post? Thank you, Bryan On Thursday, August 30, 2012 10:15:58 AM UTC-4, rauf qureshi wrote: > > > > //demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.login > > //I have develop following code can any body tell me

Re: [android-developers] Bluetooth connection problem

2012-08-30 Thread rauf qureshi
//demo3.idhasoft.us/iloyal/api/iloyal/customer.php/customer.login //I have develop following code can any body tell me solution of following errors import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.kso

[android-developers] Bluetooth connection problem

2012-08-30 Thread Bryan
I've been trying to resolve a bluetooth connection problem between my app and service running on my laptop. I've paired my phone, a Nexus S 4G running AOSP 4.1.1, with my laptop through the System Settings. In my app, I'm unable to connect to my service over this pairing. However, if I go back

[android-developers] Bluetooth Connection failing in android OS 2.3 and above

2012-07-10 Thread Jonathan Lim
Hi, i have am developing an application which connects to Bluetooth and it works perfectly in android OS 2.1 and 2.2 however when i tested with OS 2.3 and above i am unable to connect, does anyone have any clue? Thanks -- You received this message because you are subscribed to the Google Group

Re: [android-developers] Bluetooth Connection without Permission

2011-06-22 Thread Kristopher Micinski
Id like to do this too... but the protocol spec diallows iirc. You'll have to pair. On Jun 22, 2011 2:28 PM, "Shaurin" wrote: I have to connect two devices via Bluetooth in such a way that the sending device sends a string (for example,'Hello world') to the device found in Device Discovery. It s

[android-developers] Bluetooth Connection without Permission

2011-06-22 Thread Shaurin
I have to connect two devices via Bluetooth in such a way that the sending device sends a string (for example,'Hello world') to the device found in Device Discovery. It should be noted that this should not ask for the second device to accept the connection request. The string should automatically b

Re: [android-developers] Bluetooth connection refused

2011-04-05 Thread Kristopher Micinski
This has also happened to me, where even after you accept the pairing request you still get a connection refused error. I'm not sure why it happens, but to fix it in my code I've always just used some strategy to try again if this happens. However, when I try it the next time it (usually) works, I

[android-developers] Bluetooth connection refused

2011-04-05 Thread social hub
Hi I am trying to connect over bluetooth. after initiating connection through the app the system prompts for "pairing request" and it takes 1 0r 3 seconds to get to that prompt. Finally I select pair The other device also prompts for pairing request and I selected "pair" After these things I

[android-developers] Bluetooth connection with PC.

2010-12-28 Thread Saya
Hello there, Is there a tutorial , describing connecion to PC with bluetooth ? ( I'm writing soft on Android 2.1 ). I've got confused on all those stacks, and other things, and only seen chat tutorial via bluetooth on two phones. Could you please give me some tips, or do you know any source for t

[android-developers] Bluetooth connection refused

2010-11-22 Thread christmas
hi erveryone, i have a problem when i use BluetoothSocket.connect(), it cause the "connection refused" error as follow: 11-21 00:25:11.086: DEBUG/dalvikvm(16199): Debugger has detached; object registry had 1 entries 11-21 00:25:11.086: INFO/ActivityManager(85): Start proc com.liqiang.bluetooth fo

[android-developers] Bluetooth Connection Dropping

2010-10-26 Thread John
Hi, I have program that runs a bluetooth connection. The socket connects fine. We then read/write from the related streams. This works fine for about a minute, then we start to get IOExceptions from the InputStream.available() and OutputStream.write() functions. The IOException indicates that the s

[android-developers] Bluetooth connection : pairing before connecting ?

2010-03-03 Thread Thomas
I'm having an issue here while trying to connect to an RS232 device with the BluetoothChat sample program. 1- If I first pair my phone with the device through Bluetooth Settings, no problem. The connection is made perfectly and the program works. 2- If not bonded beforehand, I get two errors in a

Re: [android-developers] bluetooth connection - paring required?

2009-11-12 Thread Neiman Buffard
ok for starters im pretty sure im not doin this right but i wanted to throw an idea at anyone who would take the time to read/listen for upgrades to come if it cant make the cut for the next one. I would like to see this done in an upgrade instead of an app only because i feel that this is somthin

Re: [android-developers] bluetooth connection - paring required?

2009-11-12 Thread Nick Pelly
On Thu, Nov 12, 2009 at 8:51 AM, Sean Liao wrote: > === copy and pasted === > We only auto-pair using when: > 1.) the remote device looks like a headset > 2.) the user initiated the connection request through Bluetooth Settings > > 2 questions to the above: > 1.) Do both conditions have to

Re: [android-developers] bluetooth connection - paring required?

2009-11-12 Thread Sean Liao
=== copy and pasted === We only auto-pair using when: 1.) the remote device looks like a headset 2.) the user initiated the connection request through Bluetooth Settings 2 questions to the above: 1.) Do both conditions have to meet or either one? 2.) how to make the remote device looks like

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Nick Pelly
On Wed, Nov 11, 2009 at 4:55 PM, Sean Liao wrote: > Thanks for the quick response. Having watching this topic for a long > time since 1.1, I just cannot help feeling a little down now. > I'm sure you'll recover. We're talking about one dialog in the case of connecting to a new device. > Not t

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Sean Liao
Thanks for the quick response. Having watching this topic for a long time since 1.1, I just cannot help feeling a little down now. Not trying to complain, I just want to make sure I did not miss anything feature I can utilize. On top of my head, there was a discussion mentioning that using a

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Nick Pelly
On Wed, Nov 11, 2009 at 3:13 PM, Sean Liao wrote: > Do you mean that if the remote device doesn't require a pin, the android > api will not be able to establish a connection to such remote devices? > BluetoothSocket enforces pairing. You'll need to pair before the connection can complete. > >

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Sean Liao
Do you mean that if the remote device doesn't require a pin, the android api will not be able to establish a connection to such remote devices? Do I have an option to inject the paring key pragmatically if my appl already know the pin code of the remote device? Or, if the remote device doesn't re

Re: [android-developers] bluetooth connection - paring required?

2009-11-11 Thread Nick Pelly
On Sun, Nov 8, 2009 at 12:34 PM, Sean Liao wrote: > Hi, > > Before 2.0 released, there were some questions/discussions related to the > Bluetooth security, i.e whether paring is required to establish connection. > > Anyone know the answer or try it out already: Is paring requirement > enforced i

[android-developers] bluetooth connection - paring required?

2009-11-09 Thread Sean Liao
Hi, Before 2.0 released, there were some questions/discussions related to the Bluetooth security, i.e whether paring is required to establish connection. Anyone know the answer or try it out already: Is paring requirement enforced in the new bluetooth api in SDK 2? Any public info available rel

Re: [android-developers] Bluetooth connection between Android - PC

2009-11-02 Thread Nick Pelly
Try using the RFCOMM protocol. It's similar to TCP but for Bluetooth. See BluetoothSocket.java. Nick On Mon, Nov 2, 2009 at 8:16 AM, AntoniMG wrote: > Hi developers, > > Is there any way to comunicate an android phone with a computer trough > bluetooth? Ive made a server/client applicattion in

[android-developers] Bluetooth connection between Android - PC

2009-11-02 Thread AntoniMG
Hi developers, Is there any way to comunicate an android phone with a computer trough bluetooth? Ive made a server/client applicattion in Java using bluetooth, but i need to do the client in Android and i dont know how to start, I dont know even if is possible. Is there any way to do it? Is possi