#if like preprocessor statements to build for Both Applets and Android
in
Android Processing
•
2 years ago
Hi all,
I am trying to create code that works both for a large screen app as well as for Android.
In order to handle the differences, I was wondering if Processing has a way to do the following C type syntax:
#if Build==Android
// Touchstuff
#endif
#if Build==Standard
//Mousestuff
#endif
Is there a way to achieve this in Processing?
Thank you in advance, Julian
1