Monday, June 14, 2010

[android-developers] Re: Disable Bluetooth discoverable mode

Thank you again Gyan. I will try to take a look at the
BluetoothClass.Service to see if it is useful for me. I'm not sure
how it is used but I'll try to find out. As for the NDK, I have read
other posts regarding using NDK with bluetooth and I believe that its
not recommended. This is the site:
http://groups.google.com/group/android-developers/browse_thread/thread/57b609a863aea8b0/725e3e2f6e748dce

Other sites that WAS able to incorporate NDK into Bluetooth has been
some time ago and these apps are no longer useful for devices with
later platforms...

http://mylifewithandroid.blogspot.com/2008/01/hacking-into-androids-bluetooth-support.html
http://blog.blackwhale.at/2009/08/android-bluetooth-on-steroids-with-the-ndk-and-bluez/


Perhaps making bluetooth discoverable mode longer than 300 seconds is
"impossible" for now.

Sincerely,
BitsAndroidTeam

On Jun 14, 11:22 am, Gyan <gnanesh....@gmail.com> wrote:
> U cant make the device discoverable for more than 300 seconds using any
> means.
>
> Based on the constants mentioned in the above link, u basically define whats
> ur service using the bluetooth capability for!
>
> If u use to stream audio, you can define the BluetoothClass constant as
> Audio.
>
> NDK is also another way to go about. You can achieve performance there,
> albeit I've not used the NDK for BlueTooth
>
> Gyan

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment