Recently, in order to add custom webapps on Firefox OS is by launching WebIDE on Firefox Desktop, connect a device, open a folder including the webapp source file, and click “Run”. Unfortunately, this way may be problematic if there is a bug on the WebIDE itself.
I have an idea, since Open Web Apps are somewhat independent, I think that we need the main app installer file extension for installing apps in B2G OS, like Android’s APK, Debian’s DEB, Windows’ EXE, MSI, DLL and APPX, and Mac OS X’s DMG files.
Therefore, I suggest that the .owa extension is used to installed packaged apps (NOT hosted apps).
Why .OWA files?
- OWA stands for Open Web Apps
- OWA file extensions is currently not set for a specific program (such as ODT files for OpenOffice Documents)
- OWA is a renamed ZIP file (to make OWA files, just zip the app source file and rename the extension to OWA)
- OWA may include the manifest.webapp file to load the app description (similar to AndroidManifest.xml in APK and Manifest.json in CRX)
- OWA files is used only for installing packaged apps (for hosted apps use the default manifest.webapp file)
- To install OWA files to Desktop and Android, I think we need an addon to convert that so webAPIs that are introduced in Firefox OS can be converted into native APIs, such as WebTelephony API which is not available in Desktop.