Commit 97596d70 authored by kenan's avatar kenan

读取arg的位置

parent 2f52e8ce
...@@ -116,6 +116,9 @@ public class YGOMobileActivity extends NativeActivity implements ...@@ -116,6 +116,9 @@ public class YGOMobileActivity extends NativeActivity implements
mFullScreenUtils = new FullScreenUtils(this, app().isImmerSiveMode()); mFullScreenUtils = new FullScreenUtils(this, app().isImmerSiveMode());
mFullScreenUtils.fullscreen(); mFullScreenUtils.fullscreen();
mFullScreenUtils.onCreate(); mFullScreenUtils.onCreate();
//argv
mArgV = getIntent().getStringArrayExtra(IrrlichtBridge.EXTRA_ARGV);
//
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
Log.e("YGOStarter","跳转完成"+System.currentTimeMillis()); Log.e("YGOStarter","跳转完成"+System.currentTimeMillis());
if (sChainControlXPostion < 0) { if (sChainControlXPostion < 0) {
...@@ -200,9 +203,6 @@ public class YGOMobileActivity extends NativeActivity implements ...@@ -200,9 +203,6 @@ public class YGOMobileActivity extends NativeActivity implements
} }
private void handleExternalCommand(Intent intent) { private void handleExternalCommand(Intent intent) {
//argv
mArgV = intent.getStringArrayExtra(IrrlichtBridge.EXTRA_ARGV);
//
YGOGameOptions options = intent YGOGameOptions options = intent
.getParcelableExtra(YGOGameOptions.YGO_GAME_OPTIONS_BUNDLE_KEY); .getParcelableExtra(YGOGameOptions.YGO_GAME_OPTIONS_BUNDLE_KEY);
long time = intent.getLongExtra(YGOGameOptions.YGO_GAME_OPTIONS_BUNDLE_TIME, 0); long time = intent.getLongExtra(YGOGameOptions.YGO_GAME_OPTIONS_BUNDLE_TIME, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment