[android-developers] Bluetooth Peer to Peer network in Android..

2012-05-19 Thread sudheesh ap
Hi Friends, Any idea about a p2p protocol to implement on Android? What about the chord protocol? Can we use it on Android Bluetooth API? Can we make an Android Game based on this p2p platform? Please reply if anyone have the idea about this. Thanks in advance, Sudheesh A P

Re: [android-developers] Bluetooth Peer to Peer network in Android..

2012-05-19 Thread Kristopher Micinski
On Sat, May 19, 2012 at 10:34 AM, sudheesh ap hellosud...@gmail.com wrote: Hi Friends,           Any idea about a p2p protocol to implement on Android? What about the chord protocol? Can we use it on Android Bluetooth API? Can we make an Android Game based on this p2p platform?     Please

Re: [android-developers] Bluetooth chat application problem

2012-05-08 Thread Save My Life!
thanks sir solved. On May 7, 2012 3:34 PM, Jason Teagle teagle.ja...@gmail.com wrote: I have installed Bluetoothchat Example on my phone. when i run Connect Secure/Insecure then it always show ... I have debugged application. i found the error is : javaIO exception Service Discovery

[android-developers] Bluetooth chat application problem

2012-05-07 Thread Bhavin
Dear sir i am using Samsung Galaxy y android 2.3.3 I have installed Bluetoothchat Example on my phone. when i run Connect Secure/Insecure then it always show unable to connect I have debugged application. i found the error is : javaIO exception Service Discovery failed Please help me to solve

Re: [android-developers] Bluetooth chat application problem

2012-05-07 Thread Jason Teagle
I have installed Bluetoothchat Example on my phone. when i run Connect Secure/Insecure then it always show ... I have debugged application. i found the error is : javaIO exception Service Discovery failed See if this link helps:

[android-developers] Bluetooth obtain custom info from discovery

2012-05-04 Thread Agus
Hi, I'm working with Bluetooth on an Android project, an I'm trying to obtain a list of visible bluetooth devices to show the user. My objective is, obtain the list, check if the user discovered has the same application opened, and then, add him to the list. Is it possible add custom info (a

[android-developers] Bluetooth Buffer.

2012-05-01 Thread Alan Grixti
Hey, I'm making use of a bluetooth communication but however when two mesagges are sent too soon they get jumbled up. I'd need to call the flushing of the bluetooth buffer manually through code. Is there a way this can be done? Regards Alan Grixti -- You received this message because you are

[android-developers] Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
E/BluetoothChatService( 8403): Hata E/BluetoothChatService( 8403): java.io.IOException: Connection refused E/BluetoothChatService( 8403): at android.bluetooth.BluetoothSocket.connectNative(Native Method) E/BluetoothChatService( 8403): at

[android-developers] Bluetooth devices is pairing but not connecting

2012-04-29 Thread hüseyin toplu
E/BluetoothChatService( 8403): Hata E/BluetoothChatService( 8403): java.io.IOException: Connection refused E/BluetoothChatService( 8403): at android.bluetooth.BluetoothSocket.connectNative(Native Method) E/BluetoothChatService( 8403): at

[android-developers] Bluetooth Android SPP, send commands in series to device?

2012-04-12 Thread pcarnut
I'm working with this elegantly written piece of code from Matt Bell's blog, located here: http://bellcode.wordpress.com/2012/01/02/android-and-arduino-bluetooth-communication/ source located here: http://project-greengiant.googlecode.com/svn/trunk/Blog/Android%20Arduino%20Bluetooth Without

[android-developers] Bluetooth game structure

2012-04-05 Thread Vivek Punjabi
I am developing a multiplayer card game using bluetooth. I've developed the singleplayer game and now want to convert it to multiplayer game using bluetooth. Can someone please suggest the modifications(if needed) or do I have to built the entire game again? Thanx in advance. -- You received

[android-developers] Bluetooth HDP demo

2012-04-02 Thread sreedhar
Hi all, I'm executing the Bluetooth HDP Demo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. I tried installing the .apk file in the mobile phone and it says read data and i also get a message read data done but it doesn't show me the data. I was trying to compile the

[android-developers] Bluetooth HDP demo

2012-04-02 Thread sreedhar
Hi all, I'm executing the Bluetooth HDP Demo [1] (offered from Android 4.0 Ice Cream Sandwich) in my Android smartphone. I tried installing the .apk file in the mobile phone and it says read data and i also get a message read data done but it doesn't show me the data. I was trying to compile the

[android-developers] Bluetooth keyboard

2012-03-28 Thread channa kad
Hi All, I wanted to programatically detect if bluetooth keyboard is connected to my device. Is there any way to achieve it in Java? Thanks, Channa -- 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] Bluetooth (BT) Hardware keyboard custom layout and special keys service

