Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Loading effect or some loader while opening PDF file from HTTP URL(http_link))

More
IP: 103.51.95.144 6 years 6 months ago #14906 by maynai
How we can add Loading effect while opening PDF file from URL i.e http_link. Currently if you load large size PDF file using HTTP URL then reader take some time to load this file on screen. End user get confused whether file will be open or not? So is any way to add loading effect on screen.
More
IP: 111.196.243.219 6 years 6 months ago #14907 by radaee
yes, so, you are using PDFHttpStream, you can do like PDFNavAct.java does.
there is OpenTask class in PDFNavAct, to display a waiting dialog while opening need more than 1 second.
to override onPreExecute() method of AsyncTask.
Time to create page: 0.398 seconds
Powered by Kunena Forum