class
AndroidApplicationMain entry point and handler for Android applications.
Base classes
- class Application
- Base class for main entry points of nCine applications.
Public static functions
-
static void Run(struct android_app* state,
std::
unique_ptr<IAppEventHandler>(*)() createAppEventHandler) - Entry point method to be called in the
android_main()
function. -
static void ProcessCommand(struct android_app* state,
std::
int32_t cmd) - Processes an Android application command.
Public functions
- auto IsInitialized() const -> bool
- Returns true if the application has already called
Init()
- auto GetPackageName() const -> const char*
- Returns the package name for the Android application.
- auto OpenUrl(StringView url) -> bool override
- Opens the specified URL in a default web browser.
- void ToggleSoftInput()
- Toggles the software keyboard.
Friends
- auto theApplication() -> Application&
- Returns application instance.