Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Planned SDK features
  • Page:
  • 1

TOPIC:

Finding issue while using search in the application for android app 3 years 5 months ago #15323

  • aayjai
  • aayjai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
I am using customSearch() method suggested by the team . But still it is not returning anything.

finder.GetCount() method is returning 0 for all the pages.

method used

for (int i = 0; i < doc.GetPageCount(); i++) {

// get page
Page page = doc.GetPage(i);
page.ObjsStart();

// find in page
Page.Finder finder = page.FindOpen(search, caseSensitive, wholeWord);

// manage each search term contained in this page
for (int c = 0; c < finder.GetCount(); c++) {

// start position
int firstCharPos = finder.GetFirstChar(c);

Log.w("---search---", "Page " + i);
Log.w("---search---", "Pos : " + firstCharPos);

// do custom actions

}

// close page
page.Close();
}

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

Finding issue while using search in the application for android app 3 years 5 months ago #15329

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
Dear user,
on our side it appears that the method is working.
Could you provide further information? Does this happen with a specific document, and it that case, could you provide the pdf file so that developers can test it?

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

Finding issue while using search in the application for android app 3 years 5 months ago #15330

  • aayjai
  • aayjai's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Hi,

This search functionality is working fine now. The issue was related to the application Id.

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

  • Page:
  • 1
Powered by Kunena Forum