- Posts: 4
- Thank you received: 0
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
IP: 192.168.0.70
12 years 9 months ago - 12 years 9 months ago #2661
by Asdonio
Bug/Problem with PRO license was created 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
pos is always null in the onSizeChanged method.
as you can see i'm using your code
is there a fix to the pos being always null?
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);
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.
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
Last edit: 12 years 9 months ago by .
IP: 192.168.0.70
12 years 9 months ago #2666
by Asdonio
Replied by Asdonio on topic Bug/Problem with PRO license
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
In your example it keeps working.
I'm out of ideas
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?
IP: 192.168.0.70
12 years 9 months ago #2683
by Asdonio
Replied by Asdonio on topic Bug/Problem with PRO license
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.
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.
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
Last edit: 12 years 9 months ago by .
Time to create page: 0.422 seconds