Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

windows phone app running in the background

Is it possible to create an app the runs in the background? If so is there any samples out there for this?

like image 493
Nick LaMarca Avatar asked Feb 27 '11 21:02

Nick LaMarca


People also ask

How to run apps in the background on Windows 10 Mobile?

Then select Personalize on the left, and under Lock Screen Apps, click the + mark and add the app that you want to run in the background. Windows 10 Mobile will be able to run multiple apps in the background and these apps will use the 4G or Wi-Fi connection to connect to internet and download the latest updates or notifications (based on the app).

What is yourphone EXE running in the background?

Once you linked your devices, you may noticed that YourPhone.exe is running the background. Windows 10 comes with a special app, Your Phone, that allows pairing your Android or iOS smartphone with your desktop computer and browse your phone data on the PC.

How do I stop apps from running in the background Windows 10?

Select Start , then select Settings > Apps > Apps & features. Scroll to the desired app, select More options on the right edge of the window, then select Advanced options. In the Background apps permissions section, under Let this app run in the background, select Never. Desktop apps won’t appear in the App list.

What are the default settings for running apps in the background?

The default setting for each app is “On,” allowing each app to run in the background if it likes. Set any apps you don’t want to run in the background to “Off.”


1 Answers

In Windows Phone OS 7.1 you can actually use Background Agents now to perform tasks in the background.

from MSDN:

Scheduled Tasks and background agents allow an application to execute code in the background, even when the application is not running in the foreground. The different types of Scheduled Tasks are designed for different types of background processing scenarios and therefore have different behaviors and constraints.

You can use a PeriodicTask or ResourceIntensiveTasks. Read more about it in the MSDN article above.

And here's some sample code for you to integrate background agents into your existing app. Sample Code: Background Agents in Mango

like image 61
Chris Ching Avatar answered Sep 27 '22 00:09

Chris Ching