Called when the activity is first created. super.onCreate(savedInstanceState); TextView tv = new TextView(this); int sum = Native.add(2, 3); tv.setText("Native Code test: 2 + 3 = " + Integer.toString(sum)); setContentView(tv);
super.onCreate(savedInstanceState); TextView tv = new TextView(this); int sum = Native.add(2, 3); tv.setText("Native Code test: 2 + 3 = " + Integer.toString(sum)); setContentView(tv);