Android Question share bitmap image with in two app

navicula

Member
Licensed User
Longtime User
If I develop two app (A and B), then A app can get bitmap image from B app assets folder (if B app contains image in assets folder)? The two app can cummunicate each other in same device?

Thanks
 

klaus

Expert
Licensed User
Longtime User
You need to save the bitmap in a folder accessible by both applications.
DirAssets is read only and accessible only by its application and DirInternal is accessible only by its application too.
The first time you run the program you should save it to DirRootExternal and then both application can access the file(s).
 
Upvote 0

navicula

Member
Licensed User
Longtime User
You need to save the bitmap in a folder accessible by both applications.
DirAssets is read only and accessible only by its application and DirInternal is accessible only by its application too.
The first time you run the program you should save it to DirRootExternal and then both application can access the file(s).
Ok, Thank you
 
Upvote 0

shubas

Member
Licensed User
Longtime User
If I develop two app (A and B), then A app can get bitmap image from B app assets folder (if B app contains image in assets folder)? The two app can cummunicate each other in same device?

Thanks
Hi @navicula - Though this is about a year old post, I'm working towards doing something like this. Will you share your code? If not, atleast the basic outline of what you are doing and what libraries you are using?
Thank you in advance for your response.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I'm working towards doing something like this.
App A have no access to the assets of app b and vice versa.

So you need to add code to your both apps to communicate with eachother
App A send request to app b... App b get request, get the image(s) from assetfolder and send it to app a
 
Upvote 0
Top