Android Question sharing data between apps

leitor79

Active Member
Licensed User
Longtime User
Hi,

I need to share data from my app to another user who could have the same app. The data I want to share is data from within the app, so I'm not sure if the examples I saw (of how to share images or how to share files) would apply. Would saving the data (ex: in JSON format) into a temporary file and sent it be the best approach?

Also; when the user receives the data (over mail, whatsapp, whathever), he/she should be able to open it with my app. I mean; I'd like the user to tap the received data and the system shows my app in "open with" list, like when you receive a PDF file and adobe pdf, google drive, etc, are shown.

Thank you very much!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Top