I'm working on a project where there is a feature choose file and extract text from those particularly file anyone can help me I'm developing this app in android studio using java technology
Asked
Active
Viewed 321 times
-1
-
https://stackoverflow.com/questions/227236/convert-word-doc-to-html-programmatically-in-java then html to pdf or what you need – Ahmed Karam Nov 24 '21 at 05:20
2 Answers
0
First try to convert doc to html then extract text from html.
check this link: Convert .docx to HTML using JAVA

Rushit Vaishnani
- 276
- 2
- 6
-1
yes you can apache poi jar file in your android studio lib directory

Polic36
- 1
-
Please refer to this next time answering a question https://stackoverflow.com/help/how-to-answer – Abdullah Mujahid Nov 24 '21 at 06:15
-
Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Nov 24 '21 at 07:58