Click here to Skip to main content
15,891,902 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I have created a Window phone 8 app. Which changes the lockscreen image and notification in around 30 sec randomly.

My code works well in the emulator and device. When I install it through the code. My problem is that when I have submitted the app to the store as a beta app. And now I install the app from the store the app don't work as it was working. The lockscreen content don't change it remains static. I have checked the settings background agents that app is running in the background tasks but not showing the result.

What could be the cause that app is running well from the code but not from the xap uploaded to the store.

Link of app is http://www.windowsphone.com/s?appid=00d47e34-a551-4c98-b2a6-32e10babdc2f[^] am I missing any capability that need to fixed.

Your suggestions are welcome.
Posted

1 solution

Does your background task start automatically at application installation time? Or you have a button or something like that to start that task? If not then possibly that is the case of the problem.Because-
"There currently no way to register background tasks at application install time."

You need to read the comments from here..
Background task sample (Windows 8)[^]
 
Share this answer
 
v5
Comments
yeshveer88 9-Sep-13 5:15am    
Yes I have provided a button for the background task to start. it also show my background task in the background tasks too. But somehow it is not working on tha app uploaded to the store while its working well on device and emulator from the code.
ridoy 9-Sep-13 5:57am    
See these 2 links whether there are something helpful for you: http://msdn.microsoft.com/en-us/library/windows/apps/hh977056.aspx, http://msdn.microsoft.com/en-us/library/windows/apps/jj542415.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900