Jump to content
  • entries
    943
  • comments
    5,899
  • views
    923,759

Android Guts


Josh

1,654 views

 Share

I spent most of today getting the Android library more polished, especially when handling application switching. It's a little tricky because Android doesn't automatically manage your sound channels and OpenGL resources, so these need to be reloaded when an app regains focus. Here's a video, which I obviously had way too much fun with in iMovie:

 Share

2 Comments


Recommended Comments

If you automatically disable sound when pressing the Home button, there should be also an option to let the sound play, because that's sometimes wanted, for example when making a music player with LE3. Not sure if physics can be left running too, but it would be good, if there is some realtime game which depends of physics over time, so it should not stop when pressing Home (Home is actually like Alt-Tab on Windows). But like in Windows, the programmer should be able to choose whether he wants the game to sleep when AppSuspeded() is true, or if he wants it to keep running.

Link to comment
Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...