2012-03-18 Thread Никита Траторов
https://lh3.googleusercontent.com/-junDMI1xOCI/T2XUzN_5f5I/AqE/y1_FhThZjh8/s1600/IMG_3119.JPG *Good day to all developers!* I have a Bluetooth (BT) Hardware keyboard RAPOO E6300, working on my SGSII with Android 2.3.5. It is working fine, but some special keys is not mapped as

Re: [android-developers] bluetooth porting, hciattach

2012-03-11 Thread vijay Badawadagi
you will need the hciattach service anyway. but i believe the hciattach needs to be started something like this service hciattach /system/bin/hciattach /dev/ttyUSB0 . so insead of ttys dev node it will be ttyUSB dev node Thanks Vijay On Fri, Mar 9, 2012 at 7:24 AM, enming xie

[android-developers] bluetooth porting, hciattach

2012-03-11 Thread enming xie
Hello, Everyone. I am now doing the Bluetooth porting on Android 4.0.3 for a board of Freescale. The Bluetooth dongle(adapter) is Sitecom USB bluetooth2.0 class 1 dongle CN-521 with the main chip CSR BC04 (Cambridge Silicon Radio Ltd. BlueCore 04) in it. I read on

[android-developers] Bluetooth HDP demo can communicate only once

2012-02-28 Thread wambin
Hi all. I'm building Bluetooth HDP application with Android 4.0.2 Galaxy Nexus. I confirmed the demo can communicate with a health device at first time, but second time or later it cann't. Sometimes Android reboots when I unregister the application config or stop the application. The demo can

Re: [android-developers] Bluetooth HDP demo can communicate only once

2012-02-28 Thread Praveen Kumar
Hi i need some help is support for developing a sink or agent application using HDP is available in ICS 4.0.2 does any one have any sample to share if possible, or any resource which can be read giving detail about implementing HDP in an application. On Wed, Feb 29, 2012 at 11:27 AM,

[android-developers] Bluetooth (RFComm) and broken phones

2012-02-22 Thread eehouse
I'm modifying a board game app to allow play via Bluetooth. I'm testing on a stack of devices from Samsung, Kyocera, Motorola and HTC. Consistently the HTC phone (Sensation) gets into a state where it won't accept connections (BluetoothServerSocket.accept() never returns though the logs show

[android-developers] [Bluetooth] Device ID Profile

2012-02-14 Thread Ming
I have done an android application to get data from bluetooth medical device that support HDP (Health Device Profile) . But how can I get the device id from the medical device? It seems that it is defined in Device ID Profile, but I can't find it in android API Thank You. -- You received this

[android-developers] Bluetooth insecurerfcomm automated pairing request on ICS

2012-02-07 Thread rapgaroo
I own a Nexus S and it's currently running ICS 4.0.3 (OTA from T- Mobile). I have my own application which does Bluetooth connection stuff using Insecure method to ignore the boring pairing process. After when I updated my Android OS to ICS 4.0.3, my app is requesting for a pairing with the

[android-developers] Bluetooth bluetooth permission request dialog - recreated on screen rotation

2012-01-30 Thread Sam Sama
I have following permissions set in AndroidManifest.xml uses-permission android:name=android.permission.BLUETOOTH / uses-permission android:name=android.permission.BLUETOOTH_ADMIN / And there is android:configChanges=orientation value set for the activity. I am using following code in my

[android-developers] Bluetooth Socket over a TCP-Socket

2012-01-30 Thread Daimoe
Hi My task is do develop a Android app which is able to connect to a other device via Bluetooth and communicate with the TCP Socket there. At the other Device there are a Socket Server written in c# (TCP Socket). I can connect to the Bluetooth socket. But if i try to connect to the TCP Socket

[android-developers] Bluetooth and Kindle Fire...

2012-01-30 Thread Tim
I have a little Bluetooth app (based on BluetoothChat sample code) that works fine on a couple of devices, but I thought I'd test on Kindle Fire (which does not have Bluetooth) to make sure I got Bluetooth is not available error. But no - the call to BluetoothAdapter.getDefaultAdapter(), which

[android-developers] Bluetooth without UUID?

2012-01-25 Thread darrinps
I am working on an Android Bluetooth application to mimic one done on Blackberry. The Blackberry app connects to a Bluetooth server without issue. My Android app OCCASIONALLY connects to the Bluetooth server (pairs and discovers just fine every time) I began to suspect the common UUID they were

[android-developers] [android developers] bluetooth insecure connection still requests pairing on my ICS

2012-01-19 Thread rapgaroo
I own a Nexus S and it's currently running ICS 4.0.3 (OTA from T- Mobile). I have my own application which does Bluetooth connection stuff using Insecure method to ignore the boring pairing process. After when I updated my Android OS to ICS 4.0.3, my app is requesting for a pairing with the

[android-developers] bluetooth

2012-01-16 Thread vikram s
how to send the data to other android device via bluetooth -- 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] Bluetooth error

2012-01-02 Thread kAmMa
hi, after clean buiild of ICS AOSP (4.0.3) and deploying on Galaxy Nexus (Maguro) device i get this error in logcat: I/bluedroid( 208): bt_enable: ret: -1, errno: 19 and bluetooth doesnt work. Can anyone help ? Thx, kAmMa -- You received this message because you are subscribed to the

[android-developers] BlueTooth SCO BlackList

2012-01-02 Thread tom
Hi , At the Gingerbread version there was a BALCKLIST mechanization (at the android_bluetooth_ScoSocket.cpp file), I have noticed that this mechanization is removed at the ICS version. Does someone know why ? or maybe it got transfer to different location ? Thanks, Ram -- You received this

[android-developers] [Bluetooth] Creating an insecure RFCOMM socket still requires pairing

2011-12-29 Thread smichak
I am using the listenUsingInsecureRfcommWithServiceRecord and createInsecureRfcommSocketToServiceRecord calls in order to connect one Android device to another. On the first setting I had a Nexus One and a Nexus S both running Android 2.3.6 - on this setting, connecting did not pop Pairing

[android-developers] Bluetooth HDP android 4.0 really works?

2011-12-15 Thread Raul Ruiz
Im testing HDP profile for android 4.0. I think that it doesnt works correctly because Im trying with Nonin 9560BT and it connects but it doesnt sends medical data to android. The trouble is the next: First, I init bluetoothAdapter and I getProfileProxy. After, device connects to android. I

[android-developers] Bluetooth voice recorder

2011-12-07 Thread Parov
Hi, I'm trying to record the audio from my motorola S9 BT headset on Samsung froyo 2.2. When I call someone with this headset paired, I can listen and talk trought the this. So, I try a to do a little apk: I still listen trought BT headset, but the voice is automatically recorded from the

[android-developers] Bluetooth Low Energy (BLE) - bluetooth 4.0 support

2011-11-28 Thread Mik
Dear all, I am looking forward the time when we could connect our android devices towards devices supporting BLE. Obviously I expect that android devices will support Dual profile (capability to connect via bluetooth towards old devices and towards Bluetooth low energy devices). If I understood

[android-developers] Bluetooth pairing status problem

2011-11-15 Thread somdas
When I connect two samsung galaxy nexus device (using out of band), one of the device shows that it is paired but not connected with the other device. But the other device shows its status as pairing. But I am able to send files between both the devices. Can anyone tell me why one of the device

[android-developers] Bluetooth Sniff idle timeout in Bluez stack.

