I'm struggling right now to figure out the best way to get the graphics to free up in my Android game. Right now, I've tried the following.
- Just start everything in onCreate() -> No graphics appear, because I never leave onCreate().
- Set up a thread - Has problems with dialogs and such, but without dialogs, I can make it work.
So, what should I be doing? I would like to start this when I enter the a开发者_Python百科ctivity, and require no input to start (There are several inputs during the game, of course), at least, ideally. So, what can I do?
If you're having problems with dialogs, you might need to look into runOnUiThread.
精彩评论