uri

  1. Alain75

    Share My Creation UriViewer : a viewer for Uniform Resource Identifier

    Hi every body, As I worked on ContactsUtils library and enhanced it, I needed to see the contents of some URI like "content://com.android.contacts/data" or "content://com.android.contacts/groups" for instance. I developed a small application based on B4XPage for that : As I am not convinced...
  2. T201016

    B4A Library [B4A] Uri2Tools - Library.

    Hi, I provide the Uri2Tools library version 1.0 (2022.03.22) The code requires Android 6.0 or 8.1 The library uses the following libraries: - B4XCollections v1.12 - ContentResolver v1.50 - Core v11.20 - FileProvider v1.0 - SQL v1.50 - Storage v1.0 I would like to thank the authors for...
  3. carlos7000

    Android Question Copy file from uri [SOLVED]

    Hello. I am trying to create an application, which through the share menu, receives a uri of a file, then the application copies it to a "safe" directory I already managed to receive the Uri correctly. I also managed to correctly extract the path of the file, from the uri But the copy...
  4. P

    Android Question Uri to absolute file path

    I want to get the path of the file in the storage associated with my app as soon as the user clicks on the file and it opens with my app. But the path returned to the app is in Uri format. I want it in absolute file path for further operations. I am using the code given by Mr. Erel at the link...
  5. b4x-de

    Android Question [SOLVED] Local file with URI fragments in a WebView

    Hi, showing a remote URL with a URI fragment in a WebView works fine. For example the URL https://www.b4x.com/android/help/views.html#webview_loadurl is shown in a Webview. Using a local saved html file with framents does not work. Is there any way to show something like...
  6. rleiman

    Android Question Getting the uri of a file in the app's assets folder

    Greetings, I would like to get the uri of a file that resides in my app's assets folder. Can you point me to a link that describes how it's done? I saw many posts on the forum that shows code like this but none of the posts actually shows the coding behind GetFileUri sub routine...
  7. ALBRECHT

    Android Question EncodeBase64 for URL and Files

    Hello, Im using that kind of sub with StringUtils and B4XCipher library to encode some passwords : Sub EncryptText(text As String, password As String) As String Dim c As B4XCipher Dim su As StringUtils Return su.EncodeBase64(c.Encrypt(text.GetBytes("utf8"), password)) End Sub Sub...
  8. I

    Android Question How to perform resource management while batch copying files?

    In my app I have a For Next loop that is used to copy all files in a particular folder. Since the target location is a URI, I use the method given here to copy the files. And it works correctly too. The problem arises when there are a lot of files to copy. Like there is a user who tried to copy...
  9. Mikel Huerta

    Android Question (SOLVE)error open PDF file with android 7+

    Hello , i try to open a PDF file from my app on an android 7 with the new permissions functions but when i try to do it, i get this error and a blank screen for a while and nothing more : i am using b4a 8.50 My code : Sub Doit() Dim Mostrador_de_PDF As Intent Dim uri As...
Top