Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Here you should submit your bug reports with logcat.

Bug/Problem with PRO license

More
IP: 192.168.0.70 12 years 9 months ago - 12 years 9 months ago #2661 by Asdonio
Hi,
I bought the Pro license, I set the pro license and watermark goes away.
I'm using the pdfviewer2.8.3beta7

When i test your code in the sample project, dual page mode works fine.
When I use it in my app
Code:
PDFPos pos = m_view.vGetPos(0, 0);
pos is always null in the onSizeChanged method.
Code:
protected void onSizeChanged( int w, int h, int oldw, int oldh ) { super.onSizeChanged(w,h,oldw,oldh); if( m_view == null ) return; PDFPos pos = m_view.vGetPos(0, 0); m_view.vResize(w, h); m_view.vSetScale(0, 0, 0); if( pos != null ) { if( m_goto_pageno >= 0 ) { m_view.vGotoPage(m_goto_pageno); m_goto_pageno = -1; } else m_view.vSetPos(pos, 0, 0); m_view.vCenterPage(pos.pageno); } }

as you can see i'm using your code
is there a fix to the pos being always null?
Last edit: 12 years 9 months ago by prashant.meg.
More
IP: 192.168.0.70 12 years 9 months ago - 12 years 9 months ago #2663 by radaee
Replied by radaee on topic Bug/Problem with PRO license
oh, (0,0) seems out of page, it is in left margin side.
try:
www.radaee.com/files/PDFReader.rar
Last edit: 12 years 9 months ago by .
More
IP: 192.168.0.70 12 years 9 months ago #2666 by Asdonio
I can't understand the problem, i changed the values from (0,0) to many values and nothing works, pos is always null.
In your example it keeps working.

I'm out of ideas
More
IP: 192.168.0.70 12 years 9 months ago #2673 by radaee
Replied by radaee on topic Bug/Problem with PRO license
do you think just using PDFReader class?
More
IP: 192.168.0.70 12 years 9 months ago #2683 by Asdonio
Yes I modified the PDFReaderAct and the PDFReader classes only.

Being able have the dual page to keep the right page and center it when I go to landscape is the only feature I'm missing in my project.
More
IP: 192.168.0.70 12 years 9 months ago - 12 years 9 months ago #2686 by radaee
Replied by radaee on topic Bug/Problem with PRO license
OK, it seems it's better to send me your demo peoject.
to: [email protected]
i'll test it.
Last edit: 12 years 9 months ago by .
Time to create page: 0.422 seconds
Powered by Kunena Forum