Roberto P. Well-Known Member Licensed User Longtime User Jul 3, 2015 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Jul 5, 2015 #2 The image is missing. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jul 6, 2015 #4 Can you post the code that generates this error? Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Jul 6, 2015 #5 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: Jul 6, 2015 Upvote 0
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
Erel B4X founder Staff member Licensed User Longtime User Jul 7, 2015 #6 Why are you setting this component? It is not needed. Last edited: Jul 8, 2015 Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Jul 7, 2015 #7 I thought it was necessary to solve the problem. so it is a test Upvote 0