API to access raw JVM structure and raw Activity(ies?)
+ structure
API to detect touchscreen presence
-
API to disable assets extraction
+
API (or configuration file?) to disable assets extraction
Callback to reload OpenGL resources lost during a pause
Callback for pause/resume notifications
@@ -199,6 +200,46 @@ New functions will be necessary to :
(Work In Progress)
+
+
Notes
+
+
+
+
+ Android never truly kills an application, even when pressing the
+ Back button, even when the application
+ is onDestroy'd: the process is still running and
+ ready to accept onCreate event to become active
+ again.
+
+ By default, FreeGLUT exit()s when the last window is
+ closed (without returning to your main). But this
+ behavior can be changed
+ with glutSetOption(GLUT_ACTION_ON_WINDOW_CLOSE, ...),
+ in which case your have to either exit() yourself at
+ the end of your main, or make sure
+ your main can be called multiple times (in
+ particular: beware of static variables that won't be
+ reinitialized).
+
+
+
+ When a key is repeated, down and up events happen most often at
+ the exact same time. This makes it impossible to animate based on
+ key press time.
+
+ e.g. down/up/wait/down/up rather than down/wait/down/wait/up
+
+ This looks like a bug in the Android virtual keyboard system :/
+ Real buttons such as the Back button appear to work correctly
+ (series of down events with proper getRepeatCount value).
+
+ To work around this, FreeGLUT provides its own minimal virtual
+ keypad. It may be replaced by a virtual (touchscreen) joystick.
+