Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC:

PDFViewer3.15.3_Android Studio issue 5 years 7 months ago #14095

  • lmterence
  • lmterence's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
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();
}

}

Please Log in or Create an account to join the conversation.

PDFViewer3.15.3_Android Studio issue 5 years 7 months ago #14096

  • support
  • support's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Dear user, it's not clear if you're experiencing the issue within the demo project.
May you doublecheck and confirm it, please?

Please Log in or Create an account to join the conversation.

PDFViewer3.15.3_Android Studio issue 5 years 7 months ago #14101

  • lmterence
  • lmterence's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

PDFViewer3.15.3_Android Studio issue 5 years 7 months ago #14107

  • support
  • support's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
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.

Please Log in or Create an account to join the conversation.

PDFViewer3.15.3_Android Studio issue 5 years 7 months ago #14117

  • mikedesmith
  • mikedesmith's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

PDFViewer3.15.3_Android Studio issue 5 years 6 months ago #14126

  • DivinaPastora
  • DivinaPastora's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Last edit: by DivinaPastora.
  • Page:
  • 1
  • 2
Powered by Kunena Forum