Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android version of iOS Quick Look Framework

Is there something similar to the iOS Quick Look Framework for Android? I'm trying to display/preview PDF and Microsoft Office files inside my Activity. I know that I can use Intents to open the files using the associated viewer but I would like to know if it's possible to not leave my application.

like image 432
Mirza Dobric Avatar asked Nov 28 '12 21:11

Mirza Dobric


1 Answers

It's only possible if you write your own viewers. The iOS app is calling out to an external class which just happens to render inside your own view. Not much different to Android except, you use an intent rather than call a specific app or framework which is more flexible since the user chooses how the file is opened.

like image 128
Simon Avatar answered Oct 01 '22 08:10

Simon