| | |
| | | import android.graphics.drawable.Drawable; |
| | | import android.os.Bundle; |
| | | import android.util.Log; |
| | | import android.util.Xml; |
| | | import android.view.Surface; |
| | | import android.view.SurfaceHolder; |
| | | import android.view.SurfaceView; |
| | |
| | | public void onCreate(Bundle icicle) { |
| | | super.onCreate(icicle); |
| | | setContentView(R.layout.main); |
| | | |
| | | ThisActivity = this; |
| | | |
| | | RtspFaceNative.init(); |
| | | RtspFaceNative.setLocalIP("192.168.1.82"); |
| | | for (int i=0 ;i < 32; i+=2){ |
| | | RtspFaceNative.setFaceLabel(1, i, "中文名字"); |
| | | RtspFaceNative.setFaceLabel(1, i+1, "abcd"); |
| | | RtspFaceNative.setFaceLabel(2, i, "中文名字"); |
| | | RtspFaceNative.setFaceLabel(2, i+1, "abcd"); |
| | | } |
| | | |
| | | RtspFaceNative.setLocalIP("192.168.1.75"); |
| | | |
| | | mGLView1 = (MyGLSurfaceView) findViewById(R.id.glsurfaceview1); |
| | | |