0

I am creating a pdf reading app? When a user double taps a text in a pdf file, I want to store that text and perform some operations. I spent a whole day googling things, etc but I don't seem to find any relevant source to do this. I am currently using this GitHub library to display a pdf from the storage of the android device. which library would you suggest to perform this task? Thank you

perpetualdarkness
  • 135
  • 1
  • 4
  • 18
  • It would appear that the library that you chose is no longer being maintained. – CommonsWare Mar 27 '21 at 19:02
  • can you please suggest me some other library or any tutorial really to display a pdf file in my app? because a lot of people on the internet suggested this library. – perpetualdarkness Mar 28 '21 at 05:55
  • I do not know of any currently-maintained open source PDF viewer libraries for Android. – CommonsWare Mar 28 '21 at 11:35
  • do you know how i can make my text selectable by one click in the pdf? i have searched so many websites and i didnt find anything at all and it's very demotivating – perpetualdarkness Apr 05 '21 at 18:53
  • Why not use `ACTION_VIEW` and let the user view the PDF in their preferred PDF viewer? – CommonsWare Apr 05 '21 at 19:18
  • i wanted to build an app where if you click on a word from a pdf file then the app goes to another activity where the definition of that word from google is displayed and then you could go back to reading the pdf again – perpetualdarkness Apr 06 '21 at 08:37
  • If your company is asking you to do this, perhaps they should look into licensing a commercial PDF rendering library. If this is for yourself, perhaps switch from PDF to HTML and consider a `WebView` and some JavaScript. – CommonsWare Apr 06 '21 at 11:02
  • @CommonsWare Can you please share me some articles about that? and I'm doing this application for myself. Searched everything on the internet related to the app but i don't seem to find anything at all. – perpetualdarkness May 28 '21 at 05:30
  • "Can you please share me some articles about that?" -- some articles about what? – CommonsWare May 28 '21 at 10:51
  • Any article that might help me develop that feature in the app? – perpetualdarkness May 28 '21 at 13:05

0 Answers0