c# - Work while app is suspended in Windows Phone 8.1 -


i want know what, how, , limitations of work can done whilst app suspended. i'm not talking background tasks, since run whether app suspended or not, can while app in background, suspended.

what noticed far if have backgroundtask completed event attached in mainapp, trigger fired whilst app suspended, meaning can in fact work in mainapp, app suspended. far have 2 ways of doing that, 1 using backgroundtask completed event, , other having timer forces happen.

however, what, how , limitations of can suspended app not clear me.

so, there way of working suspended app? , how cpu time have, if limited, work with?

i have played around bit , found out messagewebsocket, if not disposed on app suspension, can still receive messages.

you use open socket connection send messages, based on can execute code in background.

a problem when app gets terminated os (when device not have enough memory), socket connection closed too.

for more info on how implement sockets see here.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -