Android Question ContentResolver for file pdf

Roberto P.

Well-Known Member
Licensed User
Longtime User
I created an application that opens the PDF file, with an activity that works well with Samsung Tablet and smartphone but does not work with other devices?

Here error shown in Figure



someone knows how I configure indicate AndroidManifest?
 

Roberto P.

Well-Known Member
Licensed User
Longtime User
here it is

upload_2015-7-6_7-35-30.png
 
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
here it is

B4X:
    In.Initialize(In.ACTION_VIEW, "file://" & aFile)
            In.SetType("application/pdf")
            In.SetComponent("android/com.android.internal.app.ResolverActivity")

precise that the error I found on Huawei devices
 
Last edited:
Upvote 0

Roberto P.

Well-Known Member
Licensed User
Longtime User
I thought it was necessary to solve the problem.
so it is a test
 
Upvote 0
Top