将项目升级到Windows Phone 8.1后,后台任务未运行 [英] Background task not running after upgrading project to windows phone 8.1

查看:63
本文介绍了将项目升级到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 fine on emulator 8.1 but 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 about WriteableBitmap 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后,后台任务未运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