Sample3Native.java
1 | package org.opencv.samples.tutorial3; |
---|---|
2 | |
3 | import android.app.Activity; |
4 | import android.os.Bundle; |
5 | import android.util.Log; |
6 | import android.view.Window; |
7 | |
8 | public class Sample3Native extends Activity { |
9 | private static final String TAG = "Sample::Activity"; |
10 | |
11 | public Sample3Native() {
|
12 | Log.i(TAG, "Instantiated new " + this.getClass()); |
13 | } |
14 | |
15 | /** Called when the activity is first created. */
|
16 | @Override
|
17 | public void onCreate(Bundle savedInstanceState) { |
18 | Log.i(TAG, "onCreate");
|
19 | super.onCreate(savedInstanceState);
|
20 | requestWindowFeature(Window.FEATURE_NO_TITLE);
|
21 | setContentView(new Sample3View(this)); |
22 | } |
23 | } |