AIR Native Extension for working with documents.
This ANE requires android.support.v4
on Android, one of your another extensions should have it (for example you could use com.distriqt.androidsupport.V4
from Distriqt).
if (Documents.isSupported) {
Documents.shared.previewDocumentWithPath("data/test.pdf");
}
Opens specified document for preview using Intent.ACTION_VIEW
on Android and UIDocumentInteractionController
on iOS.