Bluetooth isn't really all that secure of a protocol... You have to
instead implement that at the application layer.  (Although you can
read about Bluetooth encryption..)

Generating UUIDs is standard practice used all over the place in more
than Bluetooth: it's also used in many IDLs to identify interfaces
uniquely.

Your UUID is basically your app's signature (wrt Bluetooth), if it
doesn't match you won't be able to connect.

Kris


On Fri, Feb 15, 2013 at 11:50 AM, tom_mai78101 <tom.mai78...@gmail.com> wrote:
>> Why is generating them and sticking them in your code bad?  Why do you
>> hate it?  This is standard practice in many situations, so much that
>> IDEs do it for you sometimes.
>
> I disliked having to generate them and stick them into my code, for fear of
> security. And I never recalled my IDE having to auto-generate UUIDs for me.
> Now that you mentioned this being a standard practice, I don't know what to
> say about it. I probably didn't know about it in the first place.
>
> As promised, the results are in. Yes, they work flawlessly. Yes, I hate to
> rewrite lots of code, including scrapping away a few files. And yes, I'm an
> idiot. :(
>
>
> --
> --
> 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.


Reply via email to