Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Planned SDK features

Finding issue while using search in the application for android app

More
IP: 34.93.130.35 5 years 4 months ago #15323 by aayjai
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();
}
More
IP: 93.42.249.223 5 years 4 months ago #15329 by luca.f
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?
More
IP: 34.93.130.2 5 years 4 months ago #15330 by aayjai
Hi,

This search functionality is working fine now. The issue was related to the application Id.
Time to create page: 0.399 seconds
Powered by Kunena Forum