how powerful is Bluetooth programming on Android? is it possible to
add new protocols and encryption techniques? or even change in the
current protocols?
does it support bluetooth 2.1+EDR?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Hi,
i want to send files via Bluetooth to a another device. Currently I
can do that with Intent.ACTION_SEND but this use a user intaction. I
want to send files to a device programmatically. Has anyone a idea how
i can send files via Bluetooth OPP?
Thank you very much!
--
You received this
Hi,
i want to send files via Bluetooth to a another device. Currently I
can do that with Intent.ACTION_SEND but this use a user intaction. I
want to send files to a device programmatically. Has anyone a idea how
i can send files via Bluetooth OPP?
Thank you very much!
--
You received this
I try to build SPP connection between the android and PC.
the UUID is set to: 1101--1000-8000-00805F9B34FB
but when the application connect, it go directly to the A2dpservice,
then close the connection, the log:
04-27 13:55:44.836: VERBOSE/BluetoothEventRedirector(326): Received
Hi,
I'm able to discover devices which r bluetooth ON from my application.
But when i try to connect using the Bluetoothsocket's connect()
method, I'm getting an IOException: Connection refused.
I'm using the following UUID
private static final UUID MY_UUID =
Bluetooth file transfer to mobile (any set) is successful. But if I
tried to transfer to Laptop it is failing. Below is the log for
successful and unsuccessful case
For unsuccessful case, it is unable to get channel number. Whether i
have to do settings for laptop case?
Phone to Mobile(Motorola)
Hello,
I have been doing some Bluetooth SPP development with an HTC Legend
which was working just fine.
Today I received my HTC Desire and I cant get an SPP connection to
work.
The first thing I had to do is remove the mAdapter.cancelDiscovery()
call in the connectThread().
It seems there is
When performing a device discover the remote device name is cached.
All subsequent device discoveries returns the same cached name over
and over even if the remote device name has changed. Is this a known
problem? Does a workaround exist? Some way to clear the cached name or
force the phone to try
Hi!
I'm trying to connect to Zeemote (http://zeemote.com/) gaming controller
from Moto Droid running 2.0.1 firmware. The test application below does
connect to the device (LED flashes) but connection is dropped immediately. I
can connect to the device perfectly fine using bluez tools (log
Hi,
some times when I try to rename device name or scan for devices,
nothing is working...
Success case:
event_filter: Received signal org.bluez.Adapter:PropertyChanged from /
org/bluez/1518/hci0
I/BluetoothEventLoop( 1229): ---onPropertyChanged IN
I/BluetoothEventLoop( 1229): ---Broadcasting
Hello,
I have application which send files from one devise to another.
During testing I've faced two problems:
1)Data transfer is very slow. I compare to standard bluetooth
application;
2)From time to time received data is less then sent. Small parts are
missed if file(files) is huge.
Have anybody
Hi,
My name is Davyd Melo and I am beginning with Bluetooth over Android. After
creating a empty project and I have added the following line of code in the
MainActivity:
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
This generate the following exception in the Logcat:
After Bluetooth connection is lost. Bluetooth stack on HTC Legend is
messed up. Nothing works till Bluetooth is turned off and on. Here is
the sample, the problem is blocking read on the thread but
InputStream.available call always returns 0 and cannot be used to
implement some ugly, busy-waiting
Hi All,
This is regarding to bluetooth application in Android.
When scanning of devices is active, if I invoke Device rename option,
then some times the dialog for rename option is not coming. When I
see the log, the onClick method of device name change is not invoked!.
After scanning completes
Hi.
Question 1:
In any Android version, supporting Bluetooth, after a device dicovery
is done, there is no way to *programmatically* clear the devices names
that were cached by the system during the discovery. (Unless, an
attempt to connect to a device is done, then the name is updated.)
Is there
Hello there
When my Bluetooth application is about to create SPP connection to the
unpaired remote device, pairing notification is displayed.
From the documentation I can see that pairing request can display a
dialog or sent notification. I'd like to know what logic causes my app
to sent
Hello:
I want to know android can or not transfer through Bluetooth,and
now,android have how much capalicity about Bluetooth.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
The Bluetooth headset is muted by the FM Radio app, when connecting
wired headphones to use them as antenna -otherwise it won't play at
all.
Would it be possible to redirect this audio signal to the Bluetooth
headset?
--
You received this message because you are subscribed to the Google
Groups
Hi, I currently run android 1.5 on a HTC magic. I'm trying to
communicate from my phone to a bluetooth device that supports SPP. I
can't seem to be able to connect to the device. I have tryed two ways
to connect:
1- via the official 2.0 API using the backport-android to make it work
on android 1.5
I have written a small app that puts my bluetooth in discoverable mode
for a long time (G1 - API 1.6). I use that along with small program on
windows to lock/unlock the computer if the phone is close by. Recently
i try to port this app to my nexus one but it seems like i have to pop
up the message
Hello,
I want to create a serial connection over Bluetooth to a device I have. But
the problem is that I don't know the UUID of the service on that device. How
can I found out what the UUID is before connecting?
--
You received this message because you are subscribed to the Google
Groups
Hi,
Has anyone tried using Bluetooth sockets where the server machine is
running C/C++? Android Bluetooth Devices returns a socket from
BluetoothDevice.createRfcommSocketToServiceRecord(UUID) and says in
the reference designed to be used with
listenUsingRfcommWithServiceRecord(String, UUID) for
Hello fellow android developers. I assume the bluetooth chat example
on the developer resources page runs on something I have a dev
phone 2, which I think is an HTC Ion, with os ver 1.6. Will the btchat
example dl and run on 1.6? (right now its saying it stopped
unexpectedly...). So is it
I'm having an issue here while trying to connect to an RS232 device
with the BluetoothChat sample program.
1- If I first pair my phone with the device through Bluetooth
Settings, no problem. The connection is made perfectly and the program
works.
2- If not bonded beforehand, I get two errors in
I am trying to establish a connection to another Bluetooth device on
my Nexus One (2.1) with the following code, which occurs when on the
broadcast receiver when a device is found.
BluetoothDevice device = (BluetoothDevice)
intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
BluetoothSocket
Hello,
I would like to develop a software using Bluetooth A2DP/AVRCP profiles
on Android.
I could not find the related API on the developer's website at this
moment.
But, I found a product by Sybase below.
http://www.sybase.com/detail?id=1064424
Do we have any other option?
Thank you very much in
Hello,
I need to set bluetooth service discoverable till my application is
running,
how to do that in android 2.0 above
--
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
I am working on a module that need Bluetooth support. Our application
should support Android 1.5 onwards. I saw that in Android 1.5 the
android.bluetooth package is not supplied. What is the alternative in
1.5?
--
You received this message because you are subscribed to the Google
Groups Android
My app is a modified version of the Bluetooth Chat example. It uses
SPP for one thing and it is uni-directional communication, which is to
say that it does not listen on the Input stream. It throws an IO
Exception consistently about 40 seconds after making the connection,
as shown in the
Hi ron the g1 made by connect only handsets.its not working with others like
pc and mobiles.
NIRMAL
On Jan 28, 2010 7:26 AM, Ron ronbruck...@comcast.net wrote:
I'm getting a connect timeout using Android as a bluetooth client
connecting to a server device. I'm pretty sure the UUID is correct
Hello,
From my application i need to do communication with external bluetotoh
device. applictrion need to communicate using SPP profile connection.
So can some one tell me which android version i should use ? i did
work on 1.5 bluetooth but we have to use third party tool. so can some
one
I'm getting a connect timeout using Android as a bluetooth client
connecting to a server device. I'm pretty sure the UUID is correct as
I no longer get the immediate service discovery errors that I got when
using any other UUID string. So I have two questions:
1) Is it possible to lengthen the
Hi there,
I'm looking for a way to implement a 'background' bluetooth discovery.
The app should periodically scan for nearby bluetooth devices (no
connection required) without user interaction.
Discovering devices works fine when I use it within an Activity. But
how can I set up the
Hi everyone :)
I've got a doubt with the uuid. The question is I've the uuid from a
J2ME app with javax.bluetooth.uuid new UUID(19088743L); and I'd like
to convert it to java.util to port to Android using fromString(String
uuid) or something similar that let me make the same UUID on Android.
Hi experts,
I am planning to develop an android application for scanning barcodes.
The barcode scanner used would be a bluetooth device. When I scan a
barcode using the bluetooth barcode scanner, the corresponding number
of the barcode should be obtained in Android phone.
Can this bluetooth
I see a fix was posted Can someone explain why this still does not
work?
Nick Pelly
View profile
More options Dec 12 2008, 4:29 pm
We have fixed this bug - you can now trigger voice dial from
bluetooth, it will be pushed to the open source repo soon.
Nick
- Hide quoted text -
On Fri, Dec 12,
Hello All,
I have a simple device, not developed by me, that uses SPP to send out
a simple 55 byte data packet once every second. The device accepts no
communication other than any needed for pairing/connection. Once it
has been connected it is supposed to start sending the 1Hz packets
out.
I
Hi All,
How to detect the bluetooths device found?
Thanks
--
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
Hi Bluetooth Developers,
We have just published an Android Bluetooth Developers Guide, and a
Sample Application. See links below.
http://developer.android.com/guide/topics/wireless/bluetooth.html
http://developer.android.com/resources/samples/BluetoothChat/index.html
I hope these become a useful
How can a bluetooth client connect to a bluetooth server?
As we know, in tcp mode, the client fire the connection with a given
pair of IP address and port. From the server side a listening thread/
process waits for the connection request and setup a data connection.
But how it works in bluetooth
Here's some basic code snippets.
Server code
UUID uuid = uuid.fromString(27648B4D-D854-5674-FA60E4F535E44AF7); //
generate your own UUID at http://www.uuidgenerator.com
BluetoothAdapter adapter = BluetoothAdapter.getDefaultAdapter();
BluetoothServerSocket serverSocket =
Can someone explain how to use createRfcommSocketToServiceRecord? How
do I find out the UUID of the device I want to connect to?
Thanks,
Paul
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
try this one: 1101--1000-8000-00805F9B34FB
WIDCOM SDK and a C# SDK actually define the above constant value for
SPP/RFCOMM
It seems work for me although I am having problem use the inputStream and
outSteam out of the connection.
Hope it works for you.
On Tue, Nov 24, 2009 at 4:20
No no no no :)
Go to a uuid generator, and generate your own unique UUID for your
application. For example: http://www.uuidgenerator.com
It can be any valid UUID, so long as you use the same UUID on both the
server and the client of your application.
Instead of allowing applications to choose
Although I personal feel service discovery is quiet fundamental in generic
bluetooth solution, it is actually not very high priority for my current
products. Since we custom make the remote devices and home grown mobile
applications, we feel getting data from connection is faster than going thru
Can you be more specific about how you get better performance through
SDP? What size data are you sending? Do you mean higher throughput or
higher latency?
The dominant factor in short transfers over both SDP and RFCOMM is the
page scan, which would be 1-2 seconds no matter which protocol you
I think you are right. I meant to say that if client initiates Service
Discovery, this process takes time to complete. So, if my mobile
application already know what data already available,and know how to get it,
our current mobile appl just simple go and get it by establish an connection
and
I don't see any trivial API to do service discovery in android.bluetooth
package. Is it support in current 2.0 release?
If yes, I appreciate any pointer.
If not, is it something already ruled out on Android platform, or coming
soon?
Thanks in advance.
Sean
--
You received this message because
There is no explicit public SDP API. Android will automatically do SDP
for you when creating RFCOMM connections with BluetoothSocket and
BluetoothServerSocket.
We haven't ruled out exposing some SDP at a later point, although its
not a high priority right now. Maybe you could outline what your
=== copy and pasted ===
We only auto-pair using when:
1.) the remote device looks like a headset
2.) the user initiated the connection request through Bluetooth Settings
2 questions to the above:
1.) Do both conditions have to meet or either one?
2.) how to make the remote device looks
On Thu, Nov 12, 2009 at 8:51 AM, Sean Liao wirelessw...@gmail.com wrote:
=== copy and pasted ===
We only auto-pair using when:
1.) the remote device looks like a headset
2.) the user initiated the connection request through Bluetooth Settings
2 questions to the above:
1.) Do both
ok for starters im pretty sure im not doin this right but i wanted to throw
an idea at anyone who would take the time to read/listen for upgrades to
come if it cant make the cut for the next one. I would like to see this done
in an upgrade instead of an app only because i feel that this is somthin
On Sun, Nov 8, 2009 at 12:34 PM, Sean Liao wirelessw...@gmail.com wrote:
Hi,
Before 2.0 released, there were some questions/discussions related to the
Bluetooth security, i.e whether paring is required to establish connection.
Anyone know the answer or try it out already: Is paring
Do you mean that if the remote device doesn't require a pin, the android api
will not be able to establish a connection to such remote devices?
Do I have an option to inject the paring key pragmatically if my appl
already know the pin code of the remote device? Or, if the remote device
doesn't
On Wed, Nov 11, 2009 at 3:13 PM, Sean Liao wirelessw...@gmail.com wrote:
Do you mean that if the remote device doesn't require a pin, the android
api will not be able to establish a connection to such remote devices?
BluetoothSocket enforces pairing. You'll need to pair before the connection
Thanks for the quick response. Having watching this topic for a long
time since 1.1, I just cannot help feeling a little down now.
Not trying to complain, I just want to make sure I did not miss
anything feature I can utilize. On top of my head, there was a
discussion mentioning that using
On Wed, Nov 11, 2009 at 4:55 PM, Sean Liao wirelessw...@gmail.com wrote:
Thanks for the quick response. Having watching this topic for a long
time since 1.1, I just cannot help feeling a little down now.
I'm sure you'll recover. We're talking about one dialog in the case of
connecting to a
Hi,
Before 2.0 released, there were some questions/discussions related to the
Bluetooth security, i.e whether paring is required to establish connection.
Anyone know the answer or try it out already: Is paring requirement
enforced in the new bluetooth api in SDK 2? Any public info available
Hi developers,
Is there any way to comunicate an android phone with a computer trough
bluetooth? Ive made a server/client applicattion in Java using
bluetooth, but i need to do the client in Android and i dont know how
to start, I dont know even if is possible.
Is there any way to do it? Is
Try using the RFCOMM protocol. It's similar to TCP but for Bluetooth.
See BluetoothSocket.java.
Nick
On Mon, Nov 2, 2009 at 8:16 AM, AntoniMG tonio...@gmail.com wrote:
Hi developers,
Is there any way to comunicate an android phone with a computer trough
bluetooth? Ive made a server/client
Andriod doesn't support many profiles. (ummm 1, the headset profile)
I just bought a MyTouch 3G as my first Android phone and to say the
least, disappointed. I like the open aspect of the phone, but I've
bought phones 5+ years ago that supported more BT profiles than
this.
I came from a
Hi,
What is the Bluez version supported in Eclair?
What are the BT profile supported in Eclair
Regards,
Shabeer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
With reference to the current work at :
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=core/java/android/bluetooth;hb=master
Can you tell me how can I implement L2CAP Socket?
I need to do it ASAP for a university project.
Hoping for optimistic reciprocation.
Hi,
Has anyone implemented L2CAP sockets?
I have been trying out , but no success as yet.
Please help! :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I want to use bluetooth APIS in my android application. I could found
the API related to wifi but i could not find the API for bluetooth.
Can some one tell me how can i use it ? any links for API docs and
code snippt will be much useful to me.
Thanks to all.
HI
I want to develop an application for input device(bluetooth).
I would like to use HID profile or SPP.
But Android SDK support only A2DP and AVCRP profile.
I'll have to wait until the next version is released.
I have one question.
I think A2DP, AVCRP profile use SPP.
is correct?
If so, we can
Can you help me with my question? Is it possible to use adb commands
if device connected via Bluetooth?
Regards,
Roman.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi !
I have a bluetooth headset that works fine with android 1.5 for
listening music or calling people.
My problem is that microphone is only active when I call someone, but
I would like it to be activated anytime, for dictation.
Is there any way to activate bluetooth microphone wih sdk or is
Hello,
I just noticed, using the HTC Dream that using a bluetooth headset was
really easy for phone calls, but nothing seemed to be available for
videos / music sound output. V1.0 limitations are not at fault since
when you play a music and start a call, you can hear the music in the
headset for
Is there some bluetooth API for android that enables developers to
create a way to transfer files from one g1 to another via bluetooth?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
Can someone explain the current situation with bluetooth from a
developer point?
I take it the latest 1.5 version still does not have development of
bluetooth apps?
If not, when is this going to happen? It's been in J2ME for years!
I saw some post about it being available via compiling the
Hello
I realize that the Bluetooth API is subject to change over time and
that the only available profiles are A2DP and AVCRP, but I am really
interested about the options I have to develop an application using
the Serial Port Profile. I don't really care if the API will later
change, this
On my phone, a dev phone, the bluetooth headset service is always
running even though bluetooth connectivity is disable in the Settings
app. Is this normal?
The ear speaker is not emitting any sound for maybe two weeks now,
even if the on-call sound level is at max (5), so I'm checking a few
On my phone, a dev phone, the bluetooth headset service is always
running even though bluetooth connectivity is disable in the Settings
app. Is this normal?
The ear speaker is not emitting any sound for maybe two weeks now,
even if the on-call sound level is at max (5), so I'm checking a few
Hi,
Iam novice to android and i have seen a issue in G1. can some one
help me to proceed further ?
Steps to reproduce:
1.Pair and connect to a BT mono / Stereo headset.
2. Disconnect the headset from the G1 phone.
3. Switch off the headset.(Plantronics 320 / Motorola HT820)
4. Put the headset
Hi all,
I'm thinking of getting a T-Mobile G1 as a replacement for my existing
Windows Mobile PDA. So far as I can tell it will have everything I
want bar one, namely TomTom. I have bought TomTom Navigator for the
PDA and also pay for a Traffic subscription.
Since I'll only have one tariff with
Could anyone tell me if there is Bluetooth API in SDK 1.1?
Is bluetooth chatting already been implemented on the G Phone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Hi all
I just bought a new a android device
I try to connect my device to bluetooth.
I am able to recive phone calls to from that bluetooth headset device,
but i can't listen to music
using the bluetooth headset.
I think i missed some settings in the device
Any suggestions
Thanks Regards.
hi guys.. im a newbie to the android world. I currently am trying to
enable bluetooth. Can someone guide me what should i do to get it done
im working on the 0.9beta version of sdk
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi,
I wanna enable the bluetooth in Android. On my board, I need to use the
command bccmd to configure my bluetooth chip firstly. However I can not
find it in the Android file system. Maybe I have to recompile the android
sdk to enable it. I know that the bluez-libs is located in
Hi,
I know that the Bluetooth DUN profile was removed prior to the initial
release of Android, does anyone have any information as to whether the
profile (in particular for the T-Mob G1) will be reinstated at some
point in the not too far future?
Richard.
It requires root (just like all the good bits :) ..) but I have worked up a
first pass of PAN bluetooth tethering for the G1. All the details are on my
site at http://www.gotontheinter.net/node/515
The summary: With root, and a little command-line work, it allows you to do
standard bluetooth
I am sure this issue has probably been talked about before but I could
not find a lot of information by searching this group as to when the
SDK will support Bluetooth for applications.
I have read that the bluetooth was locked down for security but that
it may be released in the next SDK release
Hi everybody,
I have been looking for information about Android's bluetooth support,
but unfortunately it is not implemented yet at the Android's emulator.
(see [ 1 ] )
I have found some sensor emulators, such as cameras or acelerometers,
which let us use the sensors through a socket
Does any one know when will the bluetooth api be available? Will it be
available in the next SDK release?
Regards
Prashant
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
Does the SDK simulator support running two phones and communicating via
Bluetooth?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal
301 - 386 of 386 matches
Mail list logo