thread

Opening an AlertDialog box from your own GameThread

Hi Robert,

Great Website!!

I've started programming for Android two weeks ago.
I've read an awful lot about java & android (I had much experience with other languages but not java and not game development).

After the "Hello Android" example I started my own Tetris clone as a practice.
I have created the game as SplashActivity -> MenuActivity -> GameActivity -> GameView -> GameThread. (start with a splash screen, than show a menu with a button for starting the game)

Android - How to pause/unpause thread in games

Hello,

First of all I would like to thank you because your blog and the information you provide have been a tremendous help for me so far.
I am a new android developer in the middle of creating a simple game with a SurfaceView and a thread (like the Lunar Lander example).

I noticed then when the surface is destroyed or something happens such as an incoming call or the keyboard orientation is changed, it leaves the application in an unpredictable state and it often times crashes.

Syndicate content