Hello,
My new App use the Intent class in order to open pdf files with external reader. With the debug phone (HTC one mini and many others) the Intent works perfectly.
Two users, which are using Huawei G8 and Huawei P8 tells me that the App fail open documents, i see the phones and seems that the OS doesn't let the App to open the intent. They have many PDF readers on the smartphones.
This is my intent code:
Do you know if some permissions are needed to let the intent work with this type of smartphone?
Thanks in advance
My new App use the Intent class in order to open pdf files with external reader. With the debug phone (HTC one mini and many others) the Intent works perfectly.
Two users, which are using Huawei G8 and Huawei P8 tells me that the App fail open documents, i see the phones and seems that the OS doesn't let the App to open the intent. They have many PDF readers on the smartphones.
This is my intent code:
B4X:
Dim intent1 as Intent
intent1.Initialize(intent1.ACTION_VIEW, "file://" & file.combine(File.DirDefaultExternal & "/" & filename))
intent1.SetComponent("android/com.android.internal.app.ResolverActivity)
intent1.SetType("application/pdf")
StartAcrtivity(intent1)
Do you know if some permissions are needed to let the intent work with this type of smartphone?
Thanks in advance