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:

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.