Share an image with only a few specified apps in Android

72 Views Asked by At

I've got three Apps A, B and C. App A captures an image and sends it to B which then sends it to C. App A and B are developed by me and C is not. Currently I'm sending the images with intents but those can only send 1mb max.(https://developer.android.com/reference/android/os/TransactionTooLargeException.html)

If I want to use a Content Provider, app C will not have the same signature as A and B, but the content of the image is very sensitive and can not be leaked. Therefore the Content Provider has to be set to android:exported="true". If I understand it correctly, the user has to decide if an app can access contents with a ContentProvider using Permissions, so this is not a safe solution.

Another approach might be to segment the data and send it to the other apps using a Service (which can only send 1mb max, too), but this is difficult, I guess.

Is there a safe solution for this problem, that I am missing?

0

There are 0 best solutions below