Android Question Receiving "Mixed Content" from other apps

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Hello all,

Suppose that an app can receive text and image from other apps. I know that we need to start an Activity to do the job but looking this post ( https://www.b4x.com/android/forum/threads/receiving-shared-images-from-other-apps.81041/ ) I couldn't realize how can I recover the content type in order to do the correct procedure.
How can I do this? Is it possible to setup an Activity to receive image/* AND text/plain and recover the content type of a specific share call?
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
You can extract all the information that is included in the intent. The actual details depend on the specific intent that you receive.
Thanks @Erel . I noticed also that I can put the mouse over the intent object (when program is paused) and get the extra keys and values... :)
 
Upvote 0
Top