top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Foreground vs BackGround in Windows phone 8?

+1 vote
Foreground vs BackGround in Windows phone 8?
posted Dec 29, 2014 by Saravanan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
Best answer

Foreground-background is a scheduling algorithm that is used to control execution of multiple processes on a single processor. It is based on two waiting lists, the first one is called foreground because this is the one in which all processes initially enter, and the second one is called background because all processes, after using all of their execution time in foreground, are moved to background.

When a process becomes ready it begins its execution in foreground immediately, forcing the processor to give up execution of current process in the background and execute newly created process for a predefined period.

Note: Windows Phone apps are made dormant state when running in the background or when the phone is locked (to conserve device memory and battery life). If your application needs to perform processing when it is (may be) in the background you can use a background agent

answer Dec 31, 2014 by Jdk
Similar Questions
+1 vote

The windows phone emulator wasn't able to ensure the virtual machine was running
Something happened while starting a virtual machine: Emulator WVGA 512MB. Could not initilize.
Not enough memory in the system to start virtual machine Emulator WVGA 512.MB XXXXXXX with ram size 512 megabytes

Any give me a appropriate solution to resolve this.

+1 vote

I am using Visual Studio 2013 for developing windows phone application how to test my application any one explain how can i achieve this... thanks in advance:)