- Posts: 11
- Thank you received: 1
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
PDFViewer3.15.3_Android Studio issue
IP: 112.65.128.26
7 years 5 months ago #14095
by lmterence
PDFViewer3.15.3_Android Studio issue was created by lmterence
Hello there
I am an Android developer and I am having problems when I integrate the SDK.
When I quickly drag the page and then touch to stop the page scrolling, the page will immediately jump to the first page, why not stop the page to scroll, such as 4, 5, 6 pages, etc.
I hope you can help me solve this problem, thank you!
The specific issues are as follows:
The red part of the following code "this.vGetPage(this.m_w / 4, this.m_h / 4)" gets 0 when dragging, causing the above scene to appear;
verson:PDFViewer3.15.3_Android Studio
codeļ¼
com.radaee.view.jar
\com\radaee\view\PDFLayout.class
protected void vFlushRange() {
int pageno1 = this.vGetPage(0, 0);
int pageno2 = this.vGetPage(this.m_w, this.m_h);
int start;
int end;
VPage vpage;
if (pageno1 >= 0 && pageno2 >= 0) {
if (pageno1 > pageno2) {
start = pageno1;
pageno1 = pageno2;
pageno2 = start;
}
++pageno2;
if (this.m_disp_page1 < pageno1) {
start = this.m_disp_page1;
end = pageno1;
if (pageno1 > this.m_disp_page2) {
end = this.m_disp_page2;
}
while(start < end) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
++start;
}
}
if (this.m_disp_page2 > pageno2) {
start = pageno2;
end = this.m_disp_page2;
if (pageno2 < this.m_disp_page1) {
start = this.m_disp_page1;
}
while(start < end) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
++start;
}
}
} else {
start = this.m_disp_page1;
for(end = this.m_disp_page2; start < end; ++start) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
}
}
this.m_disp_page1 = pageno1;
this.m_disp_page2 = pageno2;
pageno1 = this.vGetPage(this.m_w / 4, this.m_h / 4);
if (this.m_listener != null && pageno1 != this.m_pageno) {
this.m_listener.OnPageChanged(this.m_pageno = pageno1);
}
if (this.m_cache_use) {
this.vFlushCacheRange();
}
}
I am an Android developer and I am having problems when I integrate the SDK.
When I quickly drag the page and then touch to stop the page scrolling, the page will immediately jump to the first page, why not stop the page to scroll, such as 4, 5, 6 pages, etc.
I hope you can help me solve this problem, thank you!
The specific issues are as follows:
The red part of the following code "this.vGetPage(this.m_w / 4, this.m_h / 4)" gets 0 when dragging, causing the above scene to appear;
verson:PDFViewer3.15.3_Android Studio
codeļ¼
com.radaee.view.jar
\com\radaee\view\PDFLayout.class
protected void vFlushRange() {
int pageno1 = this.vGetPage(0, 0);
int pageno2 = this.vGetPage(this.m_w, this.m_h);
int start;
int end;
VPage vpage;
if (pageno1 >= 0 && pageno2 >= 0) {
if (pageno1 > pageno2) {
start = pageno1;
pageno1 = pageno2;
pageno2 = start;
}
++pageno2;
if (this.m_disp_page1 < pageno1) {
start = this.m_disp_page1;
end = pageno1;
if (pageno1 > this.m_disp_page2) {
end = this.m_disp_page2;
}
while(start < end) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
++start;
}
}
if (this.m_disp_page2 > pageno2) {
start = pageno2;
end = this.m_disp_page2;
if (pageno2 < this.m_disp_page1) {
start = this.m_disp_page1;
}
while(start < end) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
++start;
}
}
} else {
start = this.m_disp_page1;
for(end = this.m_disp_page2; start < end; ++start) {
vpage = this.m_pages[start];
vpage.vEndPage(this.m_thread);
}
}
this.m_disp_page1 = pageno1;
this.m_disp_page2 = pageno2;
pageno1 = this.vGetPage(this.m_w / 4, this.m_h / 4);
if (this.m_listener != null && pageno1 != this.m_pageno) {
this.m_listener.OnPageChanged(this.m_pageno = pageno1);
}
if (this.m_cache_use) {
this.vFlushCacheRange();
}
}
IP: 37.183.44.177
7 years 5 months ago #14096
by support
Replied by support on topic PDFViewer3.15.3_Android Studio issue
Dear user, it's not clear if you're experiencing the issue within the demo project.
May you doublecheck and confirm it, please?
May you doublecheck and confirm it, please?
IP: 112.65.128.26
7 years 5 months ago #14101
by lmterence
Replied by lmterence on topic PDFViewer3.15.3_Android Studio issue
Hello Support,
That issue is, during the PDF gages moving, up or down, I touch the screen to hope to stiop at current page( which I am looking for), but it always stop at the first page, actually ,with this issue, I can not page up or down quickly to explore multi-pages PDF file.
Below is the additionally info:
1. Once the pages are moving,you always have the issue, no matter quickly or slowlly moving;
2.Some phone have the issue(Huawei Note 8, OS 6.0), but some others have no the issue;
3. Both your demo and SDK have the same issue.
BR
Simon Cao
That issue is, during the PDF gages moving, up or down, I touch the screen to hope to stiop at current page( which I am looking for), but it always stop at the first page, actually ,with this issue, I can not page up or down quickly to explore multi-pages PDF file.
Below is the additionally info:
1. Once the pages are moving,you always have the issue, no matter quickly or slowlly moving;
2.Some phone have the issue(Huawei Note 8, OS 6.0), but some others have no the issue;
3. Both your demo and SDK have the same issue.
BR
Simon Cao
IP: 37.183.44.177
7 years 5 months ago #14107
by support
Replied by support on topic PDFViewer3.15.3_Android Studio issue
Dear Simon, we're checking it on our testing devices.
I'll be back as soon as possible.
In the meanwhile, if possible for you, may you provide us a small video showing the issue?
You shall upload it on the trouble ticket area addressing it as bug report.
Apologize for previous un-comprehension.
I'll be back as soon as possible.
In the meanwhile, if possible for you, may you provide us a small video showing the issue?
You shall upload it on the trouble ticket area addressing it as bug report.
Apologize for previous un-comprehension.
- mikedesmith
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
IP: 86.154.131.200
7 years 5 months ago #14117
by mikedesmith
Replied by mikedesmith on topic PDFViewer3.15.3_Android Studio issue
We see the same problem, including with the Radaee reader on the Google Play store - if you are on page 3 of a document, for example, and try and zoom the text it immediately jumps to page 1 and zooms there - basically the touch / pinch zoom facility does not work as it should
- DivinaPastora
- Offline
- New Member
-
Less
More
- Posts: 14
- Thank you received: 0
IP: 90.161.233.166
7 years 5 months ago - 7 years 5 months ago #14126
by DivinaPastora
Replied by DivinaPastora on topic PDFViewer3.15.3_Android Studio issue
I've got this problem 2 years ago:
www.radaeepdf.com/forum/Bug-report/2978-...le-scrolling-android
I work with huawei and samsung devices but only happens in huawei device. Restarting the devices solves the problem temporally but later it appears again even closing the app. In the old thread i posted that the android update fixed the problem but it didn't, was due to the restart. Very weird... the problem still persist for me since then.
I work with huawei and samsung devices but only happens in huawei device. Restarting the devices solves the problem temporally but later it appears again even closing the app. In the old thread i posted that the android update fixed the problem but it didn't, was due to the restart. Very weird... the problem still persist for me since then.
Last edit: 7 years 5 months ago by DivinaPastora.
Time to create page: 0.441 seconds