unfortunately my problem isn't resolved... My application open pdf file but when my file is updated from server, i need to open then close then open my file for get good version. My code :
B4X:
Dim PdfIntent As Intent
PdfIntent.Initialize(PdfIntent.ACTION_VIEW,File.Combine(DestDT,DT)) PdfIntent.SetComponent("android/com.android.internal.app.ResolverActivity")
PdfIntent.SetType("application/pdf")
StartActivity(PdfIntent)
Assuming that you write the file correctly then the problem is in the reader itself. You will need to somehow force it to refresh the document. Maybe show a different document and then show the correct one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.