Calling Android specific functions in a SimpleApplication

How can I call an Android api function from within my jME3 project? If I do “include android…” the libraries are not recognized. If I add android.jar into my project I get an error when building. I’m building to Android with the IDE.

i have the same problem, does anyone have the answer to this problem?

The manual does:

https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:android#using_android_specific_functions



Btw, you can use F1 to access the manual in the SDK, you can also use the search field in the upper right of the SDK to search the manual.