2011-11-03 Thread Nick
Folks, With Bluez stack running on my phone, and a PC dongle (supporting HFP/ A2DP), i am seeing a problem. Bluetooth SOC on the phone is not going in Sniff mode, as a result the power drained is very high. This is only when a PC dongle is bonded to the phone. If a A2DP headset is bonded, it

[android-developers] Bluetooth Handler problem

2011-10-25 Thread miundroid
hi all, i am new to the android and i am developing an android application. this application is communicated with micro controller via Bluetooth (spp) for this project i am using Bluetooth chat application . but in this application reading the messages from the device its giving last

[android-developers] Bluetooth OBEX Object Push Profile Server

2011-10-04 Thread droidGurl
Hello Android Developers! I have been googling this like crazy and I cannot find a clear cut answer to the feasibility of my undertaking. I have a Bluetooth hardware device whose code I do not have access to. I would like to use this device with an android phone. The device looks for an OBEX OPP

[android-developers] Bluetooth: stuck at connect() method

2011-10-04 Thread Javier Pérez Arias
I'm programming a simple Bluetooth client to send and receive text messages throught RFCOMM as a serial port. I had a look at the Android SDK tutorials and did it in the same way: an Activity which calls a thread to make the connection, and once done, another thread to take care of msg reception.

[android-developers] BlueTooth File Transfer

2011-09-30 Thread Jovish P
How to transfer a file from my application to another phone through Bluetooth ? Any API is available for it ? If it's there from which level it's supported ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] bluetooth spp protocal

2011-09-16 Thread miundroid
hi all, I was wondering if anyone knows the data frame protocol that android uses by default. Or if anyone knows of a technical document with this information I'd be more than happy to read it for myself. I need to know what exactly the data frame looks like, for example... 8-data bits | 1 Odd

Re: [android-developers] bluetooth spp protocal

2011-09-16 Thread Kristopher Micinski
Under the hood it's the same bluez stack as linux iirc. you can find it in the source. (http://source.android.com) Kris On Fri, Sep 16, 2011 at 11:55 AM, miundroid anil.m@gmail.com wrote: hi all, I was wondering if anyone knows the data frame protocol that android uses by default. Or if

[android-developers] Bluetooth printer skipping lines of print

2011-09-15 Thread Sebs
We are pairing a blue tooth printer with an android phone and trying to print a file. The printer has 16K memory. It is ignoring a few lines of the file randomly. Is there a method to ensure that the printer always prints the complete content of the file. -- You received this message because you

[android-developers] Bluetooth Dev Guide and BluetoothAdapter Javadoc have conflicting information

2011-09-12 Thread Dan
The Bluetooth Dev Guide http://developer.android.com/guide/topics/wireless/bluetooth.html#Ena... and BluetoothAdapter http://developer.android.com/reference/android/bluetooth/BluetoothAda... Javadoc have conflicting information about Bluetooth discoverable lengths, I was wondering if I could get

[android-developers] Bluetooth sync fails.

2011-09-09 Thread Ankur Avlani
Hi, I am trying to develop an application on bluetooth. I am successfully able to pair and send,receive data. Everything works fine. I have a service running in the background, which keep on checking for any incoming connections. Now if i leave the device as is for an hour or more. Android

[android-developers] Bluetooth signalling between phones?

2011-09-07 Thread Droid
I want to make a bluetooth app that detects the same app in another phone when near eachother. Is this possible without pre-pairing the phones? -- 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] Bluetooth HID profile in 3.1

2011-09-04 Thread BT
Hi, Does anyone know if it is possible to use bluetooth HID profile in android 3.1? Android claims HID support is there for both USB and Bluetooth, but I can't really see how to use it in the API. The device connects properly as a HID device when paired, but how do I get a handle to it in the

[android-developers] Bluetooth issue

2011-09-03 Thread darrinps
I am trying to build an app that receives data from a device that sends out information via a dongle attached to an RS232 port over Bluetooth. I can pair to the device and others like a Garmin Nuvi just fine, but I cannot see the data. For example, when I type in the phone number on the Garmin

[android-developers] Bluetooth Dev Guide and BluetoothAdapter Javadoc have conflicting information

2011-09-02 Thread Dan
The Bluetooth Dev Guide http://developer.android.com/guide/topics/wireless/bluetooth.html#EnablingDiscoverability and BluetoothAdapter http://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#ACTION_REQUEST_DISCOVERABLE Javadoc have conflicting information about Bluetooth

[android-developers] Bluetooth not getting paired

2011-08-29 Thread Shashidhar
Hi, I am trying to pair a Bluetooth device in my program. I open a server socket and wait for the client to connect and when the client connects to the server for the first time, its prompting a Bluetooth pairing request dialog. So far its all fine. But even if I enter the correct

[android-developers] bluetooth device voice chat

2011-08-08 Thread netskink
Hi, Maybe this off topic, but does the android API support a bluetooth voice chat capability? What i mean is that could an app be written which allow two android phones with bluetooth headsets talk to one another over bluetooth only? John -- You received this message because you are

[android-developers] Bluetooth: Nexus S working with Macbook

2011-08-04 Thread Arthur Farias
Hello guys, i'm pretending to develop an app that will be able to communicate a Android (Google Nexus S) phone with a macbook. I tried to use the android.bluetooth package, using the Bluetooth Chat example(available herehttp://developer.android.com/resources/samples/BluetoothChat/index.html), but

[android-developers] Bluetooth SPP Service Discovery Intermittent but Persistent failures

2011-07-26 Thread ole!
Can anyone shed some light please? Phones with problem: Sprint HTC EVO 4G Verizon HTC Thunderbolt 4G - latest Android builds Phones without problem: various including G1, other HTC phones, various Droids Description of code logic: 1. get paired Bluetooth device (device is successfully paired)

[android-developers] Bluetooth headset

2011-07-23 Thread Sanchiski
How can be detected if a bluetooth is currently connected? I already used the intent BluetoothDevice.ACTION_ACL_CONNECTED, but this one is sent at connection time, also i tried to check with isBluetoothA2dpOn but doesn't work either. I itarated through al the bluetooh devices and even if the

[android-developers] Bluetooth Audio gateway problem; system slow to crawl after using serial over Bluetooth

2011-07-20 Thread gerryscat
I'm developing an application that uses a bluetooth connection to a proprietary device. Everything seems to work fine, except after a while my Samsung tablet slows to an absolute crawl and is basically unusable until the next forced reboot. I'm seeing this message in alogcat:

[android-developers] Bluetooth voice chat

2011-07-19 Thread kamal g.c
I need to develop the Bluetooth functionality in my app, but no idea that how to implement it, any guidelines and example from u will be greatly helpfull. -- 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] Bluetooth Stack version on Android phone

2011-07-14 Thread sumit
Hi, Is there any API to know the Bluetooth stack version on the Android phone? Thanks Sumit -- 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

[android-developers] bluetooth on LG Optimus

2011-07-11 Thread bob
How do I turn on bluetooth on my LG Optimus phone? -- 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

Re: [android-developers] bluetooth on LG Optimus

2011-07-11 Thread Raghav Sood
Read the user manual and don't use a developer's list for these questions. Use a device forum. On Mon, Jul 11, 2011 at 8:11 PM, bob b...@coolgroups.com wrote: How do I turn on bluetooth on my LG Optimus phone? -- You received this message because you are subscribed to the Google Groups

[android-developers] Bluetooth help

2011-07-11 Thread bob
I got my computer paired with my phone by Bluetooth. How do I get Eclipse to detect the phone by Bluetooth? -- 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

Re: [android-developers] Bluetooth help

2011-07-11 Thread Kristopher Micinski
On Mon, Jul 11, 2011 at 12:49 PM, bob b...@coolgroups.com wrote: I got my computer paired with my phone by Bluetooth. How do I get Eclipse to detect the phone by Bluetooth? What do you want to do? Bluetooth support is not in the emulator. Kris -- You received this message because you are

Re: [android-developers] Bluetooth help

2011-07-11 Thread Raghav Sood
Why do you want eclipse to detect your phone over bluetooth? AFAIK it doesn't support it, at least not natively. On Mon, Jul 11, 2011 at 11:19 PM, bob b...@coolgroups.com wrote: I got my computer paired with my phone by Bluetooth. How do I get Eclipse to detect the phone by Bluetooth? --

