如何在Android的异步显示PDF文档? [英] How to display pdf document asynchronously in android?

查看:123
本文介绍了如何在Android的异步显示PDF文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在显示我的Andr​​oid应用程序PDF文档。对于我跟着从链接<一个href=\"http://stackoverflow.com/questions/9995915/how-to-open-a-pdf-from-an-android-app-in-a-separate-pdf-viewer-app\">How从Android应用(在一个单独的PDF查看器应用程序)打开一个PDF。我的PDF文件大小为30MB的。因此,它需要时间来显示它。因此,我需要以异步方式显示出来。我是新来的异步任务。请给我如何异步显示PDF上的一些想法。

I am displaying a pdf document in my android application. For that I followed from the link How to open a PDF from an Android app (in a separate PDF viewer app). My pdf document size is of 30mb. So it is taking time to display it. Hence I need to display it asynchronously. I am new to asynchronous tasks. Please give me some idea on how to display the pdf asynchronously.

推荐答案

首先,这不是你谁打开该PDF之一。您与其他应用程序中打开它,因此,如果渲染速度较低时,你能做的唯一的事情就是选择其他应用程序的openeing它。这不是你的责任,你的情况下,它不是在所有涉及到异步任务。我认为这将是有益供您阅读有关首款Android基础所有的和获得华南简介Android框架一些knowlege以及它是如何工作的。

First of all, it's not you the one who open this pdf. You open it with other application, so if rendering speed is low, the only thing you can do is select other app for openeing it. It's not your responsibility and in your case it's not related to asynchronous tasks at all. I think it will be usefull for you to read about Android Fundamentals first of all and get some more knowlege abour Android framework and how it works.

这篇关于如何在Android的异步显示PDF文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