public interface AndroidApplicationBase
extends com.badlogic.gdx.Application
| Modifier and Type | Field and Description |
|---|---|
static int |
MINIMUM_SDK |
| Modifier and Type | Method and Description |
|---|---|
AndroidAudio |
createAudio(android.content.Context context,
AndroidApplicationConfiguration config)
Returns the AndroidAudio to be used by the application
|
AndroidInput |
createInput(com.badlogic.gdx.Application activity,
android.content.Context context,
java.lang.Object view,
AndroidApplicationConfiguration config)
Returns the AndroidInput to be used by the application
|
android.view.Window |
getApplicationWindow()
Returns the Window associated with the application
|
android.content.Context |
getContext()
The application or activity context
|
com.badlogic.gdx.utils.Array<java.lang.Runnable> |
getExecutedRunnables()
The currently executed runnables
|
android.os.Handler |
getHandler()
Returns the Handler object created by the application
|
AndroidInput |
getInput()
Returns the
AndroidInput object associated with this AndroidApplicationBase |
com.badlogic.gdx.utils.SnapshotArray<com.badlogic.gdx.LifecycleListener> |
getLifecycleListeners()
Returns the
LifecycleListener array associated with this AndroidApplicationBase |
com.badlogic.gdx.utils.Array<java.lang.Runnable> |
getRunnables()
A set of usable runnables
|
android.view.WindowManager |
getWindowManager()
Returns the WindowManager associated with the application
|
void |
runOnUiThread(java.lang.Runnable runnable)
Method signifies an intent of the caller to execute some action on the UI Thread.
|
void |
startActivity(android.content.Intent intent)
Method signifies an intent to start an activity, may be the default method of the
Activity class |
void |
useImmersiveMode(boolean b)
Activates Android 4.4 KitKat's 'Immersive Mode' feature.
|
addLifecycleListener, debug, debug, error, error, exit, getApplicationListener, getApplicationLogger, getAudio, getClipboard, getFiles, getGraphics, getJavaHeap, getLogLevel, getNativeHeap, getNet, getPreferences, getType, getVersion, log, log, postRunnable, removeLifecycleListener, setApplicationLogger, setLogLevelstatic final int MINIMUM_SDK
android.content.Context getContext()
Contextcom.badlogic.gdx.utils.Array<java.lang.Runnable> getRunnables()
Runnable arraycom.badlogic.gdx.utils.Array<java.lang.Runnable> getExecutedRunnables()
Runnable arrayvoid runOnUiThread(java.lang.Runnable runnable)
runnable - The runnable to be executedvoid startActivity(android.content.Intent intent)
Activity classintent - The Intent for starting an activityAndroidInput getInput()
AndroidInput object associated with this AndroidApplicationBasegetInput in interface com.badlogic.gdx.ApplicationAndroidInput objectcom.badlogic.gdx.utils.SnapshotArray<com.badlogic.gdx.LifecycleListener> getLifecycleListeners()
LifecycleListener array associated with this AndroidApplicationBaseLifecycleListener'sandroid.view.Window getApplicationWindow()
Window associated with the applicationandroid.view.WindowManager getWindowManager()
WindowManager associated with the applicationvoid useImmersiveMode(boolean b)
b - Whether or not to use immersive modeandroid.os.Handler getHandler()
Handler object created by the applicationAndroidAudio createAudio(android.content.Context context, AndroidApplicationConfiguration config)
AndroidAudioAndroidInput createInput(com.badlogic.gdx.Application activity, android.content.Context context, java.lang.Object view, AndroidApplicationConfiguration config)
AndroidInput