Re: [android-developers] Bluetooth Serial Port Question

2011-06-27 Thread Navindian
we are expecting a similar functionality from android. On Fri, Jun 24, 2011 at 1:05 PM, Si simonstewartke...@googlemail.comwrote: Hi, Can someone point me in the right direction please?! I am trying to connect to an industrial product using Android over Bluetooth. The device does not

[android-developers] Bluetooth Serial Port Question

2011-06-24 Thread Si
Hi, Can someone point me in the right direction please?! I am trying to connect to an industrial product using Android over Bluetooth. The device does not support pairing. I have written an application in WM6.5 and that works fine. The sequence of events is: Discover device and establish a

Re: [android-developers] Bluetooth Serial Port Question

2011-06-24 Thread wu mark
Dear Si : I'm a new learner for Android I'm trying to test the bluetooth now. Could you tell me more detail about the Windows to listen receive data from other devices(such as Android phone/pc) through Bluetooth? Is there any example? Thanks in advanced. BR, Mark 2011/6/24 Si

[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

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 shauringh...@gmail.com 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

[android-developers] Bluetooth simultaneous connections to multiple devices

2011-06-20 Thread Edwin Tsang
Does Gingerbread support simultaneous connection to multiple devices? It seem there might be topology issue e.g. scatternet, slave to two master.. The use case is e.g. play music to stereo headset and send file to PC. Anyone got this working on Gingerbread? -- You received this message because

[android-developers] Bluetooth: Can't connect to socket on a linux box

2011-06-09 Thread André Cruz
Hello. I'm running the Bluetooth Chat example trying to trick it into connecting to a linux box where I have a service registered with the UUID of the chat service, but although it finds the service, it never connects and throws an error: D/BluetoothChat( 4078): onActivityResult -1

[android-developers] Bluetooth encryption technique in android

2011-06-06 Thread manish
Dear All I want to set the encryption key size for Bluetooth in Android, but not able to find the files where the exact encryption happens . I have seen that BluetoothSocket class does take encryption as a boolean argument in constructor, but when i followed it to the JNI layer, found that it

Re: [android-developers] Bluetooth: Server vs Client

2011-05-26 Thread Shashidhar
On Thu, May 26, 2011 at 9:38 AM, JR jayarr.patri...@gmail.com wrote: Hello I am new in android application development. I have red the BluetoothChat sample code and having a hard time understanding the server-client side. My question is: If I set the device (say dev1) be the server and the

[android-developers] Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-26 Thread keyeslabs
I'm trying to use bluetooth SPP to establish a socket connection between two Android devices. There are a few things that are really driving me crazy in this effort. First, the Galaxy Tab seems to just be broken when it comes to SPP. I can establish the connection just fine, but after a few

Re: [android-developers] Bluetooth is driving me nuts -- Galaxy tab lockups and pairing stupidity

2011-05-26 Thread dan raaka
can you post some logs $ adb shell getprop | grep -i finger info -Dan On Thu, May 26, 2011 at 6:58 PM, keyeslabs keyes...@gmail.com wrote: I'm trying to use bluetooth SPP to establish a socket connection between two Android devices. There are a few things that are really driving me

[android-developers] Bluetooth: Server vs Client

2011-05-25 Thread JR
Hello I am new in android application development. I have red the BluetoothChat sample code and having a hard time understanding the server-client side. My question is: If I set the device (say dev1) be the server and the other device (dev2) be the client, can I expect a mutual communication

Re: [android-developers] bluetooth printer on apps

2011-05-12 Thread Justin Anderson
1) Implement a bluetooth printer app 2) Send a text file to it. 3) Read this: http://www.catb.org/~esr/faqs/smart-questions.html Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, May 9, 2011 at 4:36 AM, Rocky rkjhaw1...@gmail.com wrote: Hi All, I

[android-developers] bluetooth printer on apps

2011-05-09 Thread Rocky
Hi All, I want to implement bluetooth printer on my apps, I want to print a text file over bluetooth. Please let me know how to proceed. -- Thanks Regards Rakesh Kumar Jha -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Bluetooth external touchpad interaction

