B4A Library [class] FileProvider - share files - Erel    Aug 16, 2021   (47 reactions)   tags: B4A Class FileProvider, share email file, share, File provider, email, WP SHARE Edit: FileProvider is included as an internal library now. After investigating several issues with the current FileProvider code that you can find in the forum, I decided to make some improvements and implement it in a class. Starting from Android 7 (API 24) you cannot directly share file uris with other applications. You need to use FileProvider. The FileProvider class should work on all..., <files-path name="name" path="shared" /> ) files-path = File... B4i Tutorial List of methods to access external resources or share to external apps - Erel    Sep 16, 2024   (10 reactions) There are all kinds of ways to share files with other apps or access external resources. Here is a short summary of the available methods: - ActivityViewController (iPhone library): https://www.b4x.com/basic4android/images/SS-2018-11-15_16.57.10.png Allows sharing text, images or files with third party apps. https://www.b4x.com/android/forum/threads/share-data-from-your-app-with-activityviewcontroller.73159/#content - DocumentInteraction (iPhone library): http://www.b4x.com/basic4android... B4A Tutorial Sharing files from your app with File Provider - Erel    Oct 3, 2018   (17 reactions)   tags: share file, File, File Provider, B4A Sharing File Provider Example was updated based on FileProvider class: https://www.b4x.com/android/forum/threads/class-fileprovider-share-files.97865/ See the above link if you are interested in sharing files from your app. This tutorial explains the steps required to implement a file picker that other applications... possible to share a file directly (file:// uri). It will result with a FileUriExposedException... select the resource. 4. The resource is copied to the "shared" folder and a Uri is created... B4i Tutorial Share data from your app with ActivityViewController - Erel    Aug 26, 2021   (22 reactions)   tags: share Button 50146 ActivityViewController allows the user to share data from your app using the standard share dialog. It was added in iPhone library v2.00. Using it is simple. You need to initialize AVC with one or more items that you want to share and call show: Sub Page1_Click Dim avc As ActivityViewController avc.Initialize("avc", Array("Some text to share together with an image...: ${ActivityType}"$) End Sub You can also share files with ActivityViewController. Sub Page1_Click Dim... B4J Tutorial Share encrypted data with B4A - Erel    Sep 20, 2022   (4 reactions)   tags: Encryption of custom types. The saved types can also be shared between B4J and B4A. These two methods depend... B4A Code Snippet [B4X] Share your B4XDialog + templates theming code - Erel    Jun 1, 2021   (8 reactions) Have you created a nice dialog based on B4XDialog? Post it here. If you have any question then start a new thread.... B4A Question Share txt files - Sergio GermánRassino    Nov 17, 2016 Hello. Thank you for your help for new users. I need to share a txt file by bluetooth and other aps... this that opens many apps to share with, in my phone, but not the bluetooth option. Dim share As MESShareLibrary share.sharebinary("file://" & File.DirRootExternal & "/SipAsistencia...".txt", "text/txt", "Share the love!", "This is the text to go in... to share, but it sends an html file with the txt file name included, instead of the txt file Dim... Share My Creation [B4X] ShareYourSpot (GPS, FLP, MQTT) 0$ - Magma    Jun 27, 2024   (28 reactions) 135074 Hi there, another simple app for learning purposes created... ShareYourSpot it is working at B4J and B4A... At B4J i haven't any USB GPS to get location (not including code how will do that, maybe using jserial and reading nmea strings) - so location giving with mouse click at GoogleMaps... but you can view the other "users" using it by Android SmartPhone Realtime Locations.. sharing them with MQTT Broker with AES Encryption... What Exactly do that APP ? - Get GPS... B4A Tutorial Receiving shared images from other apps - Erel    Jun 26, 2017   (19 reactions)   tags: Receiving, shared, images 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... the starting intent in Activity_Resume and see whether it is a sharing intent. If so then we extract... the background and it will fail to start when the image is shared.... B4A Example Getting file info using uri from content chooser or from received shared file - example - Nokia    May 4, 2020   (23 reactions) example of getting file property information from uri provided by content chooser or received file shared to the app. Curtesy of Erel’s example: Received Share. Shows File name, Mime Type, date modified, file size and a list of all columns from that particular content provider. updated code to show information from Gallery content.... Page: 1   2   3   4   5   6   7   |