Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在“andengine”中开发游戏。当我在玩游戏时关闭屏幕。然后再次启动屏幕并打开屏幕锁定然后游戏从启动开始。
您只需将以下行放入 mainifest 文件中的主要活动标签中。android:configChanges="keyboardHidden|方向|键盘"