Пример #1
0
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    Intent intent = getIntent();
    String debuggerAgentOptions = intent.getStringExtra("mono_debugger_agent_options");
    MonoBridge.initialize(debuggerAgentOptions);

    AssetExtractor.extractAssets(this, false);
    MonoBridge.loadAssembly("/data/data/com.koushikdutta.mono/android.dll");
    MonoBridge.loadAssembly(AssetExtractor.getAppRoot(this) + "/com.koushikdutta.twitter.exe");

    Intent newIntent = new Intent(this, MainActivity.class);
    newIntent.putExtras(intent);
    startActivity(newIntent);
    finish();
  }
 static {
   MonoBridge.link(
       Camera_OnZoomChangeListenerDelegateWrapper.class,
       "onZoomChange",
       "(IZLandroid/hardware/Camera;)V",
       "System.Int32,System.Boolean,android.hardware.Camera");
 }