Air for Android:设备报警后的黑屏 [英] Air for Android: Black Screen after device-alarm

查看:167
本文介绍了Air for Android:设备报警后的黑屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个问题,几乎没有什么可以继续。我即将在三星App Store上发布一个应用程序(使用Air for Android As3创建),并在应用程序发布之前获得三星员工测试后的问题列表。 / p>

我确实设法解决了几乎所有的问题,但是有一个非常重要的问题超出了我。他们说,屏幕变成/保持黑色,当设备报警中断应用程序时返回。这个问题在他们所有的设备上都会发生,包括我所拥有的手机(例如Galaxy S3)。



我确实有OnDeactivate和OnActivate监听器来暂停应用程序,禁用声音等,如果它失去焦点,最小化等,但我检查了我的设备,我不能重现这个错误。意思是如果应用程序在我的设备上被闹钟中断,我可以恢复它没有任何问题。没有黑屏。



所以问题是:我有什么办法可以解决这个问题吗?我必须在AirForAndroid AS3内工作,所以我猜可能性是有限的。任何线索,我可以看看?任何听众设置,或者有没有办法可能强制的应用程序重新初始化或刷新显示?或听取系统警报?帮助将不胜感激。好消息,切换舞台质量的肮脏的解决方案似乎已经为三星工作,它还没有显示在我的应用程序的最新认证报告。顺便说一下,这是不是为一个stage3D应用程序,这是不同的
这是一个GPU应用程序

/ p>

I do have a problem and have very little to go on. I'm about to release an App (created with Air for Android As3) on the Samsung App Store and just got a list of issues that have to be resolved after the app has been tested by samsung staff before the app could be released.

I did manage to solve almost all of the issues, but 1 very important one is beyond me. They say the screen turns/stays black, when returning after the device alarm interrupted the app. This issue practivally happend on all their devices, including a group including the phones I own (e.g. Galaxy S3).

I do have "OnDeActivate" and "OnActivate" listeners in place that are there to pause the app, disable sound etc. if it loses focus, gets minimized etc., yet I checked on my devices and I can't reproduce this error. Meaning if the app gets interrupted on my device by the alarm, I can resume it without any problems. no black screens.

So the question is: Is there any way for me to fix that at all? I do have to work within AirForAndroid AS3 so I guess possibilities are limited. Any clues where I can look? Any listeners to set, or is there a way to maybe "force" the app to reinitialize or refresh the display? Or to listen for the system alarm? Help would be much appreciated. Thanks in advance!

解决方案

Good news, the dirty fix of toggling the stage quality seems to have worked for Samsung, it has not shown up in their latest certification report of my app.

by the way, this is not for a stage3D app, that's different It's for a GPU app

这篇关于Air for Android:设备报警后的黑屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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