use of com.seu.magicfilter.display.MagicImageDisplay in project MagicCamera by wuhaoyu1990.
the class ImageActivity method initMagicPreview.
private void initMagicPreview() {
GLSurfaceView glSurfaceView = (GLSurfaceView) findViewById(R.id.glsurfaceview_image);
mMagicImageDisplay = new MagicImageDisplay(this, glSurfaceView);
Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
photoPickerIntent.setType("image/*");
startActivityForResult(photoPickerIntent, REQUEST_PICK_IMAGE);
}
Aggregations