Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Indépendant page rendering

More
10 years 10 months ago #8859 by joseNetdevices
Thanks you.

I looked at the demo, It's what we wanted to achieve. But our application is base on Cordova which uses an Android "Activity".
The demo uses Android Fragments which require FragmentActivity.
It seem to be difficult to force Cordova to use a FragmentActivity as it's not intended to.
Do you know if it's possible to do the same demo using Android Views instead of Fragments ?
More
10 years 9 months ago - 10 years 9 months ago #9021 by joseNetdevices
Thanks again for the demo.

Here are some feedbacks.
- I've already post and my co-worker opened a ticket about a bug about the touch events handling. The demo uses a ViewPager to navigate through pages and it consumes all swipe/fling events causing the content to be cropped when the pages are zoomed.
- We also notice that each page display is an instance of the PDFView, that is the whole PDF reader. i.e. if we disable the ViewPager event management, we can change page inside the fragment representing a single page. I wonder if this won't be an issue for memory management. Would it be more memory efficient to use a PDFVPage per fragment and manage the PDF document at an higher level (Subclass of the ViewPager? I understand that's the approach used in the demo of the 3.5beata7)

Hope this will help.
Last edit: 10 years 9 months ago by joseNetdevices.
Time to create page: 0.347 seconds
Powered by Kunena Forum