openframeworks/openFrameworks — pull request #1712 by thiagohersan (2012-11-24 05:02:25+00:00)
Title: Fixes for Android examples

First attempt at closing https://github.com/openframeworks/openFrameworks/issues/1710.

It's all in one PR.

A few questions:

I changed all the #pragma once's to #ifdef's, because that's how the EmptyExample had it, and I was trying to be consistent, but then I noticed that quite a few of the other examples have #pragma once's. Which is preferred? I will patch that if needed.

Also, I put a call to ```ofxRegisterMultitouch(this)``` in the setup() of the examples that use touch events, because that's how androidTouchExample had it, but then I noticed that [this](https://github.com/openframeworks/openFrameworks/blob/develop/addons/ofxAndroid/src/ofAppAndroidWindow.cpp#L122-L127) seems to do it. I can remove those calls if indeed they are superfluous.

AudioExample and SoundPlayerExample have some issues/bugs, but they were there before. I will open a separate ticket for these.