Hello all, I am new to android development and am developing a a cloud based app. I want to know what is the best practice for sockets in android. Since i may have to refer to the socket object in various activities, i want that object to be global (accessible everywhere). I have tried but initializing sockets in one activity and passing socket objects between activities in bundles is not possible. - Should i make a service to initialize it ? will it be good enough? or is there any other better way of realizing this? Any help would be appreciate. Thank you !
-- 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

