[android-developers] Re: Android Bluetooth Increase Speed Performance

2016-06-07 Thread gjs
Improve transfer speed by buffering the reads and writes (in pre-allocated fixed sized arrays) and DON'T allocate a new byte buffer in the middle of your while loop... On Tuesday, June 7, 2016 at 3:18:13 AM UTC+10, Devin Chen wrote: > > > I am trying to increase the transfer speed on android

[android-developers] Re: Android, Bluetooth HID Keyboard, 'recent apps' 'Consumer Device' code

2015-03-16 Thread Nadav
*UPDATE:*What I need is the HID equivalent of executing to following adb commandline ( that trigges the 'Recent Apps' menu ): adb shell input keyevent 187 On Saturday, March 14, 2015 at 7:05:52 AM UTC+2, Nadav wrote: Use-case 1. Implement a BlueTooth keyboard to connect to an android

[android-developers] Re: Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-07 Thread tom_mai78101
I did a Pastebin for those who don't want to download the attachment. For your convienence. Pastebin http://pastebin.com/jFDjWTc7 -- -- 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] Re: Android Bluetooth: I get Connection Refused after unpairing two devices, invoke user pairing, and accepting/listening connections.

2013-02-07 Thread bob
Why not call accept with no timeout? socket = mmServerSocket.accept(); That makes more sense. On Thursday, February 7, 2013 11:13:21 AM UTC-6, tom_mai78101 wrote: There is an attachment that contains an Android application project for Eclipse, zipped nicely in a ZIP folder. *Problem:*

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2012-05-21 Thread Ali Rezaeian
I am using the Android Bluetooth Chat Sample, and I was wondering how and where I should add codes to able to connect to multiple devices? On Wednesday, December 22, 2010 8:57:53 PM UTC-6, Kristopher Micinski wrote: Many people have this problem, this implements a Bluetooth Piconet, this is

