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 を使用しています。私が直面している問題は、アプリケーションがバックグラウンドになると、再開時に画面が空白になることです。これは、私が含めるときに起こります
@Override public void onGameCreated() { this.mEngine.enableVibrator(this); }
BaseGameActivity 拡張クラスで。助けてください。
それを理解した、またはそう思います。onGameCreated() でバイブレーターを初期化する代わりに、Resume() で初期化したところ、動作しました。
@Override protected synchronized void onResume() { this.mEngine.enableVibrator(this); super.onResume(); }