For many reasons, you really shouldn't be using non deterministic UUID generation: it just doesn't make sense as to why you'd need it. (Keep in mind, phones can only be connected to two or three other things at a time.) What's your real problem? I've had cases where I generate 10 UUIDs and then cycle through each in case one is taken, but never the case where I keep generating them.
Kris On Wed, Feb 13, 2013 at 5:24 AM, tom lee <tom.mai78...@gmail.com> wrote: > After extensive researching on the Bluetooth Chat example, it all comes down > to using pre-determined UUIDs to connect to another device, the 1-to-1 way. > However, that doesn't make it useful. > > I need to not rely on pre-determined UUIDs, so that I'm able to connect > multiple devices together with Bluetooth, without having to generate as much > UUIDs as possible. > > Have you ever tried doing non-deterministic UUID generation for Bluetooth > connections, using UUID.randomUUID() or similar methods? > > -- > -- > 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+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-developers+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.