Skip to content

AIR Native Extension for working with documents

License

Notifications You must be signed in to change notification settings

airext/documents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

documents License MIT

iOS Android

AIR Native Extension for working with documents.

Dependencies

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).

Open documents

if (Documents.isSupported) {
    Documents.shared.previewDocumentWithPath("data/test.pdf");
}

Opens specified document for preview using Intent.ACTION_VIEW on Android and UIDocumentInteractionController on iOS.