E/Demo App: Output image path required. Use withOutputPath(path) to provide the output image path.
Using the below:
File storageDir = new File(Environment
.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) + "/Storage/");
try {
Intent intent = new ImageEditorIntentBuilder(this, sourceImagePath, storageDir.toString())
.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(AdvertiserPageSubmitNew.this, 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
}
I apologize if this seems basic. Any assistance would be appreciated
Hi, I continually get the error
E/Demo App: Output image path required. Use withOutputPath(path) to provide the output image path.
Using the below:
File storageDir = new File(Environment .getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM) + "/Storage/");
I apologize if this seems basic. Any assistance would be appreciated