Minetest  5.4.0
porting_android.h File Reference
#include <jni.h>
#include <android_native_app_glue.h>
#include <android/log.h>
#include <string>
+ Include dependency graph for porting_android.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 porting
 

Functions

void porting::initAndroid ()
 
void porting::cleanupAndroid ()
 
void porting::initializePathsAndroid ()
 Initializes path_* variables for Android. More...
 
void porting::showInputDialog (const std::string &acceptButton, const std::string &hint, const std::string &current, int editType)
 show text input dialog in java More...
 
void porting::openURIAndroid (const std::string &url)
 
int porting::getInputDialogState ()
 WORKAROUND for not working callbacks from java -> c++ get current state of input dialog. More...
 
std::string porting::getInputDialogValue ()
 WORKAROUND for not working callbacks from java -> c++ get text in current input dialog. More...
 
float porting::getDisplayDensity ()
 
v2u32 porting::getDisplaySize ()