1 <h1 id="file_handlers">Manifest - File Handlers</h1>
4 Used by <a href="../app_lifecycle.html#eventpage">packaged apps</a>
5 to specify what types of files the app can handle. An app can have multiple <code>file_handlers</code>, with each one having an identifier, a list of MIME types and/or a list of file extensions that can be handled, and
6 a title. Here's an example of specifying file handlers:
9 <pre data-filename="manifest.json">
15 "title": "Text editor"
25 "title": "Image editor"
31 "title": "Any file type editor"
37 To handle files, apps also need to declare the $ref:fileSystem
38 permission. Apps can then be passed files in the $ref:app.runtime.onLaunched
39 event - either from the system
40 file manager (currently supported on ChromeOS only) or by providing
41 a path on the <a href="../first_app.html#open">command line</a>.