Socket X Android

1

I am doing socket study on Android (an chat with some more functions on other screens) but due to the little knowledge in moment I was 'caught' at one point. How can I create a single connection to the socket in app where I can use this same connection throughout the app

I thought about creating it in class BaseApplication but I still did not succeed. If anyone can suggest something, thank you.

    
asked by anonymous 22.12.2016 / 14:09

0 answers