有没有大神遇到这个的问题呀,请问这个该怎么解决呢?
File file = new File(path);
pdfView.fromFile(file).defaultPage(0).load();
本人QQ:903111844
这个应该是PDF版本的问题,我也遇到过,后来我先在word2007里编辑好文本内容,然后转换为pdf就解决这个问题了。
DecodingAsyncTask这个类贴出来看看,错误应该在这个类的58,31行附近
58行:
protected void onPostExecute(Void result) {
if(!this.cancelled) {
this.pdfView.loadComplete(this.decodeService);
}
}
31行:
protected Void doInBackground(Void... params) {
this.decodeService = new DecodeServiceBase(new PdfContext());
this.decodeService.setContentResolver(this.pdfView.getContext().getContentResolver());
this.decodeService.open(this.uri);
return null;
}