2011-05-09 Thread Steve Hansen
Folks, This one is for someone who has played around with Bluetooth devices a bit, which I haven't. I have a simple swipe(fling)-tap interaction demo app that works perfectly on the device (DroidX). I am attempting to drive it with a Bluetooth connected touchpad. The Bluetooth touchpad

[android-developers] Bluetooth functionality to work in Emulator

2011-05-08 Thread Shekhar
Hi, I am working on a assignment for which the hardware is still not ready and using the android emulator for development purpose.I wanted to use the bluetooth in emulator using BT USB dongle. Is it possible to make bluetooth functionality work in the emulator? Any comments/help will be highly

Re: [android-developers] Bluetooth functionality to work in Emulator

2011-05-08 Thread Kristopher Micinski
No, it's not supported in the emulator. Unfortunately you'll have to find a cheap dev device and work your app. Why is your hardware not ready, have you just not bought the phones yet :-)? Kris On Sun, May 8, 2011 at 8:28 PM, Shekhar shekhar...@gmail.com wrote: Hi, I am working on a

[android-developers] Bluetooth server and channel number

2011-04-26 Thread mbaroukh
Hi all. I'm facing a problem I don't find how to handle. I'm doing an application that listen for bluetooth incomming connection. As recommanded, - I have a BluetoothServerSocket that call listenUsingRfcommWithServiceRecord(() - I'm asking for the BluetoothSocket with accept() method of

Re: [android-developers] Bluetooth socket send issue

2011-04-20 Thread social hub
Thanks Kris. Yes I didnt see any errors when I send message to nokia phone. Has anyone connected successfully to iphone from android over bluetooth. ? Thanks On Tue, Apr 19, 2011 at 1:46 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Tue, Apr 19, 2011 at 9:15 AM, social hub

Re: [android-developers] Bluetooth socket send issue

2011-04-20 Thread Kristopher Micinski
No, I don't believe so. I heard this is why the bump app did not use it, but I might be incorrect. (See if you can find any apps on the market, it's possible there are.) Kris On Wed, Apr 20, 2011 at 11:20 AM, social hub shubem...@gmail.com wrote: Thanks Kris. Yes I didnt see any errors when

Re: [android-developers] Bluetooth in Android

2011-04-20 Thread M.Nasir Aftab
Dear yes anothet device mean other phone+pc both. In past I use code from that chat example given on developer site On Apr 10, 2011 11:44 PM, Kristopher Micinski krismicin...@gmail.com wrote: Another device like another phone? How did you do it? You have to do discovery and pairing first. And

Re: [android-developers] Bluetooth socket send issue

2011-04-20 Thread M.Nasir Aftab
Dear first explain using what code and how u r trying to send msg Have u debug the code and see what prcess running behind the GUI On Apr 18, 2011 11:27 PM, social hub shubem...@gmail.com wrote: I was able to connect to nokia device over bluetooth, When I try to send a message using

Re: [android-developers] Bluetooth socket send issue

2011-04-20 Thread Kristopher Micinski
Yes, he did, read the previous emails on this thread. Kris On Mon, Apr 18, 2011 at 4:14 PM, M.Nasir Aftab aftab.nasi...@gmail.comwrote: Dear first explain using what code and how u r trying to send msg Have u debug the code and see what prcess running behind the GUI On Apr 18, 2011

Re: [android-developers] Bluetooth socket send issue

2011-04-19 Thread social hub
With Nokia I can establish connection. Here the connection was successful but as mentioned when I Send using socket.send() it seems successful I dont see any errors on logcat. Any thoughts on why nokia is not showing that message. I also flushed as mentioned but I dont see any hello on nokia

Re: [android-developers] Bluetooth socket send issue

2011-04-19 Thread Kristopher Micinski
On Tue, Apr 19, 2011 at 9:15 AM, social hub shubem...@gmail.com wrote: With Nokia I can establish connection. Here the connection was successful but as mentioned when I Send using socket.send() it seems successful I dont see any errors on logcat. Any thoughts on why nokia is not showing that

