On Fri, Jul 13, 2012 at 12:55 AM, Mitchell Just <[email protected]> wrote: > Would the best way to do this to make a Service which handles a socket to > the server?
Possibly. That is difficult to answer in the abstract. However, if your objective is to deliver these messages at any time, without the user necessarily being in your app, please try to switch to Google Cloud Messaging. Otherwise, you would need to try to have a service running 24x7 with an open socket connection, and that will be difficult to write and easy for users to detest. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.8 Available! -- 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

