android.app.NativeActivity
.Can be used to get anything related to the Context
of the activity in Java
and as anchor to execute Java UI code.
android $ NativeNativeActivity :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?jvm :: JavaObject :: as_exception
jvm :: JavaObject :: as_http_response
android :: NativeContext :: assets
Get the native AssetsManager of the application, used to initialize the nit's AssetManagercore :: Object :: class_factory
Implementation used byget_class
to create the specific class.
android :: NativeActivity :: content_view=
Set the main layout of this activityandroid :: NativeActivity :: defaultinit
android :: NativeContext :: defaultinit
jvm :: JavaObject :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
android :: NativeActivity :: finish
Notify the OS that this activity is done and should be closedandroid :: NativeActivity :: insert_root_layout
Insert a single layout as the root of the activity windowjvm :: JavaObject :: is_exception
jvm :: JavaObject :: is_http_response
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: native_class_name
The class name of the object in CString format.core :: Pointer :: native_equals
jvm :: JavaObject :: new_global_ref
Returns a global reference to the Java object behind this referenceandroid :: NativeActivity :: orientation
core :: Object :: output_class_name
Display class name on stdout (debug only).android :: NativeContext :: package_name
Get the package name of the applicationjvm :: JavaObject :: pop_from_local_frame
Pops the current local reference frame and return a valid reference to selfjvm :: JavaObject :: pop_from_local_frame_with_env
Java implementation ofpop_from_local_frame
core :: Pointer :: premultiply_alpha
Multiply RGB values by their alpha valueandroid :: NativeContext :: resources
Get the native ResourceManager of the application, used to initialize the nit's ResourceManagerandroid :: NativeActivity :: run_on_ui_thread
Executetask.main
on the UI thread when possible
android :: NativeActivity :: show_fragment
Replace the currently visible fragment, if any, withnative_fragment
android :: NativeContext :: stop_service
jvm :: JavaObject :: to_java_string
JavaString
representation of self
using Java's toString
android :: NativeContext :: wifi_manager
Handle to the WiFi system service
# Android SDK's `android.app.NativeActivity`.
#
# Can be used to get anything related to the `Context` of the activity in Java
# and as anchor to execute Java UI code.
extern class NativeNativeActivity in "Java" `{ android.app.NativeActivity `}
super NativeActivity
end
lib/android/native_app_glue.nit:136,1--142,3