Flashbuilder 4.5 Android摄像头重新启动我的应用程序 [英] Flashbuilder 4.5 Android Camera restarting my application

查看:147
本文介绍了Flashbuilder 4.5 Android摄像头重新启动我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在与FlashBuilder 4.5,并努力使Android版的应用程序,使用拍照功能。它工作正常,在iOS上,但在Android中,我能够在拍摄时使用Android相机UI,但任何事情后,我做的(打取消,或接受),将重新启动我的应用程序。我带到闪屏和应用程序重新开始。我没有任何形式的Event.DEACTIVATE听众的事情。我没有,但我有他们注释掉。我可以单击主页,返回到手机的桌面,当我重新启动我的应用程序,它返回到我离开它。唯一的问题是,当我外出摄像头从我的应用程序,它使我的应用程序失去焦点,并强制重新启动,当我试图回去吧。我已经冲刷谷歌为别人有这个问题,但没有人似乎有它。有什么想法?

I'm working with FlashBuilder 4.5 and trying to make an app for Android that uses the camera function. It works fine on iOS, but in Android, I am able to take the picture using the android Camera UI, but anything I do after that (hit cancel, or Accept), it restarts my application. I am taken to the splash screen and the app starts over. I do not have any sort of Event.DEACTIVATE listeners going on. I did, but I have them commented out. I am able to click Home, to return to the "desktop" of the phone, and when I relaunch my app, it returns to where I left it. The only problem is when I go out to the Camera from within my app, it causes my app to lose focus and forces a restart when I try and go back to it. I have scoured google for someone else with this problem but no one else seems to have it. Any thoughts?

推荐答案

这个问题快把我逼疯了为好,但它可以通过启用会话持久性的主要的ViewNavigator或TabbedViewNavigator页面上得到解决。

This problem was driving me crazy as well, but it can be solved by enabling session persistence on the main ViewNavigator or TabbedViewNavigator page.

请参阅 Adob​​e Flex的4.6 *在移动应用程序启用持久了解更多信息。

这篇关于Flashbuilder 4.5 Android摄像头重新启动我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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