Hi,
is it possible to set compiler switches where are mode dependent?
I would write a application that are running on PC in JAVA MODE and on android phones in ANDROID MODE. I've been searching for an option like
#ifdef java_mode
or
#ifdef android_mode
on C.
This works fine. Then I switch to Android mode, set the permissions to INTERNET and build the debug apk without errors. I copied this to my phone, install it and run the app.
But, if I start the app and tap the screen, the window was filled with light gray and the applications stops with a messagebox "appppp... stoped" OK
Where can be the problem?
All devices are in the same network and transferes data over wifi.
I'm thankful for a hint.