background-agents

How to send GPS data to server every 5 minutes?

青春壹個敷衍的年華 提交于 2019-12-11 05:32:22
问题 I am planning to write WP7 app, which needs to send to server phones GPS position every 5 minutes. Data must be sent to server even if app is not running. One way to do that is to use Background agents (I am using 7.5 Mango), but in that case app will send data only every 30 minutes, which is not acceptable in my case. Is there any other solution? Thanks in advice. 回答1: No, this is not a supported usecase for WP7 apps on Mango. Also, it's important to mention that the location you'll get for

Simultaneous Lotus notes server-side agents

…衆ロ難τιáo~ 提交于 2019-12-08 18:22:27
In my Lotus Notes workflow application, I have a scheduled server agent (every five minutes). When user's act on a document, a server-side agent is also triggered (this agent modifies the said document, server-side). In the production, we are receiving many complaints that the processing are incomplete or sometimes not being processed at all. I checked the server configuration and found out that only 4 agents can run concurrently. Being a global application with over 50,000 users, the only thing that I can blame with these issues are the volume of agent run, but I'm not sure if I'm correct (I

Any Tips for getting Windows Phone 8 Resource Intensive Task to Run?

ぃ、小莉子 提交于 2019-12-07 11:11:02
问题 I have been trying to get a Resource-Intensive Task background agent to run in release mode after deploying to the phone for several days and have never seen it run. Has anyone got this to work outside of the debugger? How long did you have to wait before it ran? I am able to launch and successfully run the Resource-Intensive Task using the LaunchForTest but have never gotten it to run as it should in release mode even though the task shows that it is scheduled. I have followed the samples

Detect application launch from Universal Volume Control

独自空忆成欢 提交于 2019-12-06 05:54:15
问题 I have an application, targeting mango devices, which plays music via a BackgroundAudioAgent. As such it integrates with the universal volume control (UVC). Is there a way to detect when the application is launched by tapping the artists details in the UVC? Alternatively, is there a way to set a deep link for the UVC to use? I want this so that I can take the user to the "Now playing" page, rather than the main page, when the app is launched via the UVC. Update This also affects launching the

Any Tips for getting Windows Phone 8 Resource Intensive Task to Run?

别来无恙 提交于 2019-12-05 17:13:01
I have been trying to get a Resource-Intensive Task background agent to run in release mode after deploying to the phone for several days and have never seen it run. Has anyone got this to work outside of the debugger? How long did you have to wait before it ran? I am able to launch and successfully run the Resource-Intensive Task using the LaunchForTest but have never gotten it to run as it should in release mode even though the task shows that it is scheduled. I have followed the samples and the phone should have met the requirements for launch. I have set the manifest up for auto-upload as

Detect application launch from Universal Volume Control

强颜欢笑 提交于 2019-12-04 10:23:12
I have an application, targeting mango devices, which plays music via a BackgroundAudioAgent. As such it integrates with the universal volume control (UVC). Is there a way to detect when the application is launched by tapping the artists details in the UVC? Alternatively, is there a way to set a deep link for the UVC to use? I want this so that I can take the user to the "Now playing" page, rather than the main page, when the app is launched via the UVC. Update This also affects launching the app from the now playing tile in the Music & Video hub as the BackgroundAudioPlayer automatically

Windows phone 8.1 deployment error when trying to use background task with audio and device use trigger

和自甴很熟 提交于 2019-12-02 15:18:00
问题 I'm trying to create a background task that uses the accelerometer to play with the music in the background (pause, play, etc). In the Package.appxmanifest I have a backgroundtask, that reads the accelerometer and in the Package.appxmanifest it has Device use trigger as supported task type. When I try to add Audio as supported task type I get the following error during deployment: DEP0001 : Unexpected Error: Package could not be registered. (Exception from HRESULT: 0x80073CF6) I played with

Windows Phone 8 - 2 Background Audios Clash and both of the App terminates

笑着哭i 提交于 2019-12-01 21:33:19
around a week ago, I submitted an online Background Radio Streaming app for the Windows Phone store. The app was quite good (as I used the Emulator to test it, it was good on all the possible sectors) but when I submitted it for certification, it failed. According the the error log, if someone is already playing a Music from Music + Video hub and then tries to open this app, both of the apps Crash and stop unexpectedly. So far I understood, it is because the Music of Music + Video hub is also Background Music and for playing 2 Background Musics at the same time, the apps are Crashing. It can

Resize image for Live Tile - WriteableBitmapEx

自古美人都是妖i 提交于 2019-12-01 09:04:50
** Found the solution Because of the fact this is a tile, the image will always be strechted to 173 by 173! To avoid this first create a dummy 173 by 173 and merge this with the resized one! Rect rect = new Rect(0.0, 0.0, width, height); WriteableBitmap bitmapDummy = new WriteableBitmap(173, 173); bitmapDummy.Blit(rect, resized, rect, WriteableBitmapExtensions.BlendMode.None); ** Well I have created a Background agent to update the live tile of my WP7 app. But no matter what I try to resize it, I'm not getting a good result! Any tips? Currently I have following code, but I also tried 135 by

Resize image for Live Tile - WriteableBitmapEx

孤人 提交于 2019-12-01 05:40:54
问题 ** Found the solution Because of the fact this is a tile, the image will always be strechted to 173 by 173! To avoid this first create a dummy 173 by 173 and merge this with the resized one! Rect rect = new Rect(0.0, 0.0, width, height); WriteableBitmap bitmapDummy = new WriteableBitmap(173, 173); bitmapDummy.Blit(rect, resized, rect, WriteableBitmapExtensions.BlendMode.None); ** Well I have created a Background agent to update the live tile of my WP7 app. But no matter what I try to resize