How to run application in background in Windows Phone?

19,282

WP7/WP8 don't allow for full multitasking in the background for arbitrary apps. Whatever it is you're trying to accomplish will either have to be achieved in some other way or just not done on windows phone. There's lots of alternative as you've found out: WP7.5 Alarms & Reminders, WP7 Scheduled Tile updates, WP7.5 Periodic Background Agents, Resource Intensive Background Agents, WP8 Geolocation tracking apps, WP7 Push Notifications and more.

The zen of WP7/8 Multitasking is to keep phones healthy both from a battery perspective, memory usage perspective and other resources as well. So, no full background multitasking. Although WP8 improves there with Geolocation tracking apps and Fast Application Resume.

Share:
19,282
DeveloperLove
Author by

DeveloperLove

Updated on July 25, 2022

Comments

  • DeveloperLove
    DeveloperLove almost 2 years

    I want to develop a background application in Windows Phone 8. Like there is a flash screen and after the flash screen starts, immediately it would be moved to back ground.

    But the timer present in the application should be active from being in background and keep doing the task assigned. So, in the fore ground user can continue using the device and in background the app will run a timer and continue with the tasks.

    I have tried using Periodic tasks, but they get triggered once in 30 minutes and more. But I want this app to be triggered once in 20 seconds.

    Kindly help me with some ideas.

  • MLProgrammer-CiM
    MLProgrammer-CiM over 11 years
    Now that you have closed my other question (thanks) can you at least answer me if FTP can be done in the background every minute and how?
  • MLProgrammer-CiM
    MLProgrammer-CiM over 11 years
    I already read and knew about how to implement the Background agents, but that was not what I asked.