Quick Start Guide
SmartOffice enables quick and easy document viewing and editing for Android and iOS platforms. This guide demonstrates how our Drop-in UI solution allows you to get up and running with minimal coding effort.
Note
The Drop-in UI connects with the native file browser on your Android and iOS platforms for ease of integration and to enable the best possible document management experience.
Android
After following the integration steps in Getting Started for Android use the SmartOffice drop-in activity, DefaultOfficeUIActivity
, with data representing your file URI and start it:
val intent = Intent(this, DefaultOfficeUIActivity::class.java)
intent.data = <your_file_uri>
startActivity(intent)
Intent intent = new Intent(this, DefaultOfficeUIActivity.class);
intent.setData(<your_file_uri>);
startActivity(intent);
iOS
After following the integration steps in Getting Started for iOS use the SmartOffice drop-in view controller, SODKDefaultUIViewController
, with your file URL and push it from your navigation controller:
SODKDefaultUIViewController.viewController(url: <your_file_url>, whenReady: {(docVC:ARDKDefaultUIViewController?) in
if docVC != nil {
self.navigationController?.pushViewController(docVC!, animated: true)
}
})
[SODKDefaultUIViewController viewControllerWithUrl:<your_file_url> whenReady:^(ARDKDefaultUIViewController *docVC) {
if (docVC) {
[self.navigationController pushViewController:docVC animated:YES];
}
}];
This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of that license. Refer to licensing information at artifex.com or contact Artifex Software Inc., 39 Mesa Street, Suite 108A, San Francisco CA 94129, United States for further information.