[android-developers] Bluetooth OOB Pairing: Problem when using a Heart Rate Profile

2019-10-10 Thread Olivier L
I'm doing Out Of Band (= OOB) Bluetooth Pairing through NFC. I have a Bluetooth LE Device which has an NFC tag containing the information for OOB Pairing. When the user taps the NFC tag with its smartphone, it should do the Bluetooth pairing between the device and the phone. When the pairing

[android-developers] Bluetooth

2017-08-09 Thread westpoint16835
There are currently issues with certain GM vehicles primarily 2014-2016 GMC Acadia and Buick Enclave. The main areas are voice recognition not recognizing contact names and contact lists not displaying on the vehicle screen which happens unexpectedly and is not so intermittent. I am posting

[android-developers] Bluetooth At commands

2017-01-31 Thread Ivan Kuzlo
i'm writing app for detect battery level of Bluetooth device(headset) i want to listen Bluetooth data c and get data from it many many Bluetooth headsets sent to device their battery level < 01-31 21:56:43.059 21082-7393/com.android.bluetooth

[android-developers] Bluetooth Low Energy (4.0) on android 4.4 device.

2016-10-14 Thread Александр Сергеевич Джус
Hello, I want to use Bluetooth 4.0 to connect the Vert device. The problem is,that I have android 4.4, but your official example is based on android 6.0. I rebuilded this example to work on my device, it starts with problems (I can connect and get BleService(s)/BleCharacteristic(s), but

[android-developers] bluetooth connect() randomly refuses to connect and gives a timeout / throws exception.

2016-09-26 Thread Bernd Porr
I'm connecting to an RN42 bluetooth module which does a standard rfcomm protocol with the standard SPP UID. The problem is that connect times out sometimes and sometimes it doesn't. How to 'reproduce': 1) do a standard connect() to get a socket 2) connect() times out and throws an exception 3)

[android-developers] Bluetooth headset management with VOIP App using OpenSL ES

2016-07-29 Thread Claude Chausse-ccr
I am working on a VOIP application that is doing audio Streaming using openSL. I cannot get any bluetooth Headset audio to work properly. AudioManager mode is set to MODE_IN_COMMUNICATION, I request audio focus with AudioManager.STREAM_VOICE_CALL, OpenSL playback configuration stream type

[android-developers] Bluetooth iPhone MFI registration android equivalent for auto launch

2016-07-11 Thread HugeRay
Hi all, Apple has a registration process that allows bluetooth accessories to start associated apps on pairing. In other words, there is no need for the user to manually start the app. All the user needs to do is pair the bluetooth accessory and the associated app auto launches. Is there an

[android-developers] Bluetooth pair table size

2016-06-16 Thread ed
I am writing an Android phone application that will only talk to one BLE device at a time. It will, however, be used over a wide physical area and there could be many paired/bonded devices, even if only one is accessed at a time. Is there a size limit to the table used to store information

[android-developers] Bluetooth Discoverability Issue

2016-06-16 Thread AdamK
Hey All, I seem to be having some issue with the following code, following some tutorials on you tube and following the android Bluetooth documentation I have created the following which works except that it does not find any Bluetooth devices? package com.company.bluetoothconnect; import

[android-developers] Bluetooth scan for available devices

2016-06-14 Thread 'nick oliver' via Android Developers
I am trying to scan for available devices but the scan does not seem to find any devices. The app works and displays using Toast when the discovery starts and finishes but doesnt show a device, the turning on & off of BT works as well as displaying the paired devices.. I know there are

[android-developers] Bluetooth scanning not returning results (On self made app)

2016-06-10 Thread tartaarsap
I've been having some problems getting Bluetooth to scan for devices with my Samsung Galaxy s5. (I have added my code in the attachment file ) I'm on Android 6.0 and have set up permissions for my app to scan like so: if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) // Android

[android-developers] Bluetooth scanning not returning results (On self made app)

2016-06-10 Thread tartaarsap
0down votefavorite I've been having some problems getting Bluetooth to scan for devices with my Samsung Galaxy s5. I'm on Android 6.0 and have set up permissions for my app to scan like so: if

[android-developers] Bluetooth streaming and browsing media

2016-06-09 Thread Mike D
I'm writing a new media app that plays music from the Internet, and I'm trying to use this app in my new car which supports Android Auto and also Bluetooth audio streaming. On my head unit, I have a media button that enables the bluetooth stream. I can play music in my app and it plays

[android-developers] Bluetooth LE Characteristics and Services Design Question

2016-04-13 Thread quique123
Im building an Android app to interface Arduino with a BLE module from HMSoft10. I found a tutorial online for an android app and it takes care of the connectivity and it uses 3 seekbars to send information from the android app to the BLE module. So far because the app sends 3 values, 1 for

Re: [android-developers] bluetooth api

2016-04-02 Thread sardar khan
can you please send me the logcat details about the errors..so i can figure out what the problem is On Sat, Apr 2, 2016 at 8:57 PM, fbm fatma wrote: > hi all, i want to display the list of bounded devices with the android > bluetooth api , but i don't know why in

[android-developers] bluetooth api

2016-04-02 Thread fbm fatma
hi all, i want to display the list of bounded devices with the android bluetooth api , but i don't know why in this code when i run it in my device no toast is displayed by the way toast will conatain name of each device .who can help me ? and thx in advance :) this is the code package

[android-developers] Bluetooth Chat App

2016-04-02 Thread Rimish Bansod
1) How to Pair device without asking pairing code? 2) How to set Pairing code a fix number whenever user tries to pair a device he will enter a fix number and pairing number should only be enter at whoever initiated the connection. -- You received this message because you are subscribed to the

[android-developers] Bluetooth OBEX OPP - Receving file list from bluetooth paired device

2016-03-19 Thread Jibin Najeeb
I am trying to receive available media contents from the paired device. I heard this can be done through obex. Could any body help me how to achieve this by providing samples, documents etc. How to include bluez library in android project? -- You received this message because you are

[android-developers] Bluetooth App For Robot Control

2016-03-19 Thread Rimish Bansod
Hello Sir, I am developing bluetooth app for robot control I just use your sample code for bluetooth chat from android studio it works fine for two android device but with robot it does not work In robot we use same receiver as android phone. Do you have another sample for bluetooth app

[android-developers] Bluetooth connectivity with Robot

2016-03-18 Thread Rimish Bansod
I have studied android development bluetooth tutorial and sample bluetooth chat applicaton. I just want to know how to do bluetooth connection with robot. Is there any different class for this like for Headset or Health Device Profile. Because when i tried bluetooth chat application for robot.

[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

[android-developers] Bluetooth Sniffer

2016-03-03 Thread Dirk Bellstaedt
Hi, Is it possbile to listen to the System Bluetooth Socket to Sniff all In- and Outgoing Bluetooth Packages? Or to listen to a single Bluetooth Connection of a device? Best Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] bluetooth: paired bluetooth devices list

2016-02-15 Thread borzack
Hi All, I need know where android save the paired bluetooht list. The reason is that I've two devices where one of this can receive info about second device only by wifi/sms but no by bluetooth, so I can pair them only managing the paired devices bluetooth list. Someone can help me? thanks in

[android-developers] Bluetooth OBDII communication with pires library

2016-01-21 Thread Anthony Shepherd
I'm out of ideas as to what is wrong with this. I'm trying to send and receive data from my Bluetooth ELM327. Torque works, and I've used a terminal app to send commands and that also returns correct results. So I don't get what I'm doing wrong here. This is the thread that handles all of it.

[android-developers] Bluetooth Simple Secure Pairing in Android 6.0 not working

2015-12-30 Thread Ankur Agrawal
I am making a Bluetooth capable device using TI's CC2564 module. Before updating to Android 6.0, I could pair my phone (Nexus 5) with the device using Simple Secure Pairing (SSP) with no issues. Ever since I updated to Android 6.0, my phone would not pair with the device. The debug terminal

[android-developers] Bluetooth pairing request although it was previously paired

2015-12-09 Thread rukiman
In the Samsung galaxy note 3, I have paired a bluetooth device. It is paired sucessfully. In my app I simply run this code in a thread to look for the bluetooth device I am interested in and connect automatically to it. Usually everything works well. But occasionally I will get an unwanted

[android-developers] Bluetooth

