Cross Platform Mobile - How to add android specific java code?


  • I'm starting with a new project using
    File | New | Project | Cross Platform | OpenGLES 2 Application (Android, iOS, Windows Universal)
    I can add a new java file from Solution Explorer by right clicking OpenGLESApp2.Andoird.Application and selecting
    Add | New Item | Java
    The Java file shows up, but it never gets compiled.

    I want to be able to call Android specific java functions to openURLs, play sounds, load data from AssetManager, etc...

    Can I use Visual Studio to compile java code and access them from C++ using JNI?


    Thursday, January 21, 2016 10:39 PM