> could on also use a dedicated broadcast receiver? for example, the > activity registers a BR that has a handle to the activity itself. the > client then sendBroadcasts() to the BR?
Yes, but that would be a lot more overhead and a lot more public. Intents are broadcast to the device as a whole, not just within your application. Ordinarily, I would have suggested AsyncTask, but I believe the threading model the OP needs for the ServerSocket will not work well with the AsyncTask framework. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" 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-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

