Is it possible to pass an open Bluetooth socket from one Activity to another?
I guess I'm somewhat confused about what activities can and cannot pass.
I don't know if it's possible, but if so it's almost certainly a bad idea.
Once more than one component has a socket open, it becomes orders of magnitude
harder to manage socket state.
A better approach is to have a single manager interact with the resource directly,
and act as a concierge or dispatcher for service requests from the resource.
--
Lew
--
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
---
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment