|
@@ -7,21 +7,19 @@ import com.jme3.app.AndroidHarness;
|
|
public class DemoAndroidHarness extends AndroidHarness
|
|
public class DemoAndroidHarness extends AndroidHarness
|
|
{
|
|
{
|
|
@Override
|
|
@Override
|
|
- public void onCreate(Bundle savedInstanceState)
|
|
|
|
- {
|
|
|
|
|
|
+ public void onCreate(Bundle savedInstanceState)
|
|
|
|
+ {
|
|
// Set the application class to run
|
|
// Set the application class to run
|
|
// First Extract the bundle from intent
|
|
// First Extract the bundle from intent
|
|
Bundle bundle = getIntent().getExtras();
|
|
Bundle bundle = getIntent().getExtras();
|
|
|
|
|
|
//Next extract the values using the key as
|
|
//Next extract the values using the key as
|
|
- appClass = bundle.getString("APPCLASSNAME");
|
|
|
|
-
|
|
|
|
|
|
+ appClass = bundle.getString("APPCLASSNAME");
|
|
|
|
+
|
|
exitDialogTitle = "Close Demo?";
|
|
exitDialogTitle = "Close Demo?";
|
|
exitDialogMessage = "Press Yes";
|
|
exitDialogMessage = "Press Yes";
|
|
|
|
|
|
- screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;
|
|
|
|
-
|
|
|
|
- super.onCreate(savedInstanceState);
|
|
|
|
|
|
+ super.onCreate(savedInstanceState);
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|