It looks like you're new here. If you want to get involved, click one of these buttons!
Hi guys, I noticed today that my app called onDestroy() and restarted with that familiar distortion that happens when multiple instances of Pd are running. My setup is uses the PdService approach from the book so I was kind of surprised it happened. I believe what actually happened was that multiple instances of my patch were started as the app went through its init routine that happens at start up.
How can I prevent that? I'd rather just have the app completely shut down when that happens. That leads me to another question- what's the best way to manually shut down a libPd app? I know people often argue against doing that with Android apps, but I disagree since battery drain is so high with apps like this.
Looking around I found this guide again http://gitorious.org/pdlib/pages/PdForAndroid
About halfway down is a cleanup routine. Is that still the preferred way to handle shutdown?