2015-12-03 Thread Justen Farnsworth
How come every Android ZTEzmax2 note3 galaxy 6 edge when I Bluetooth pair to my car stereo which is a Honda Civic Si 15 I don't get artist information or steering wheel controls all it does is play music and it says no device connected this is every device running 5.1 or higher my galaxy 3

[android-developers] Bluetooth PAN DNS name to pull from DHCP server or router rather than have the android create its own?

2015-12-02 Thread Rod Kashani
Hey All, So I have a bluetooth pan on a raspberry pi which gives an ip and Internet connection to an android, in this case the S6 edge. I am given an ip address, however I can't communicate with other devices on the network. I do receive Internet though. It seems the android is assigning

[android-developers] Bluetooth Low Energy support on lollipop and previous

2015-01-28 Thread Tony Pitman
I have an app that currently supports bluetooth low energy on pre-lollipop. I am using things like startLeScan to do the central role. I noticed that Lollipop introduces new apis and that the old ones are deprecated. I am having one problem in particular that may be related. When I call

[android-developers] Bluetooth devices connected list - getConnectedDevices()

2014-09-20 Thread Dave Truby
This call is for bluetooth low energy connections. Are you sure you have a low energy device connected? It looks like you are connecting a mouse, I'm not sure that is a low energy device. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Bluetooth devices connected list - getConnectedDevices()

2014-09-19 Thread pedr0
I am developing an application which runs on a API 18 device. This snippet of code gives me back a empty list : public static boolean isBTMouseAttached(Context context)

[android-developers] Bluetooth OOB Handover via NFC without User Confirmation

2014-08-06 Thread Bender
Hi, I'm trying to realize an Android-Beam-like behaviour between an Android Smartphone and a Linux Host. The Android Smartphone (Galaxy Note 3, Android 4.4.2) touches an NFC Dongle connected to the Linux Host and exchanges Bluetooth carrier data via NFC so it then can connect to a Bluetooth

[android-developers] Bluetooth GATT characteristic thread safety

2014-07-20 Thread flix
As for most APIs, there is no word about thread safety in the Bluetooth GATT API documentation. I have implemented a driver for the HM-10 BLE module, which is an UART adapter. It has one GATT characteristic for reading and writing data. So I get notifications about incoming data in the

[android-developers] Bluetooth, my app suddenly asks for permission to access SIM. Why?

2014-04-01 Thread Leo
I'm developing a game that has 'play via bluetooth' mode. Two game instances connect to each other perfectly, but from time to time (one out of ten or so) I got a confirmation dialog on my Galaxy S3 with message that Remote app requests permission to access SIM. This message appears when my

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=USDlitb_from=paid_adwords_shoppinggclid=CJbo1KSwwboCFdGe4AodKzQAzQ It's got a UART interface and lets you stick

[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 Low Energy Encrypted Characteristic Read Write

2013-09-24 Thread Ashwini
I am developeing an application which can talk to few smart(bluetooth 4.0) devices. I tested the code on Nexus 4 running Android OS version 4.3. The application is able to connect to nordic chip programmed as heart rate monitor. For this device, I am able to read services, characteristics and

[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

[android-developers] BlueTooth Low Energy quick question

2013-08-11 Thread darrinps
Anyone know what status 129 means? I can't seem to find much on it via Google. I connect to a BLE device and it says it has services to discover (via using BluetoothGatt.discoverServices()). It then hits this method: @Override public void onServicesDiscovered(BluetoothGatt gatt, int

[android-developers] Bluetooth Smart Ready - 4.0 BLE

2013-04-23 Thread Sameer Bobade
Hi, Any news on native support for BLE / 4.0 / GATT / Bluetooth Smart Ready? -- -- 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

[android-developers] Bluetooth not working!

2013-04-23 Thread udaysingh1999
Iam Uday.I live in India,i have byond b50 android 2.3.6 (rooted)phone.My bluetooth isn't working as it doesn't turn on!!! Kindly reply me @-udaysingh1...@gmail.com or reply! PLEASE!!!ANYBODY HELP! -- -- You received this message because you are subscribed to the

Re: [android-developers] bluetooth file transfer failure

2013-03-15 Thread akash roy
@Indicator Veritatis code for mminstream that u r asking for. : private final BluetoothSocket mmSocket; private final InputStream mmInStream; private final OutputStream mmOutStream; public ConnectedThread(BluetoothSocket socket) { Log.d(TAG, create

Re: [android-developers] bluetooth file transfer failure

2013-03-15 Thread akash roy
@Lew 1. file constructors are working well and i am pretty sure about that. 2.since i am trying on some small sized files so int perfect for it. 3.i was actually trying to clean the buffer before inserting any other details but i didn't noticed that i was deallocating the buffer. 4.the receving

Re: [android-developers] bluetooth file transfer failure

2013-03-15 Thread Indicator Veritatis
Thanks for posting that link, Lew. I try to follow that practice myself, too. But this link expresses it SO well. The only thing they don't mention that I find worthy to add is that while constructing that SSCCE, one often finds the solution to the problem. So it is worth the extra time, one

Re: [android-developers] bluetooth file transfer failure

2013-03-14 Thread Indicator Veritatis
In order to answer your question, we need to see the code where you create and set mmInstream, too. For all we know, you might have forgotten to connect it to any stream, On Wednesday, March 13, 2013 9:28:08 PM UTC-7, akash roy wrote: here i am trying to send a file over bluetooth but its

Re: [android-developers] bluetooth file transfer failure

2013-03-14 Thread Lew
Indicator Veritatis wrote: In order to answer your question, we need to see the code where you create and set mmInstream, too. For all we know, you might have forgotten to connect it to any stream, Follow this advice: http://sscce.org/ akash roy wrote: here i am trying to send a

[android-developers] bluetooth file transfer failure

2013-03-13 Thread akash roy
here i am trying to send a file over bluetooth but its not sending any data. here the main problem is that its not sending or receiving any data over the two devices but they are connected to each other. on configuring the bluetooth chat example. Sending code: File myFile = new

[android-developers] Bluetooth maximum connection capability.

2013-02-07 Thread Srinivas Nainala
Hi All, I would like to know how many (maximum capacity) blue devices could connect to my Android tablet. My friends have different OS like Android, iOS and Windows devices. They want to connect to my Android device and I would like to connect their device mutually. Thanks in advance for your

[android-developers] Bluetooth BLE generic profile supported by Android

2012-12-30 Thread gran33
Hey all, Does Android support any generic Bluetooth BLE profile? e.g GATT (Generic Attribute Profile) 10x in advance, RAN -- 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 input stream buffer overflows

2012-12-19 Thread Elvira
I try to read a file via Bluetooth with HTC Desire. The code for connection is similar to BluetoothChat sample http://developer.android.com/tools/samples/index.html. The problem is in the ConnectedThread when reading files with size greater than 5 KB. This is the run() method of this thread

[android-developers] Bluetooth Thetering

2012-11-20 Thread Jonnys Gomes
Hello all, Someone can tell me where I find something documentation about tethering over bluetooth? I searched in developer.android.com but I not found there. -- 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 HDP source code

2012-11-20 Thread gran33
Hey, I am looking for the HDP code for the source side (source - Bluetooth device, sink - mobile) Is someone know where can i find it? 10x in advance! -- 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 RFCOMM connection couldn't be established consecutively on Android 4.2

2012-11-19 Thread Kun Li
I have a application which talks to a custom device through RFCOMM of Bluetooth. The communication code is based on BluetoothTalk sample project. It was running without any problem before on either Galaxy S3, Galaxy S2, Galaxy Note and Nexus 7. Recently, Nexus 7 were upgraded to Android 4.2

Re: [android-developers] bluetooth PAN issue

2012-11-13 Thread Robin Gujjar
Fixed :) do the below setting in config.xml string-array translatable=false name=networkAttributes itemmobile_bluetooth,7,7,1,-1,true/item /string-array string-array translatable=false name=radioAttributes item7,1/item /string-array integer-array translatable=false

Re: [android-developers] bluetooth PAN issue

2012-11-12 Thread Harsh Vardhan
Hi. I think this might be an accepted bug for ICS (Assuming you are using that). This http://code.google.com/p/android/issues/detail?id=34161 might help you. - Best On Mon, Nov 12, 2012 at 12:31 PM, Robin Gujjar robin.guj...@gmail.comwrote: Hi All , I am trying to setup the bluetoooth PAN

[android-developers] bluetooth PAN issue

2012-11-11 Thread Robin Gujjar
Hi All , I am trying to setup the bluetoooth PAN on my devlopment board( Client PANU). Master is running on a Ubuntu PC 12.04 . Master is working fine as i am able to access interbet on another ubuntu PC . But on my android development board i am not able to start a connection, i have

[android-developers] Bluetooth App with Apple chip inside of it.

2012-10-18 Thread ColorTheorist
There is a custom device that I am working with that has been approved to communicate with Apple mobile devices. It will be my responsibility on my end to also communicate with that device over bluetooth with Android applications. In pre-limenary testing, the devices around me here will pair

[android-developers] Bluetooth Low Energy Support in API 16?

2012-10-04 Thread Zafar Alam
Heard that API 16 is going to support BLE, So is there any information regarding when BLE API will be officially supported in the SDK? -- 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 Pairing problem

2012-09-12 Thread HPP
Hai all I am making an application for sending data from my phone to another device using blue-tooth..I am using the bluetooth chat example that comes along with the SDK sample for my code . I need to pair my device with the other device after device discovery.But in chat

[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

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

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

[android-developers] Bluetooth client server

2012-08-24 Thread Mulia Dhamma
Hello all masters,. do you have the code for bluetooth client server ? example..i have 2 android phone..and when the 1 android phone sending a string then the 2 andoid phone automatically pop up a toast that the 1 android phone send.also same with the 2 android phone when the 2 android phone

[android-developers] Bluetooth: program stuck at inputstream reading

2012-08-22 Thread Elvira
Hi! I have a problem with Bluetooth socket, I hope somebody can help me. I use the code from BluetoothChat to send and receive data. I'm trying to receive a file from bluetooth device. This file is sent by packages of 256 bytes. My program stuck at mmInStream.read(buffer) in method run() of

[android-developers] Bluetooth PAN profile in Android ICS

2012-07-27 Thread chainz roid
Hello I've a question that, is ANDROID ICS support Bluetooth Personal Area Network (PAN) profile or not .? Is any one handled that, kindly let me know.! Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Bluetooth Mutual Authentication

2012-07-16 Thread RumblyFungus
Hi Guyz, Has anyone worked on BT mutual authentication before on Android ? Also is there any API version in android that supports it ? Please let me know if there is any data I can find on above two questions. Thanks -- You received this message because you are subscribed to the Google

Re: [android-developers] Bluetooth sniffing

2012-07-14 Thread bob
Here's what I did with my Samsung Galaxy S3: adb shell shell@android:/ $ hcidump /system/bin/sh: hcidump: not found On Wednesday, July 11, 2012 3:41:57 AM UTC-5, the_edge123 wrote: On 10/07/2012 17:38, bob wrote: I'm seeing some Bluetooth weirdness with Android. Anyone know if

Re: [android-developers] Bluetooth sniffing

2012-07-11 Thread Fabien R
On 10/07/2012 17:38, bob wrote: I'm seeing some Bluetooth weirdness with Android. Anyone know if there is a practical way to sniff Bluetooth packets? Or are there any other good tools for debugging Android Bluetooth? You may try to use the HCI commands (hcidump and so on) under

[android-developers] Bluetooth pairing

2012-07-10 Thread hari shankar
hi I have scan the Bluetooth device and add in list View. I want to pair the device by android code. pl help me Thank You -- 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 SPP

2012-07-10 Thread kaajavi
[EN] Hi, this is my problem. I made an application that connects to a device for SPP (Serial Port Profile). In some phones work and others do not. I see that, for example, bluetooth keyboards have the same problem. Anyone know why? Tanks! --- [ES] Hola, este es mi problema. Realicé una

Re: [android-developers] Bluetooth pairing

2012-07-10 Thread Yamanoor Sai Ram
Refer to the file DeviceListActivity.java in the Bluetooth Chat example file. It saves a lot of time as it is done already Sai On Sat, Jul 7, 2012 at 5:06 AM, hari shankar h...@euthika.com wrote: hi I have scan the Bluetooth device and add in list View. I want to pair the device by android

[android-developers] Bluetooth sniffing

2012-07-10 Thread bob
I'm seeing some Bluetooth weirdness with Android. Anyone know if there is a practical way to sniff Bluetooth packets? Or are there any other good tools for debugging Android Bluetooth? -- You received this message because you are subscribed to the Google Groups Android Developers group.

[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

[android-developers] Bluetooth crash

2012-07-06 Thread bob
Any ideas why trying to enumerate a list of discoverable Bluetooth devices would cause an Android Ice Cream Sandwich device to crash? Unfortunately, all I have is a vague user report. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Bluetooth crash

2012-07-06 Thread Kristopher Micinski
Use ACRA for your apps, at the very least, so you have a crash report... kris On Fri, Jul 6, 2012 at 10:06 AM, bob b...@coolfone.comze.com wrote: Any ideas why trying to enumerate a list of discoverable Bluetooth devices would cause an Android Ice Cream Sandwich device to crash?

Re: [android-developers] Bluetooth crash

2012-07-06 Thread bob
Ok. I suspect android.bluetooth.BluetoothDevice.getName() is returning null sometimes. Don't know when. Don't know why. Here's what ACRA says: java.lang.NullPointerException at android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:394) at

[android-developers] Bluetooth chat bug?

2012-07-06 Thread bob
I'm looking at the Bluetooth chat example: // When discovery finds a device if (BluetoothDevice.ACTION_FOUND.equals(action)) { // Get the BluetoothDevice object from the Intent BluetoothDevice device =

[android-developers] Bluetooth Signal Strength

2012-07-01 Thread Bhavin
*Dear Sir,* * * *I need to measure Signal strength of Bluetooth like :App Bluetooth Finder * * * *Would you please help me to find out,how to do this?* * * *moreover this,i need to show kind of bar ,which could show signal strength. * * * *:)* *Thanks Regards* -- You received this message

Re: [android-developers] Bluetooth Signal Strength

2012-07-01 Thread TreKing
On Sun, Jul 1, 2012 at 2:03 AM, Bhavin alertsavemyl...@gmail.com wrote: *I need to measure Signal strength of Bluetooth like :App Bluetooth Finder* * * *Would you please help me to find out,how to do this?* What have you tried so far?

[android-developers] bluetooth pair

2012-06-20 Thread bob
Is it possible to have an Android device bluetooth pair up with a PC without the PC having to click anything? Of course the PC would be preconfigured for this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Bluetooth error on socket call

2012-06-16 Thread James Black
How do you set btDevice? On Jun 15, 2012 7:04 PM, mike digioia mpd...@gmail.com wrote: Bluetooth error on socket call- Anyone know what the issues are with my Samsung Nexus S device when I get this error in my native code call to the socket LIB -- code starts here: btface = -1;

Re: [android-developers] Bluetooth error on socket call

2012-06-16 Thread mike digioia
Set it to zero in the def. On Jun 16, 2012 9:18 AM, James Black planiturth...@gmail.com wrote: How do you set btDevice? On Jun 15, 2012 7:04 PM, mike digioia mpd...@gmail.com wrote: Bluetooth error on socket call- Anyone know what the issues are with my Samsung Nexus S device when I get

[android-developers] Bluetooth error on socket call

2012-06-15 Thread mike digioia
Bluetooth error on socket call- Anyone know what the issues are with my Samsung Nexus S device when I get this error in my native code call to the socket LIB -- code starts here: btface = -1; btDevice = NULL; btsock = socket(AF_BLUETOOTH, SOCK_STREAM, BTPROTO_RFCOMM); if (

[android-developers] Bluetooth SPP RFComm socket abort at receving speed of 1.15kpbs

2012-06-12 Thread RAIJ1
I've been having an issue with RFCOMM socket abort over Bluetooth in Android. I don't have any issues connecting, but receiving data at speed of 1.15kbps from a remote bluetooth adapter. There isn't a problem with the adapter as the data is properly received if I connect with a laptop. My

[android-developers] Bluetooth HDP Sample Code won't run on emulator

2012-05-30 Thread Akeem W.
Recently, sample code for the Bluetooth HDP Demo has been made available at: http://developer.android.com/resources/samples/BluetoothHDP/index.html However, when attempting to Run this program using the emulator, an error message appears on the emulator display, reading, Unfortunately, HDP Sample

[android-developers] Bluetooth

2012-05-21 Thread Samuel Caetano
Hello guys, i've been looking for some docs about bluetooth in android Can you guy show me some docs about it? 'cause i've been trying to use the google documents explanations about bluetooth, but that was a full waste of time -- You received this message because you are subscribed to the

Re: [android-developers] Bluetooth

2012-05-21 Thread Kristopher Micinski
That's the best / most up to date documentation... There is no third party source writing extensive docs for the Android platform... So the Bluetooth section of the API along with detailed docs of the interfaces are your best bet. On Sat, May 19, 2012 at 10:06 PM, Samuel Caetano

Re: [android-developers] Bluetooth

2012-05-21 Thread Raunaque Quaiser
what you are looking in BT docs. Any thing specific? Regards Raunaque On Mon, May 21, 2012 at 9:09 PM, Kristopher Micinski krismicin...@gmail.com wrote: That's the best / most up to date documentation... There is no third party source writing extensive docs for the Android platform... So

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

2012-05-21 Thread mike digioia
You can do this with a multicast based Openfire system! This uses IP. Bluetooth as the transport using sockets is still under study, since I am just attempting to get the first case to work with only one chat between two phones. Since this uses Content Centric networking, it can be extended to

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

2012-05-21 Thread Kristopher Micinski
Right, that's what I said... But I also said that I doubt that for a real live device, if any one can have more than two open connections at a time, I'd be surprised, please tell if so! And, if you're talking to 950 nodes where the average degree is two for each node... That's gonna be pretty

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

2012-05-21 Thread mike digioia
Oh sorry I just stated what I believe is the current packet size linitation of BT as 950. Yes you are correct about the limitations on any one device today. However, the CCNX will handle the networking of devices as it does today over IP. Nothing is being changed inside the CCND except to handle

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

2012-05-21 Thread Kristopher Micinski
That would be the same as any other message queue adapted to sit on top of a different socket layer, however, I believe... kris On Mon, May 21, 2012 at 1:11 PM, mike digioia mpd...@gmail.com wrote: Oh sorry I just stated what I believe is the current packet size linitation of BT as 950. Yes

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

2012-05-21 Thread mike digioia
Multicast does this for you automatically, however, Bluetooth currently does not support multicast like IP. It is PTP. see this link:

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

2012-05-21 Thread Kristopher Micinski
Yes, I understand what multicast means :-)... And yes, this is what I'm trying to point out, the problem is that you can't multicast to so many nodes for a given device because the hardware *just won't* support it for *most* devices out there these days... And furthermore, I'm saying that even

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

2012-05-20 Thread sudheesh ap
Thanks for your reply. I will consider WiFi for the chord implementation. With regards, sudheesh -- 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

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

2012-05-20 Thread Kristopher Micinski
Wifi for the cord implementation? How? Wifi is infrastructure mode, did you mean wifi direct? Otherwise anything you're doing is necessarily just an emulated overlay of p2p on top of an standard socket. kris On Sun, May 20, 2012 at 4:29 AM, sudheesh ap hellosud...@gmail.com wrote: Thanks for

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

2012-05-20 Thread Kristopher Micinski
It just seems like using chord in this case would be a tad forced, is it a requirement for a class project or something? kris On Sun, May 20, 2012 at 11:29 AM, Kristopher Micinski krismicin...@gmail.com wrote: Wifi for the cord implementation? How? Wifi is infrastructure mode, did you mean

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

2012-05-20 Thread sudheesh ap
Yes, it's for a class project. The aim is to make a p2p overlay network in android platform to support p2p android applications such as multiplayer games.I was asking about the possibility to make it over the bluetooth/wifi connection. Waiting for your valuable suggestions. Regards, sap --

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

2012-05-20 Thread Kristopher Micinski
You basically, can't do it for Bluetooth, with more than two / three (max usually) nodes. You can look into wifi direct. You can also put a p2p overlay on top of a standard java socket. But that makes this no more interesting than any desktop java app. I.e., there is absolutely nothing that

  1   2   3   4   >