<How to create/write and read word(having .doc and...
# stackoverflow
u
How to create/write and read word(having .doc and .docx extensions) file in android? I need to write/read word file, also if there is any third party please let me know. I used this code to create file -> fun createFile(fileName: String): File? { val APP_NAME = "Sample App" val LOCAL_STORAGE_BASE_PATH_FOR_MEDIA = Environment .getExternalStorageDirectory().toString() + "/" + APP_NAME val storageDirPath: String = "$LOCAL_STORAGE_BASE_PATH_FOR_MEDIA/User/Docs/" val TEXT_FILE_PREFIX = "Word_" val TEXT_FILE_SUFFIX = ".docx" //even I used .doc...