0

I am building an app that has a feature to edit the picture. In android devices, we can edit images from the gallery by clicking the edit icon or pen icon.

Is there any way to access this feature? Same as we access the phone service, SMS service.

Thank you in advance.

Ayush Sth
  • 130
  • 4
  • 11

1 Answers1

0

No, it's part of the Camera/Gallery app. You can start the default app for viewing images, which will allow the user to edit images if that is a feature available, but AFAIK you can't start it directly into 'edit' mode.

See this answer:

Intent intent = new Intent();  
intent.setAction(android.content.Intent.ACTION_VIEW);  
intent.setType("image/*");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
zen_of_kermit
  • 1,286
  • 2
  • 12
  • 18
  • Thank you for your answer but I wanted the edit feature as well not just picking the image from the gallery. – Ayush Sth Apr 19 '22 at 18:08