I have a device actively connected to the computer via Bluetooth. From my C#.NET application I wish to disconnect the device so that the computer is no longer connected to the device.
How would I go about doing this?
I'm guess it would have something to do with finding the appropriate Socket and disconnecting that socket? (But this is ...
I have an application in which I am going to be ransferring data via a bluetooth connection.
In my proof of concept app, I was able to put the bluetooth communication in a different thread and keep all of my other work on the same activity (using ViewFlipper).
However, for my next iteration, I will need to use several different "screen...
Hi,
I have a bluetooth RFCOMM socket waiting in accept, after an incomming connection I send a command to the remote devie and read the answer with recv. This works perfect if I use the debugger or the debug build exe. In the release build I got a connection and send the command after that the select before recv is returning for receive...
Hi
How can i know if a BluetoothSocket is still connected to the endpoint? How can i detect if the socket has been disconnected by the endpoint?
Thanks
...
Hello,
I thought it would be quite easy to develop a bluetooth application on Android, but it looks like the support is very bad.
While pairing works, my Nexus One with Android 2.1 can't connect to the PC. It's the same in Windows and Ubuntu. I used on my Desktop computer, in Windows, Hyperterminal and waited on an incoming bluetooth c...
I'm not very sure but for some reasons I can't use a BlueToothListener that receives string information.
I tried following this example, and it doesn't seems to work.
Code Snippet
private Guid Rffcomm = BluetoothService.RFCommProtocol;
private void btnConnect_Click(object sender, EventArgs e)
{
if (comboBox1.SelectedValue != null...
Hi,
Iam connecting 3G phone for my Android device for internet connection and another Socket(SPP) for CAN signal receiving.Whenever I manually connect to the Bluetooth tethering via 3G phone, i can browse internet perfectly and speed is good.Whenever programmatically connect to the 3G connection, i couldn't browse internet.i checked in s...
Does anyone have a script (or know if it is possible) to detect bluetooth via a webpage (without knowing beforehand if the device viewing the page has bluetooth).
What I'd like to do is check for bluetooth and poll for nearby devices.
Can this be done? Or could it be done if you knew what device someone was using? ie. is it OS dependen...
Yes, I know Android has already implemented the Bluetooth Headset
Profile, but it is in Audio Gateway Role, not in HeadSet Role.
What I want to do is develop an application on Android phone which
will act as a bluetooth headset, so it can connect to my laptop by
bluetooth.
When I try to call somebody, I can use my phone to dial him, and...
hi there!
i need to get a list of available bluetooth devices in the area using google android 2.1
thing is, i don't just need a list of those devices, i need some unique id for each device found and i need an indicator, how "good" the signal is received (like the "level" in android.wifi.ScanResult)... how do i do that?
...
Is it possible to use a mobile phone flash app to access the bluetooth and connect to another phone?
Thanks.
...
I am developing a chat application using bluetooth.Initially i was sending text only and was receiving it correctly.
NSData *mydata=[str dataUsingEncoding:NSUTF8StringEncoding];
[self sendPacket:mydata ofType:0];
-(void) sendPacket:(NSData*)data ofType:(PacketType)type
{
NSMutableData * newPacket = [NSMutableData dataWithCapacity:([d...
Hello all. I'm working on a research project which involves Bluetooth and the Android OS. I need to make Bluetooth discoverable indefinitely in order for the project to continue.
The Problem:
Android limits discoverability to 300 seconds.
I cannot ask the user every 300 seconds to turn discoverability back on as my application is d...
Is there a way to let the user select which device they use for audio output?
In the docs I have found that you can select which route to use by setting kAudioSessionProperty_OverrideAudioRoute to either:
kAudioSessionOverrideAudioRoute_None, or
kAudioSessionOverrideAudioRoute_Speaker
However I would like to let the user to use the...
Hello everyone,
I need to connect my android to a bluetooth device. I use the BluetoothChat sample from Google.
I had some trouble to do this with a Google Nexus one, because the Nexus was making the connection but disconnects right after. I need to initiate twice time the connection as workaround (see connectionLost()).
Now, it works...
I need just a basic example or tutorial of making a mobile phone and a computer communicate via Bluetooth.
A good link/website to start from is also appreciated.
Server part (computer part) can be made on many programming languages (Java, C++, Python or even something else).
Client part (mobile phone) must be a Java Micro Edition MIDl...
Hello,
I am currently in the research phase of my project on Android.I am interested in developing indoor custom maps application.There are 2 problems I am currently facing in this
1) I can't use GPS as it won't work in the indoor settings like a building or a mall and 2) I can't use Google Maps API as I need to show my location on a in...
If I am developing an iPad app (the "Server") which needs to communicate with up to 4 iPhone/iPod Touches (the Clients) how can I manage this?
The two apps will be separate. Should I create 4 GKSessions for each of the iPhones? Should I have 1 GKSession which connects all 5 devices, and if I do, will each iPhone be able to "see" the othe...
I am looking for a Bluetooth stack for Windows XP that supports HFP. Here is what I have found so far:
Wildcomm - HFP not supported or no one has be able to enable it.
Microsoft - support for HFP in their embedded platforms.
Toshiba - supports HFP, but their Bluetooth stack seems to be only for their products.
Has anyone had any luck...
Gamekit applications running under 4.0 do not properly handle removing GKSession objects. Running under 3.1.3 or 3.2, if a peer disconnects and the session is cleaned up (as in Apple demos):
[gkSession disconnectFromAllPeers];
[gkSession setAvailable:NO];
[gkSession setDelegate:nil];
[gkSession setDataReceiveHandler:nil withContext:nil]...