An Efficient Interruption Handling for 3D Games based on Android Platform

Viet, Doan Quang;Choi, Chang Yeol

  • Received : 2012.06.29
  • Accepted : 2012.09.29
  • Published : 2012.12.28


Recently the unprecedented progress of Android platform and Google Play has brought more opportunities for individual mobile game developers. When playing an Android 3D game, users can accidentally hit HOME Key or BACK Key or receive an incoming message. Subsequently, another screen will appear on top and make the game application lose focus, or the operating system pause that game. These interruption events may also lead to the loss of game information or the game runs out of user control if that game cannot catch interruption events itself and resume at the exact time. As same as other mobile platforms, Android platform also provides Activity Lifecycle methods to help the game application control interruption problems. However, these methods are not adequate to solve all the interruption events. By implementing ANDCube game, we examine most of the possible interruption cases and propose some solutions to help Android game developers avoid some common interruption cases. Concurrently, we show the ways how a game application can catch all unavoidable interruption events and effectively resume from interruption to obtain a high quality game.


Android;interruption;3D game;life cycle


  1. R. Meier, Professional Android Application Development, Wiley Publishing, Indiana, 2009.
  2. D. Franke, C. Elsemann, and S. Kowalewski, "Reverse Engineering of Mobile Application Lifecycles," Proc. The 18th Working Conference on Reverse Engineering, 2011, pp. 283-292.
  3. D. Franke, S. Kowalewski, C. Weise, and N. Prakobkosol, "Testing Conformance of Life Cycle Dependent Properties of Mobile Applications," Proc. IEEE Fifth International Conference on Software Testing, Verification and Validation, 2012, pp. 241-250.
  4. T. Dumaresq, M. Villeneuve, "Test Strategies for Smartphones and Mobile Devices", Macadamian, 2010.
  5. S. Srirama, R. Kakumani, A. Aggarwal, and P. Pawar, "Effective Testing Principles for the Mobile Data Services Applications," IEEE Workshop on Software for Wireless Communications and Applications, 2006, pp. 1- 5.
  6. Android Developer Reference, Activity class. Available at
  7. Android Developer Resources, Platform Versions. Available at
  8. E. Burnette, Hello, Android: Introducing Google's Mobile Development Platform, The Pragmatic Bookshelf, Indiana, 2008.
  9. Wikipedia, Rubik's Cube. Available at's_Cube.
  10. M. Zechner, Beginning Android Games, Apress, 2011.