- Volume 8 Issue 4
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
- R. Meier, Professional Android Application Development, Wiley Publishing, Indiana, 2009.
- 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.
- 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.
- T. Dumaresq, M. Villeneuve, "Test Strategies for Smartphones and Mobile Devices", Macadamian, 2010.
- 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.
- Android Developer Reference, Activity class. Available at http://developer.android.com/reference/android/app/Activity.html.
- Android Developer Resources, Platform Versions. Available at http://developer.android.com/resources/dashboard/platform-versions.html.
- E. Burnette, Hello, Android: Introducing Google's Mobile Development Platform, The Pragmatic Bookshelf, Indiana, 2008.
- Wikipedia, Rubik's Cube. Available at http://en.wikipedia.org/wiki/Rubik's_Cube.
- M. Zechner, Beginning Android Games, Apress, 2011.