Hi,

We usually use parameters to the image URL, which admittedly is less than 
optimal. The new specification that we'll use in 1.2 has iirc native support 
for states.


jose llopis <[email protected]> a écrit :

>i have an app that creates notifications while the app is not visible
>and has updates...my main question is how to tell the 
>
>app.launch() which page has to load and the parameters for that page
>any idea?
>
>var notification = navigator.mozNotification;
> var n = notification.createNotification(title,body,iconPath);
>    n.onclick = function () 
>    {
>        navigator.mozApps.getSelf().onsuccess = function(evt) {
>            var app = evt.target.result;
>            app.launch();            
>        };
>    };
> n.show();
>_______________________________________________
>dev-b2g mailing list
>[email protected]
>https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to