Hello,

I am currently working on a file browser for Firefox OS that is called Prospector[0]. We are using Web Activities to open files with other applications, which is expected behavior for any file browser. I am constantly frustrated by the diversity of the current activities because they mean that I have to custom-tailor my code for each file type and application instead of just calling a broad "open" activity.

It would be /so/ much easier for me, and for other developers of similar apps to have a standardized Web Activity dedicated to opening files. Even better would be to have standard properties for that activity (e.g. file uri, mime, etc...) As for passing blobs by activities, that sounds like it might hurt perf, and it is more convenient for the receiving app to handle blob creation anyway.

Also, a standardized open activity would allow there to be a settings panel that allows the user to set the default app for each type of file in place of prompting them every time.

What are your thoughts?

--
Joshua Smith

Links:
0) https://github.com/Codexa/Prospector
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to