From 1b9f0739ecc25105384b557afa698c42e08d4cc6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 18 Jan 2013 02:20:26 +0100 Subject: Android Completion for launching main() class via MainLauncher; Fix ActivityLauncher order of delegation/super activity callbacks. - StaticContext: - Add ViewGroup for standalone tests w/ UI - MainLauncher/LauncherUtil: - Complete launching a main() class from our activity launcher - adding main-cmdline-args - ActivityLauncher - Fix order of delegation/super activity callbacks. --- src/java/jogamp/android/launcher/ActivityLauncher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/java/jogamp/android/launcher/ActivityLauncher.java') diff --git a/src/java/jogamp/android/launcher/ActivityLauncher.java b/src/java/jogamp/android/launcher/ActivityLauncher.java index bd7c723..6620b59 100644 --- a/src/java/jogamp/android/launcher/ActivityLauncher.java +++ b/src/java/jogamp/android/launcher/ActivityLauncher.java @@ -93,24 +93,24 @@ public class ActivityLauncher extends Activity { @Override public void onStart() { Log.d(TAG, "onStart - S"); - callMethod(activityObject, mOnStart); super.onStart(); + callMethod(activityObject, mOnStart); Log.d(TAG, "onStart - X"); } @Override public void onRestart() { Log.d(TAG, "onRestart - S"); - callMethod(activityObject, mOnRestart); super.onRestart(); + callMethod(activityObject, mOnRestart); Log.d(TAG, "onRestart - X"); } @Override public void onResume() { Log.d(TAG, "onResume - S"); - callMethod(activityObject, mOnResume); super.onResume(); + callMethod(activityObject, mOnResume); Log.d(TAG, "onResume - X"); } -- cgit v1.2.3