Android Smart phones enable a new, rich user experience in pervasive computing, but their hardware is still very limited in terms of computation, memory, and energy reserves, thus limiting potential applications. In this paper, we are dealing with battery drain problems and stack overflow problems of android mobile phones. For that we are going to develop Rubik’s cube ga...