I have a chrome packaged app that uses the chrome.fileSystem
API to access a user's directory. It displays all files in the directory and the user can open and edit text files in the app.
It displays all files even not-text files (e.g. images) and I want that the user can click on these, too, but they should open in the Chrome OS standard image viewer.
Is there a chrome API to do this, like a function that I can pass the URL of the file or the file entry to, and then the system performs the standard operation?