Marcos Alves Well-Known Member Licensed User Longtime User Jun 26, 2018 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jun 27, 2018 #2 You can extract all the information that is included in the intent. The actual details depend on the specific intent that you receive. Upvote 0
You can extract all the information that is included in the intent. The actual details depend on the specific intent that you receive.
Marcos Alves Well-Known Member Licensed User Longtime User Jun 27, 2018 #3 Erel said: You can extract all the information that is included in the intent. The actual details depend on the specific intent that you receive. Click to expand... 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
Erel said: You can extract all the information that is included in the intent. The actual details depend on the specific intent that you receive. Click to expand... 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...