• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Problem restarting a demo app

Bonked

Newbie
Aug 11, 2017
17
3
Hi,

I followed this example: http://o7planning.org/en/10521/android-2d-game-tutorial-for-beginners

It all works great, except when I use the back button to "exit" and then start it again... (it hangs with a black screen, until touch too much and given option to quit)

Other than some input messages the log output is as follows, but?
Code:
11-10 01:50:36.651  2214  2229 W ActivityManager:   Force finishing activity com.example.demo/.demo
11-10 01:50:37.091  2214  9553 E Surface : getSlotFromBufferLocked: unknown buffer: 0xba4e8458

Any ideas please?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones