Hi,
I am pritom. I am new in android development. I am trying to drwa an object in top of the camera view....
Here is my code
I am getting 2 object and the position of the object not perfect....
Anybody have any idea..
Thanks In advance
Pritom Kushtia.
I am pritom. I am new in android development. I am trying to drwa an object in top of the camera view....
Here is my code
Code:
[URL="file:///C:/workspace/Back%20UP/com.onlycam/"][/URL][URL="file:///C:/workspace/Back%20UP/com.onlycam/"][/URL] mPreview = new Preview(this);
mGLSurfaceView = new TouchSurfaceView(this);
mGLSurfaceView.getHolder().setFormat(PixelFormat.TRANSLUCENT);
mGLSurfaceView.setKeepScreenOn(true);
setContentView( mGLSurfaceView);
addContentView( mPreview, new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
I am getting 2 object and the position of the object not perfect....
Anybody have any idea..
Thanks In advance
Pritom Kushtia.