MitchBu Well-Known Member Licensed User Longtime User Jan 12, 2021 #1 I am trying to apply DocumentInteraction to print, as described here https://www.b4x.com/android/forum/threads/open-local-files-with-external-apps.51941/#content Here is what I do. di is a global property. Only a small white area shows up at the bottom of the iPad screen. A bit like a bubble. On the iPhone, it works fine. What am I missing ? B4X: di.Initialize("di", AppData, "1.pdf") di.UTI = "com.adobe.pdf" di.OpenFile(Page1.RootPanel) Last edited: Jan 12, 2021
I am trying to apply DocumentInteraction to print, as described here https://www.b4x.com/android/forum/threads/open-local-files-with-external-apps.51941/#content Here is what I do. di is a global property. Only a small white area shows up at the bottom of the iPad screen. A bit like a bubble. On the iPhone, it works fine. What am I missing ? B4X: di.Initialize("di", AppData, "1.pdf") di.UTI = "com.adobe.pdf" di.OpenFile(Page1.RootPanel)
roumei Active Member Licensed User Jan 12, 2021 #2 Don't anchor the DocumentInteraction to a RootPanel. Use another view instead: B4X: di.OpenFile(Button1) Upvote 0
Don't anchor the DocumentInteraction to a RootPanel. Use another view instead: B4X: di.OpenFile(Button1)
MitchBu Well-Known Member Licensed User Longtime User Jan 12, 2021 #3 It works ! Thank you roumei Upvote 0