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 Code Snippet Share image using Facebook App - asales    Oct 01, 2020   (3 reactions) Edit (Erel): this code will no longer work. Search for FileProvider.
I'm using this code to post an image in Facebook with the Facebook app of the device.
I don't need create a Facebook App to get "App ID" and "App Secret" to share (until now).
The step 2 ("select the intent...") is because I fou 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", 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 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 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 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 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 Question Share image throw FileProvider class - Almog    Dec 22, 2018 Hello,
I tried to use Erel's new class (https://www.b4x.-fileprovider-share-files.97865/#content) to share an image. I tried to share an image by the example of sharing a file, but the app crashed...
Does anybody have an example of sharing an image(only) using file provider?
Thanks in advance B4A Question Share Multiple Images with text - Erel (first post)    Jul 12, 2020   (1 reaction) Don't assume that all or most target apps will support it.
Try to add:
Dim texts As List = Array("aaa", "bbb", ccc")
jo.RunMethod("putStringArrayListExtra", Array("android.intent.extra.TEXT", texts)) Page: 1   2   3   4   5   6   7   Powered by ColBERT |