Re: [android-developers] PDF files search utility
you can find on internet lot of tools for smart search in windows with previews...most of them are free...but if you want to pay,i am intrerested to create some software :) On Mon, Jan 20, 2014 at 6:15 PM, olegkon oleg...@gmail.com wrote: Hi, I am an IT, have 1000s of books (most in PDF) on my Android 4 tablet. I often need info inside these books, search inside them (without opening them), sometimes advance search (like term1 term2 on one page). It would be better if I can see some preview of results (with a few lines to get a context). Is there any such utility on Android? (or on Windows ? I use regular search in files in TextPad, but it often misses to search binaries like PDFs) Better free, but if it satisfy my need, will pay a bit too. :-) TIA, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [android-developers] PDF files search utility
Try in Csharp to find some code to do it..example: PdfDocument doc = new PdfDocument(file.pdf);string textToSearch = some text;for (int i = 0; i doc.Pages.Count; i++){ string pageText = doc.Pages[i].GetText(); int count = 0; int lastStartIndex = pageText.IndexOf(textToSearch, 0, StringComparison.CurrentCultureIgnoreCase); while (lastStartIndex != -1) { count++; lastStartIndex = pageText.IndexOf(textToSearch, lastStartIndex + 1, StringComparison.CurrentCultureIgnoreCase); } if (count != 0) Console.WriteLine(Page {0}: '{1}' found {2} times, i, textToSearch, count);} On Tue, Jan 21, 2014 at 12:49 PM, Jadranko Bodiroga jadrankobodiroga1...@gmail.com wrote: you can find on internet lot of tools for smart search in windows with previews...most of them are free...but if you want to pay,i am intrerested to create some software :) On Mon, Jan 20, 2014 at 6:15 PM, olegkon oleg...@gmail.com wrote: Hi, I am an IT, have 1000s of books (most in PDF) on my Android 4 tablet. I often need info inside these books, search inside them (without opening them), sometimes advance search (like term1 term2 on one page). It would be better if I can see some preview of results (with a few lines to get a context). Is there any such utility on Android? (or on Windows ? I use regular search in files in TextPad, but it often misses to search binaries like PDFs) Better free, but if it satisfy my need, will pay a bit too. :-) TIA, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] PDF files search utility
Hi, I am an IT, have 1000s of books (most in PDF) on my Android 4 tablet. I often need info inside these books, search inside them (without opening them), sometimes advance search (like term1 term2 on one page). It would be better if I can see some preview of results (with a few lines to get a context). Is there any such utility on Android? (or on Windows ? I use regular search in files in TextPad, but it often misses to search binaries like PDFs) Better free, but if it satisfy my need, will pay a bit too. :-) TIA, Oleg. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.