避免在AndEngine中恢复Activity时出现黑屏问题

3
有没有办法在恢复AndEngine活动时避免黑屏?

尝试这个帖子 - MrWaqasAhmed
@MrWaqasAhmed 格式化:[问题1](http://stackoverflow.com/questions/9154251/show-different-scenes-for-different-levels-andengine)[问题2](http://stackoverflow.com/questions/9154251/show-different-scenes-for-different-levels-andengine)(在编写评论时单击“帮助”以查看格式规则) - keyser
我已经按照那篇文章中提到的结构进行了操作。我也在使用场景管理器,但是当涉及到第三方应用程序时,它会显示黑屏。比如我打开了Papaya或Openfeint活动,当我回来时,屏幕会暂时变黑,现在有什么解决办法? - Jawad Amjad
1个回答

2

你覆盖了这个方法吗?

@Override
public void onGameCreated() {
    super.onGameCreated();
}

调用 "super.onGameCreated()" 非常重要。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接