将项目升级到Windows Phone 8.1后,后台任务未运行

编程入门 行业动态 更新时间:2024-10-19 14:36:33
本文介绍了将项目升级到Windows Phone 8.1后,后台任务未运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好

我开发了一个Windows Phone 8应用程序,它在后台任务中使用writablebitmap来更新实时图块。

I've developed an application for windows phone 8 that uses writablebitmap in background task for updating live tile.

我的应用程序在Windows Phone 8上运行良好。

my app works great on windows phone 8.

现在我想将我的应用程序升级到Windows Phone 8.1以进行Action Center集成。将项目升级到Windows Phone 8.1后,后台任务只运行一次,之后将终止(bool IsScheduled变为false)。我在代码中没有更改,没有。

Now I want to upgrade my app to windows phone 8.1 for Action Center integration. After upgrading the project to Windows Phone 8.1 the background task just runs one time and after that will be terminated (bool IsScheduled turns to false). I make no changes in my code, nothing.

它在模拟器8.1上工作正常但不在真实设备中......我真的很困惑

It works fineon emulator 8.1but not in real device... I'm really confused

我正在使用visual studio 2013更新3和我的手机Lumia 920 Windows Phone 8.1预览

I'm using visual studio 2013 update 3 and my phone Lumia 920 Windows Phone 8.1 preview

推荐答案

您好@AmirYari,我在Windows Phone 8.1上阅读了一些关于 WriteableBitmap类的问题。我没有调查那个。可能是一个错误。

Hi @AmirYari, I read some issues aboutWriteableBitmap class with Windows Phone 8.1. I didn't investigate that. May be a bug on this.

你能在这里分享一些代码吗?

Can you share some code here?

问候。

更多推荐

将项目升级到Windows Phone 8.1后,后台任务未运行

本文发布于:2023-11-11 07:15:58,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1577745.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:升级到   后台   项目   Windows   Phone

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!