B4A Code Snippet Share image using Facebook App - asales    Oct 01, 2020   (3 reactions) select the intent of facebook to share image
Dim i As Intent
i.Initialize(i.ACTION_SEND,"")
i.SetType("image/jpg")
For Each cn As String In pm.QueryIntentActivities(i)
If cn.SubString2(0,20) = "com.facebook.katana/" Then
fb1 = cn
Exit
End If B4A Question Share images with specific apps - asales (first post)    Apr 04, 2023   (1 reaction) You cannot filter only this applications use the intent chooser.
You need to create your own screen to share (and use the intents to every app), like this:
140953 B4A Question Share multiple images - Erel (first post)    Sep 25, 2022   (2 reactions) Dim files As List
files.Initialize
files.Add(Starter.Provider.GetFileUri(FileName1)) 'copy files to the shared folder
files.Add(Starter.Provider.GetFileUri(FileName2))
Dim in As Intent
in.Initialize("android.intent.action.SEND_MULTIPLE", "")
in.As(JavaObject).RunMethod("putParcelableArrayListExtra", B4A Question Share image using file provider ? - hookshy    Dec 11, 2019 After using the code below, a picture can be viewed but share option is not enabled !
Is there a way you can add parameters to the intent object to tell him the image is finished and ready to be shared ?
When you edit the picture by adding an effect then save picture again, you can then share the i B4i Question Share and Download - how does it work in iOS? - Alexander Stolte (first post)    Jun 11, 2024   (1 reaction) The link you shared is the right one.
You can use it to share the file/image in other apps that support the format, or save it in files, or save it in the gallery for images.
Here is a picture of how it looks on my iphone when I want to share a picture from my uPark+ app:
154521
- Above we have the B4A Question Share an image taken from the database. - WebQuest    Sep 07, 2018 through the Share button (Share) I create the event, with the Variable (ShareBitmap) that contains the image.
Sub BtCondividi_Click
Dim r As Reflector
Dim f As Object
f = r.CreateObject2("java.io.File", Array As Object(ShareBitmap), Array As String("java.lang.String"))
Dim share As B4A Tutorial intent for beginner - messages between apps - Hamied Abou Hulaikah (first post)    Dec 19, 2020   (7 reactions) in.SetType("text/plain") in.WrapAsIntentChooser("Share Via") StartActivity(in) This is a basic example of sharing image "non-text based message": Dim FileToSend As String = "Message.txt" File.WriteString(Starter.Provider.SharedFolder, FileToSend, "jaklsdjalksdjalskdjasld") Dim in As Intent B4A Question Share Image With Text (Caption) - Instagram and/or Twitter - Marcos Alves    Jun 12, 2022 Hello all, I noticed that there are some alerts about Instagram deprecating receiving images with texts/captions pre filled. Is it true? If is possible, how can be done? Does anybody have a code sample? Thanks! B4i Question B4XPleroma share a image with my app - Erel (first post)    Dec 15, 2020 The solution above is relevant for a different case, it is when an app "opens" a document using another app, using DocumentInteraction: https://www.b4x.-of-methods-to-access-external-resources-or-share-to-external-apps.99368/#content
Adding your app to the share list requires building an extension. B4A Tutorial Receiving shared images from other apps - Erel    Jun 26, 2017   (19 reactions) This example shows how to create an app that can act as a sharing target. It will be listed in the list of apps that show when the user shares an image.
The first step is to add an intent filter to the manifest editor. The intent filter tells the OS which types of resources the app supports:
AddAc Page: 1   2   3   4   5   6   7   Powered by ColBERT |