[android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
I was able to connect to nokia device over bluetooth, When I try to send a message using bluetooth socket I dont see anything on the nokia device. Does anyone know what I might be wrong. Thanks -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread Kristopher Micinski
Umm... You'll need to supply the code on both sides. Is the nokia also an Android? Me and most of my friends have problems connecting with non-android devices. But, you didn't give any more information beyond it doesn't work, what's wrong? So a little more information would be nice :-).

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
Thanks Kris Sorry nokia is not a android device. mmSocket.send(Hellow.getBytes()); After this I expect to see something on nokia device. But I dont see anything. Also I tried the bluetooth chat that didnt work either. I am android 2.1 I will post the actual code in a few hrs. On Mon, Apr

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread social hub
Here is the latest code. Also I wasnt able to connect to iphone public ConnectThread(BluetoothDevice device) { // Use a temporary object that is later assigned to mmSocket, // because mmSocket is final BluetoothSocket tmp = null; mmDevice = device;

Re: [android-developers] Bluetooth socket send issue

2011-04-18 Thread Kristopher Micinski
Nice, when you say you weren't able to connect to iphone, what does this mean? That it rejected the pairing request? That the same thing happened? Have you debugged through you code? Can you even *get* a connection between the devices? Put a breakpoint and find out if you are getting to the

[android-developers] Bluetooth pairing with Android 2.3 and using insecure RFCOMM sockets

2011-04-13 Thread D
1. Assuming two Android phones are running Android 2.3+, bluetooth 2.1, and are listening/connecting using the new insecureRfcomm APIs...will a pairing authentication dialog prompt pop up? In other words, can a bluetooth connection be made on two mobile devices with these insecure rfcomm sockets

Re: [android-developers] Bluetooth pairing with Android 2.3 and using insecure RFCOMM sockets

2011-04-13 Thread Kristopher Micinski
I discovered this article: http://mobisocial.stanford.edu/news/2011/03/bluetooth-reflection-and-legacy-nfc/ Nice, huh? Kris On Tue, Apr 12, 2011 at 12:49 PM, D dkatsou...@gmail.com wrote: 1. Assuming two Android phones are running Android 2.3+, bluetooth 2.1, and are listening/connecting

[android-developers] Bluetooth in Android

2011-04-10 Thread Vishal Rajpal
Hello Everyone.. I want to connect another android device using bluetooth. I have tried but was nt able to.. Can anyone help me -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Bluetooth in Android

2011-04-10 Thread Me
Dear Vishal Rajpal ; *Android BlueTooth example on developer site is an good example to connect and discover devices * *using both discovering and pairing method .* *Tell me where you are facing problem ?* * * On Sat, Apr 9, 2011 at 5:55 PM, Vishal Rajpal

Re: [android-developers] Bluetooth in Android

2011-04-10 Thread Kristopher Micinski
Another device like another phone? How did you do it? You have to do discovery and pairing first. And yes, BT chat example does illustrate things pretty well. Kris On Sat, Apr 9, 2011 at 9:55 AM, Vishal Rajpal vishalrajpal.ap...@gmail.comwrote: Hello Everyone.. I want to connect another

[android-developers] Bluetooth Walkie Talkie

2011-04-06 Thread Aditya Singal
Hi, I am trying to implement a walkie talkie set between two android mobile phones using bluetooth connection. But I am not sure how to send audio data as a stream through bluetooth. So far I am trying to use media recorder to capture audio. mRecorder = new MediaRecorder();

Re: [android-developers] Bluetooth Walkie Talkie

2011-04-06 Thread Kristopher Micinski
You'll have to connect the phones right, and then send a stream of data... I think you might want to look into how BT headsets work in this type of scenario, that's probably what you want to do instead. (I'm out of my element here, I'm not sure if that's possible with the API.) Otherwise you

[android-developers] Bluetooth SPP UUID reserved

2011-04-06 Thread skostopoulos
I am working on an Android Application that communicates with another device via bluetooth. It opens a Bluetooth Server Socket with the well-known standard UUID for SPP communication: (1101--1000-8000-00805F9B34FB). But since the Android 2.2 update on my Archos Tablet this fails with an

<    1   2   3   4   >