ImageEditorIntentBuilder this class is not found in activity
try {
Intent intent = new ImageEditorIntentBuilder(this, sourceImagePath, outputFilePath)
.withAddText() // Add the features you need
.withPaintFeature()
.withFilterFeature()
.withRotateFeature()
.withCropFeature()
.withBrightnessFeature()
.withSaturationFeature()
.withBeautyFeature()
.withStickerFeature()
.forcePortrait(true) // Add this to force portrait mode (It's set to false by default)
.setSupportActionBarVisibility(false) // To hide app's default action bar
.build();
EditImageActivity.start(activity, intent, PHOTO_EDITOR_REQUEST_CODE);
} catch (Exception e) {
Log.e("Demo App", e.getMessage()); // This could throw if either `sourcePath` or `outputPath` is blank or Null
}
ImageEditorIntentBuilder this class is not found in activity
try { Intent intent = new ImageEditorIntentBuilder(this, sourceImagePath, outputFilePath) .withAddText() // Add the features you need .withPaintFeature() .withFilterFeature() .withRotateFeature() .withCropFeature() .withBrightnessFeature() .withSaturationFeature() .withBeautyFeature() .withStickerFeature() .forcePortrait(true) // Add this to force portrait mode (It's set to false by default) .setSupportActionBarVisibility(false) // To hide app's default action bar .build();