[android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2012-05-21 Thread koladoo nitish
i have tried this solution.. but it does not work. it crashes on the third device connction. We get an error like this 05-12 15:41:55.463: I/net.clc.bt.ConnectionService(10793): IOException in getConnectedSocket 05-12 15:41:55.463: I/net.clc.bt.ConnectionService(10793): java.io.IOException:

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2012-05-21 Thread Kristopher Micinski
That seems to be a general problem, and it's typically with device hardware, rather than anything you're doing. Basically, may manufacturers cheap out on the BT adapters, (or the lower level APIs aren't working properly). It sucks, but it's nothing you're doing, if I'm understanding your

[android-developers] Re: Android Bluetooth l2cap socket bind()

2012-04-17 Thread Sam
Anyone could help??? Please... On Apr 17, 4:58 pm, Sam ckjboy2...@gmail.com wrote: Android version: 2.3.7 Kernel version: 2.6.35-14-CyanogenMod-Arco-Kalim arco@tuxbox #1 Mod version: CyanogenMod-7.1.0.1-click The device has been fully rooted. I have added piece of code in my project

[android-developers] Re: Android - Bluetooth communication with Lego NXT brick

2011-05-19 Thread damienb2
ok thank you for your answer ! but in fact, the author of the topic on javaspecialists.eu use the LeJOS firmware on the NXT brick, so the LeJOSlibrary too. I don't want to use this library, because i want my android application running whatever the firmware is. Anywhere i will email him, maybe

[android-developers] Re: Android - Bluetooth communication with Lego NXT brick

2011-05-18 Thread gjs
Hi Have a look at http://www.javaspecialists.eu/archive/Issue189.html And maybe email the author. Regards On May 18, 7:43 pm, damienb2 damien.bruc...@gmail.com wrote: Hello everybody! i'm developping an android application to remote control a lego mindstorm NXT. The NXT let the mobile

[android-developers] Re: android bluetooth

2010-12-24 Thread Per
As far as I can see, Android does not currently support playing sound (beeps or other) through a mono (SCO) BT headset. I believe that BT stereo (A2DP) headsets work, though. Have not tried. You might want to check this thread for more info: http://code.google.com/p/android/issues/detail?id=7906

[android-developers] Re: android bluetooth

2010-12-24 Thread Indicator Veritatis
You are welcome. Now as for your handset beep: there is no API in the android.bluetooth packet for generating the headset beep on a remote device. The best you can hope for is that the headset manufacturer publishes a protocol for setting this using the RFCOMM a.k.a. SPP link to the device. But I

[android-developers] Re: android bluetooth

2010-12-23 Thread Indicator Veritatis
Yes, that is right. You did not get your point across properly. You are doing better in this post, though, despite the disappointing typo of '[oint' for 'point'. But if you do know that the beep is at headsets[sic] control, why you even asking where it is? That makes no sense. The truth of the

[android-developers] Re: android bluetooth

2010-12-23 Thread Jags
Thanks a ton IV, I am happy as long as I get some relevant solution :) . 1. Beep, means I did not mean default handset beep. I meant in my custom application i play a sound. if my hedset is paired when i am playing the sound in my custom application using Mediaplayer class, will it be heard in my

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-22 Thread 苗鹏
I looked at the FBTClickLinkCompetehttp://code.google.com/p/apps-for-android/source/browse/#svn%2Ftrunk%2FBTClickLinkCompete 'source, for (int i = 0; i Connection.MAX_SUPPORTED myBSock == null; i++) { for (int j = 0; j 3 myBSock == null; j++) { myBSock =

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-22 Thread Kristopher Micinski
Many people have this problem, this implements a Bluetooth Piconet, this is why this is using seven different UUIDs for the Bluetooth socket. I went through this example and saw how it is implemented, it is similar to how we implement this client/server functionality in a few of our applications

[android-developers] Re: android bluetooth

2010-12-22 Thread Jags
thanks IV, I guess i could not put my [oint across properly. Beep is at headsets control, i know. Now when the headset is paired, and my custom application plays a beep, does it automatically beep in the headset or in the handset ? if it automatically beeps in the headset, good, if not what can i

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread 苗鹏
could you share me your code?Thanks! 2010/12/20 James 030440...@163.com of course you can, On Dec 18, 9:25 am, 苗鹏 mp870...@gmail.com wrote: It is possible to connect simultaneously to multiple bluetooth devices? -- You received this message because you are subscribed to the Google

[android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread Morrison Chang
Look at http://code.google.com/p/apps-for-android/ Specifically the code for BTClickLinkCompete for a sample of Bluetooth connectivity. http://code.google.com/p/apps-for-android/source/browse/#svn%2Ftrunk%2FBTClickLinkCompete I think the air hockey sample supports 4 other devices along with the

Re: [android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-20 Thread 苗鹏
I will have a try! Thanks ! 2010/12/21 Morrison Chang morrison.ch...@gmail.com Look at http://code.google.com/p/apps-for-android/ Specifically the code for BTClickLinkCompete for a sample of Bluetooth connectivity.

[android-developers] Re: Android bluetooth api connect to multiple devices at the same time

2010-12-19 Thread James
of course you can, On Dec 18, 9:25 am, 苗鹏 mp870...@gmail.com wrote: It is possible to connect simultaneously to multiple bluetooth devices? -- 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] Re: android bluetooth

2010-12-16 Thread Jags
is this message a spam ? Nobody is able to see my message or what ? dont get answers, only get spams posted in the forum ! On Dec 16, 11:03 am, hanika han...@securitywall.in wrote: hi Thanks Regards, cid:image002@01CA2AEF.10F60770 Vijay Patel Test Engineer Elitecore Technologies Ltd.

Re: [android-developers] Re: android bluetooth

2010-12-16 Thread Abhilash baddam
Hi every one.. I am new to Android. I want to send an image from sdcard to server. For that already I have displayed all the images from sdcard in Grid View. Now I want , when we click on a particular image that image have to sent to server. For that plz send any code

[android-developers] Re: android bluetooth

2010-12-16 Thread Indicator Veritatis
I don't know why this thread is getting spam, but I can offer a guess why you are not getting answers. Your questions seems to strongly imply you have not studied the basics of how to do Bluetooth (whether on Android or not). Specifically, the beep you are interested in controlling is under the

RE: [android-developers] Re: android bluetooth

2010-12-15 Thread hanika
hi Thanks Regards, cid:image002.jpg@01CA2AEF.10F60770 Vijay Patel Test Engineer Elitecore Technologies Ltd. 904, Silicon tower, off C.G Road, Ahmedabad-380 006 Gujarat (INDIA), Tel: +91-79-66065606 | HYPERLINK mailto:vijay.pa...@elitecore.comvijay.pa...@elitecore.com HYPERLINK

[android-developers] Re: android bluetooth

2010-12-14 Thread Jags
Can anybody please put some insight into how can I intercept bluetooth handsfree button press in my application ? regards Jags On Nov 29, 3:36 pm, Jags jag...@gmail.com wrote: I am using an handsfree bluetooth handset in ndroid device. i need to program the handsfree in my application.

[android-developers] Re: Android Bluetooth Development - Problem connecting

2010-04-19 Thread Max
Hi Phil! I just found your post and thought I'd chime in. Funnily enough I'm just spending second day trying to connect to a device with very similar signature to yours and I'm using code which is pretty much the same as yours and, of course, I can't make it work as well so I thought we could

[android-developers] Re: Android Bluetooth Development - Problem connecting

2010-04-19 Thread ssozonoff
Hi Guys, I am having the same issue with code which worked fine on the HTC Legend and now fails on the HTC Desire. Could you report which handsets you are using as well. I would like to establish if this could be some sort of timing related issue. Thanks, Serge On Apr 18, 12:32 am, Max

Re: [android-developers] Re: Android Bluetooth Development - Problem connecting

2010-04-19 Thread Max Gilead
Hi Serge! Moto Droid 2.0.1 here. I described the issue in much more (and up to date) detail on Stack Overflow: http://stackoverflow.com/questions/2660968/how-to-prevent-android-bluetooth-rfcomm-connection-from-dying-immediately-after What kind of timing issue you think about? Cheers, Max On

[android-developers] Re: Android Bluetooth Development - Problem connecting

2010-03-20 Thread philDev
push On Mar 17, 7:23 pm, philDev philipptoe...@gmail.com wrote: OK, but still thank you On Mar 17, 7:10 pm, DonFrench dcfre...@gmail.com wrote: BTW: There is some very important Information missing on theAndroid- dev Page about theBluetoothAPI. Theandroid.Permissions.INTERNET have to

[android-developers] Re: Android Bluetooth Development - Problem connecting

2010-03-17 Thread DonFrench
BTW: There is some very important Information missing on the Android- dev Page about the Bluetooth API. The android.Permissions.INTERNET have to be set in the Manifest too, because without them creating a Socket will fail. I am not replying to your main question because I don't have time to

[android-developers] Re: Android Bluetooth Development - Problem connecting

2010-03-17 Thread philDev
OK, but still thank you On Mar 17, 7:10 pm, DonFrench dcfre...@gmail.com wrote: BTW: There is some very important Information missing on the Android- dev Page about the Bluetooth API. The android.Permissions.INTERNET have to be set in the Manifest too, because without them creating a

[android-developers] Re: android bluetooth

2009-11-09 Thread aparna
Hello George, Are you trying to develop a bluetooth chat application? Even I was interested in doin the same.. Can you pls guide me for the same? Regards Aparna On Nov 9, 4:50 pm, george george.gam...@gmail.com wrote: Hi all I'm developing chat application i want android device to connect