It gets set to the product name property the first time bluetooth is
turned on. You could have it use another property. This is done
internally by the bluez daemon.
There is no easy way to change the device name with bt off, because
the bluez daemon is not running.
The bluetooth api is not available through the sdk, so this discussion
should be on android-platform
Nick
Android Systems Engineer
On 12/10/08, Daisuke Miyakawa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm now investigating how to programatically change the default device name
> of bluetooth device ("dream"?) "without activating the device",
> but as far as I looked over the code (around BluetoothSettings.java), it
> seems impossible, since the Preference is not a named SharedPreference.
> I assume that it is possible if activating the device (just do
> "bluetoothManager.setName(brabra)" right?), but I'd like to do it without
> activating it. Sorry for the bizzare request![?]
>
> Does anyone know about this kind of issue?
>
> Thanks,
>
> --
> Daisuke Miyakawa (宮川大輔)
> [EMAIL PROTECTED]
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---