1. Lowegaterecords

    Android Question Open and Save a PDF File In the Database with App.

    Hi I'm trying to select a pdf file in the device with the Chooser as it happens with the images, but without success. My intent is to select a pdf through my app and then save it in the db of the app. I'm using SqlLite for the db. I'm using the chooser specifying the type of file to be selected...
  2. K

    Android Question share PDF file

    I have this code its open PDF file Dim in As Intent in.Initialize(in.ACTION_VIEW,f1.CreateFileProviderUri(Starter.shared,"1.pdf")) in.Flags=1 StartActivity(in) I have to share PDF file I try like this...
  3. 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...
  4. K

    Android Question open wrong pdf file

    I'm using CreateFileProviderUri for opening pdf file and printing library for write in pdf. When I'm opening pdf file its open last proccess pdf file. this is my code Sub open_pdf If File.Exists(Starter.shared,"1.pdf") Then File.Delete(Starter.shared,"1.pdf") End If...
  5. K

    Android Question Write and Open PDF

    I want to open PDF file, Its shows message :: Can't open file trying saving the file on device and then opening it. I written this code : Dim pdf As PdfDocument pdf.Initialize pdf.StartPage(595, 842) 'A4 size pdf.Canvas.DrawLine(2, 2, 593 , 840, Colors.Blue, 4)...