-1

I want to read MS Word file in Android and get the content text, but after reading I got wrong characters. I tried to use Apache poi library, but app can`t compile because of the fact that the Apache Poi Library has more than 67k methods. Need help.

enter image description here

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115

1 Answers1

0

Simplest way IMHO is to port Apache POI library to Android. It's possible and there proof of that

Porting POI you can embed Word editing feature into your application.

Piece of code like:

Intent intent = new Intent(Intent.ACTION_EDIT); 
Uri uri = Uri.parse("file:///"+file.getAbsolutePath()); 
intent.setDataAndType(uri, "plain/text"); 
startActivity(intent);