Adobe AIR的Andr​​oid的蜂窝/ ICS强制关闭 [英] Adobe air android honeycomb/ics force close

查看:144
本文介绍了Adobe AIR的Andr​​oid的蜂窝/ ICS强制关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个视频的应用程序(客户端)的流,以及通过Flash Media Server的接收音频。它也确实不断的服务器端进行轮询,这不相同,以保持通过Adobe AIR的桌面应用程序(客户端B)订婚。我遇到的问题是: - 90%时,客户端B结束参与客户的力关闭应用程序的时间。 - 5%,我已经看到了应用程序强制关闭时,从一个客户端的参与。 - 正常工作在姜饼。在蜂窝并不+

I have a video app (client a) that streams and receives audio via flash media server. It also does constant server side polling to maintain an engagement via an adobe air desktop app (client b) which does the same. The problem I'm having is that: - 90% of the times when client b ends the engagement the app in client a force closes. - 5% I have seen the app force close from when client a ends the engagement. - works fine in gingerbread. Doesn't in honeycomb+

调试不扔东西,logcat中抛出一个错误,消费者关闭输入... 我已经分离出了问题我的Flash媒体服务器类,但我没有做任何事情比任何其他的连接类不同。

Debug doesn't throw anything, logcat throws an error that consumer closed the input... I have isolated the problem to my flash media server class, however I am not doing anything different than any other connection class.

有没有人遇到过这个问题?就像我说的itworks罚款姜饼... 任何指针会great.been敲我的头撞墙2周,现在和计数

Has anyone ever experienced this issue? Like I said itworks fine in gingerbread... Any pointers would be great.been banging my head against the wall for 2 weeks now and counting

推荐答案

花了一段时间发现问题,但它到底是在FMS服务器的问题。 余的混合物在间隔运行的函数来检查除其他事项外的用户的时间戳,但是当接合正由客户端B完成时,时间戳被stillt rying运行和断开用户,即使该连接已经关闭。 一旦我得到的排序问题就走了。

Took a while to find the issue but in the end it was an issue in the fms server. I was running a function at an interval to check for user timestamps among other things, however when the engagement was being finished by client b, the timestamp was stillt rying to run and disconnect a user, even though the connection was already closed. Once I got that sorted the issue went away.

这仍然是奇怪怎么这个问题wasnt影响的Andr​​oid 2.x的设备...

It is still weird how this issue wasnt affecting android 2.x devices...

这是可能不会有很大的帮助很多人,但是如果你看到你的应用程序的力量收盘,和你的应用程序接收下降到FMS的最后消息之一,已检查的东西你在干什么.ASC文件在你的FMS。

This is probably not going to be very helpful to many people, however if you do see your app force closing, and one of the last messages your app receives is down to the fms, have a check for something your doing in the .asc file in your fms.

不幸的是这学到了艰辛的道路,花了3周看我的code,认为这是一件它正在或某种错误的... 很高兴我错了!

Unfortunately learnt this the hard way, spent 3 weeks looking at my code, thinking it was something it was doing or some kind of bug... Glad I was wrong!

这篇关于Adobe AIR的Andr​​oid的蜂窝/ ICS强制关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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