R roycegerikchua Member Licensed User Longtime User Nov 14, 2020 #1 Hi can anybody help me? I need to make an intent to share a picture and text to facebook twitter viber or others. I found one that can help me but only text not picture. this is the code that i found how can i edit this to include a photo as well B4X: Copy Dim in As Intent in.Initialize(in.ACTION_SEND, "") in.PutExtra("android.intent.extra.TEXT", "text here") in.SetType("text/plain") in.WrapAsIntentChooser("Share Via") StartActivity(in) has anybody done this? Thanks in advance!
Hi can anybody help me? I need to make an intent to share a picture and text to facebook twitter viber or others. I found one that can help me but only text not picture. this is the code that i found how can i edit this to include a photo as well B4X: Copy Dim in As Intent in.Initialize(in.ACTION_SEND, "") in.PutExtra("android.intent.extra.TEXT", "text here") in.SetType("text/plain") in.WrapAsIntentChooser("Share Via") StartActivity(in) has anybody done this? Thanks in advance!
R roycegerikchua Member Licensed User Longtime User Nov 17, 2020 #3 jahswant said: Use File provider. Click to expand... Hi how can i use filie provider and intents? Upvote 0
E edgar_ortiz Active Member Licensed User Longtime User Nov 17, 2020 #4 You can check: https://www.b4x.com/android/forum/threads/sharing-files-from-your-app-with-file-provider.70458/ Upvote 0
You can check: https://www.b4x.com/android/forum/threads/sharing-files-from-your-app-with-file-provider.70458/