P Peter Lewis Well-Known Member Licensed User Longtime User Feb 9, 2021 #1 Hi All I am looking for a cross Platform PDF Viewer I can use. I have a great one that was for B4j but it uses JFX and I have seen one on the Forum that is for android. I am looking for one that works with B4XPages and will work across all platforms or do I have to use different readers for each platform. Thank you in advance
Hi All I am looking for a cross Platform PDF Viewer I can use. I have a great one that was for B4j but it uses JFX and I have seen one on the Forum that is for android. I am looking for one that works with B4XPages and will work across all platforms or do I have to use different readers for each platform. Thank you in advance
Erel B4X founder Staff member Licensed User Longtime User Feb 9, 2021 #2 The way to deal with such inconsistencies is by creating a class that uses conditional compilation to access the correct API based on the platform. This way the differences are confined to a single place. Upvote 0
The way to deal with such inconsistencies is by creating a class that uses conditional compilation to access the correct API based on the platform. This way the differences are confined to a single place.
P Peter Lewis Well-Known Member Licensed User Longtime User Feb 9, 2021 #3 Erel said: The way to deal with such inconsistencies is by creating a class that uses conditional compilation to access the correct API based on the platform. This way the differences are confined to a single place. Click to expand... This is what I was going to do but i wanted to make sure that nothing was available first . The PDF views looks quite different on both platforms but the B4J one uses JFX Upvote 0
Erel said: The way to deal with such inconsistencies is by creating a class that uses conditional compilation to access the correct API based on the platform. This way the differences are confined to a single place. Click to expand... This is what I was going to do but i wanted to make sure that nothing was available first . The PDF views looks quite different on both platforms but the B4J one uses JFX