aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods
ModeNameSize
d---------bucket110logplain
d---------default142logplain
d---------errorhandler_test36logplain
d---------experimental110logplain
d---------give_initial_stuff75logplain
d---------legacy110logplain
d---------stairs75logplain
d---------test36logplain
> // java app extern android_app *app_global; // java <-> c++ interaction interface extern JNIEnv *jnienv; // do initialization required on android only void initAndroid(); void cleanupAndroid(); /** * Initializes path_* variables for Android * @param env Android JNI environment */ void initializePathsAndroid(); /** * show text input dialog in java * @param acceptButton text to display on accept button * @param hint hint to show * @param current initial value to display * @param editType type of texfield * (1==multiline text input; 2==single line text input; 3=password field) */ void showInputDialog(const std::string &acceptButton, const std::string &hint, const std::string &current, int editType); void openURIAndroid(const std::string &url); /** * WORKAROUND for not working callbacks from java -> c++ * get current state of input dialog */ int getInputDialogState(); /** * WORKAROUND for not working callbacks from java -> c++ * get text in current input dialog */ std::string getInputDialogValue(); #ifndef SERVER float getDisplayDensity(); v2u32 getDisplaySize(); #endif }