Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

How to get the orientation from Android?

$
0
0

Now I understand better, thank you very much.
So, basically I'd like to do something like this:

  1. add to my ofApp.cpp a snippet of code that calls for a variable in java, e.g. the currentDegree one;
  2. insert the main Java code as explained here;
  3. compile with:

    ./gradlew assembleDebug

I'm assuming I have already the gradle library inside the project directory.
Is that correct in your opinion?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>