wooot! now it works! :D

thanks Julien for noticing the argument of launch()
and all the others for the help!

-Leandro




IMPORT MY GPG KEY:
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys BA863309



2016-02-01 17:45 GMT+01:00 Julien Wajsberg <[email protected]>:

> You need to pass the entry point name as parameter to the "launch"
> command. See [1].
>
> When generating the icons, if there is any entrypoint, you need to use
> them, otherwise use the main launch_path.
>
> Hope this helps :)
>
> [1] https://developer.mozilla.org/en-US/docs/Web/API/DOMApplication/launch
>
>
>
> Le 01/02/2016 15:47, Gabriele Svelto a écrit :
>
> On 01/02/2016 15:37, leandro wrote:
>
> ok, Alberto & Gabriele, your words are very illuminating :)
>
> so, want to give the Dialer launch_path to the Communications app in
> order to Communications app opens up the Dialer
>
> i've tried to do
> */icon.manifest.launch_path = "/dialer/index.html#keyboard-view"; /*
> (being «icon» the Communications app)
> but when i click it it opens th 
> app://communications.gaiamobile.org<http://communications.gaiamobile.org> 
> <http://communications.gaiamobile.org> folder :(
>
> is something else i must change to accomplish this?
>
> I think you don't need to set the launch path but rather the entry point:
>
> icon.manifest.entry_point = 'dialer';
>
> Or
>
> icon.manifest.entryPoint = 'dialer';
>
> Can't remember which one. Anyway this is one of the kludges we want to
> get rid of so it's no wonder it's proving difficult to use :-/
>
>  Gabriele
>
>
>
>
> _______________________________________________
> dev-fxos mailing 
> [email protected]https://lists.mozilla.org/listinfo/dev-fxos
>
>
>
> _______________________________________________
> dev-fxos mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-fxos
>
>
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to