From 2cf7929b16071d895137bdf509c574b0550e663e Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sat, 5 Oct 2013 12:46:50 +0200 Subject: Attempt to make app into an activity handler. --- manifest.webapp | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/manifest.webapp b/manifest.webapp index 65d9ec6..cbd931a 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -1,17 +1,25 @@ { - "version": "6", + "version": "7", "name": "Import LDIF", "description": "Import LDIF file from the remote URL to Firefox OS Contacts application", - "icons": { - "128": "/icon-128.png", - "60": "/icon-60.png" - }, - "launch_path": "/index.html", "type": "privileged", "developer": { "name": "Matěj Cepl", "url": "http://matej.ceplovi.cz" }, + "activities": { + "open": { + "filters": { + "type": "text/x-ldif", + "text/x-ldif": { + "required": true, + "fileExtension": "ldif" + } + }, + "disposition": "inline", + "href": "/index.html" + } + }, "permissions": { "contacts": { "access": "readwrite", -- cgit