I searched but could not find info about this:

Situation:

1. GL used + Looping sounds (soundpool)
2. want to prevent leaving user to reboot to get rid of looping sound
in case of app error.

In onDrawFrame, a try-catch block catches exceptions, and stops the
sounds.
So-far, so-good.

But: cant rethrow exception (cant change GLSurfaceView.Renderer
prototype).

Therefore, can't propagate exception to OS, disabling the ability to
get stack traces from users by means of the developer console.

Result: sound stops, but UI thread happily runs (and depending on the
exception the render thread as well).

This is a serious issue: either I cant get stacktraces, or leave users
of the app with looping sounds which ia (a) annoying to reboot, (b)
drains battery.

Anyone know a way around this (besides not getting exceptions...).

Thanks in advance.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to