Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Background Tasks

$
0
0

In my application I have a Socket Connection to a server, in Android this is running in a Android.App.Service, this works as it should even when the app is
minimized/suspended. I am no working on the Windows Phone part, I tried to create a new Thread(SendAndRecieveAction) { IsBackground = true }; but when I press the windows button and the application gets minimized all the resources gets cleared (Sockets gets closed even though it has an keep alive packets). How can I implement my Sockets in Windows phone that when the user minimizes the application the Sockets would not end


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>