Questions tagged [background-agent]
34 questions
6
votes
1 answer
Protecting shared isostorage data between app and background agent
According to MSDN communication between foreground app and background agents through files in isolated storage should be protected by a Mutex.
The only article I can find that describes how to do this is this one by Dina Berry.
However, she only…

Jesper Larsen-Ledet
- 6,625
- 3
- 30
- 42
4
votes
3 answers
Is it possible to have different IsolatedStorageSettings.ApplicationSettings?
I have the problem that it seems like the changes I do to my ApplicationSettings are not updated in my AudioPlayerAgents ApplicationSettings which should be the same ?!
My program looks like this:
In my MainPage.xaml.cs in the OnNavigatedTo I am…

Philiiiiiipp
- 705
- 1
- 9
- 24
4
votes
1 answer
In Mango, is it possible to reference background agents in class libraries?
I have an app which currently plays music (in the background) all the time it is running.
We wish to upgrade this in the Mango version of the app to use an Audio Playback Agent.
The majority of the playback logic is currently in a class library…

Matt Lacey
- 65,560
- 11
- 91
- 143
4
votes
1 answer
Scheduled task for Windows Phone 7.0 class library
Hi allI want to add scheduled task facility to my class library. User should be able to get the location periodically and he should be able to determine time interval, using classes in my class library. It must be compatible with Windows Phone 7.0.…

moztemur
- 941
- 1
- 9
- 22
3
votes
3 answers
How is whatsapp fetching message in background in windows phone?
After the latest update of Whatsapp on Widows Phone Store, I have noticed that now, once they show the toast of message on my device, then they mark the message as delivered (notify the sender that the message has reached my device).
After I let the…

ua741
- 1,446
- 15
- 28
2
votes
2 answers
Dynamic LiveTile - render a custom font TextBlock on LiveTile with background task
I'm having problems in rendering custom textblock with custom font resource on liveTile ?
My project updates a live tile in background. but it should be personalized.
Im using this code. but its does not woks, the text shows blank when i try to use…

Daniel Santos
- 14,328
- 21
- 91
- 174
2
votes
0 answers
Communication between Windows Universal App and Desktop application (Win 10)
Is there any way to realize communication between a Windows Universal App and a standard Desktop application running at the same computer? I read that UAs don't support IPC. Instead they use those so called background agents. But is it possible to…

Peter
- 369
- 2
- 5
- 18
2
votes
1 answer
Referencing WCF service from WP8 background agent
I have stumbled upon a problem referencing WCF service from Windows Phone background agent.
I have two projects in my solution
Windows Phone App
Background agent
I'm referencing two services in my WP app. I want the background agent to…

Folio
- 33
- 4
2
votes
0 answers
How to make a VoIP from receiving Raw Notification Windows Phone
I've read this topic
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206983%28v=vs.105%29.aspx
And my knowledge I understand is that Server will send a Raw Notification ( with X-Class = 4 )
to Front-End(Windows Phone apps).
Assume…

user3143997
- 21
- 2
1
vote
1 answer
How to access a SqlServerCE database from a Background Agent in Mango?
I'm trying to use background agents to update live tiles every x minutes.
I've seen that I can use a Background Agent to update a live tile. I would like to make a query on the SqlCE db used in my project and I would like to execute it in the…

Cris
- 12,124
- 27
- 92
- 159
1
vote
1 answer
InvalidCastException HttpWebRequest c#
I have a problem: app throws InvalidCastException when I creating HttpWebRequest in BackgroundAgent.
This code works in App foreground tasks, but doesn't works in BackgroundAgent:
HttpWebRequest request =…

SevenDays
- 3,718
- 10
- 44
- 71
1
vote
1 answer
Bug? Windows phone 8 Resource Intensive Task on release mode
My application is using the Auto-upload feature which allows using a Resource Intensive Task to upload pictures.
If I use ScheduledActionService.LaunchForTest then it works fine, but when I erase this line of code, the resource intensive task never…

programmer23
- 533
- 4
- 15
1
vote
2 answers
WP8: Communication between Background Agent and App wire Storage File?
I am trying to write a simple weather app as my first app.
I have to keep the numbers of http requests as low as possible and so I am using a isolatedStorageSetting within the app to save the requested data and the date and time of the last request.…

user3168511
- 254
- 1
- 15
1
vote
1 answer
Background Agent Not Performing.: Windows Phone 8
NEED A SOLUTION
Background agent is working only once. After There is no occurrence of a background agent. It works at the first time and it works perfectly as soon as the page opens. however, after that it takes forever and ever to do that again.…

gayan1991
- 753
- 2
- 11
- 35
1
vote
1 answer
windows phone 8 - activating the app from the background agent
I have a WP8 app in which i want to be able to create and schedule an alarm from the background agent. But the API ScheduledActionService.Add() cannot be called from the background agent.
So, i thought of a work-around where if the background agent…

user2720826
- 21
- 2