-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
Hi,
The IDL for platform.showNotification() [1] claims the third parameter is the URI of an image to be loaded and displayed with the notification. It works fine with a remote image pulled down over HTTP, but I'd like it to display an image from the bundle. Is that possible?
On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas [link: mailto:br...@ardvaark.net] wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Hi,
The IDL for platform.showNotification() [1] claims the third parameter
is the URI of an image to be loaded and displayed with the notification.
It works fine with a remote image pulled down over HTTP, but I'd like
it to display an image from the bundle. Is that possible?
> On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas
> <mailto:br...@ardvaark.net> wrote:
> Hi,
> The IDL for platform.showNotification() [1] claims the third parameter
> is the URI of an image to be loaded and displayed with the notification.
> It works fine with a remote image pulled down over HTTP, but I'd like
> it to display an image from the bundle. Is that possible?
No problem, I had a similar idea earlier when trying to use multiple local JavaScript files, but I don't think Prism makes it easy to gain access to the bundle's cached location and the files therein.
> On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas
> <br...@ardvaark.net [link: mailto:br...@ardvaark.net]> wrote:
> Hi,
> The IDL for platform.showNotification() [1] claims the third parameter
> is the URI of an image to be loaded and displayed with the notification.
> It works fine with a remote image pulled down over HTTP, but I'd like
> it to display an image from the bundle. Is that possible?
On Thu, Oct 22, 2009 at 3:01 PM, Jason Miller <ja...@developit.ca> wrote:
> No problem, I had a similar idea earlier when trying to use multiple local
> JavaScript files, but I don't think Prism makes it easy to gain access to
> the bundle's cached location and the files therein.
> > On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas
> > <br...@ardvaark.net> wrote:
> > Hi,
> > The IDL for platform.showNotification() [1] claims the third parameter
> > is the URI of an image to be loaded and displayed with the notification.
> > It works fine with a remote image pulled down over HTTP, but I'd like
> > it to display an image from the bundle. Is that possible?
> > Any help would be greatly appreciated. Thanks!
On Thu Oct 22 2009 12:35:35 GMT-0400 (EST), Matthew Gertner [link: mailto:matthew.gert...@gmail.com] wrote:You can also say resource://webapp/image.png where image.png is a file located in the webapp home directory (the place as webapp.ini).
On Thu, Oct 22, 2009 at 3:01 PM, Jason Miller <ja...@developit.ca [link: mailto:ja...@developit.ca]> wrote:
No problem, I had a similar idea earlier when trying to use multiple local JavaScript files, but I don't think Prism makes it easy to gain access to the bundle's cached location and the files therein.
> On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas
> <br...@ardvaark.net [link: mailto:br...@ardvaark.net]> wrote:
> Hi,
> The IDL for platform.showNotification() [1] claims the third parameter
> is the URI of an image to be loaded and displayed with the notification.
> It works fine with a remote image pulled down over HTTP, but I'd like
> it to display an image from the bundle. Is that possible?
Matthew Gertner wrote:
> You can also say resource://webapp/image.png where image.png is a file
> located in the webapp home directory (the place as webapp.ini).
> On Thu, Oct 22, 2009 at 3:01 PM, Jason Miller <ja...@developit.ca
> <mailto:ja...@developit.ca>> wrote:
> No problem, I had a similar idea earlier when trying to use multiple
> local JavaScript files, but I don't think Prism makes it easy to
> gain access to the bundle's cached location and the files therein.
>> On Thu Oct 22 2009 09:49:44 GMT-0400 (EST), Brian Vargas
>> <br...@ardvaark.net <mailto:br...@ardvaark.net>> wrote:
>> Hi,
>> The IDL for platform.showNotification() [1] claims the third
> parameter
>> is the URI of an image to be loaded and displayed with the
> notification.
>> It works fine with a remote image pulled down over HTTP, but
> I'd like
>> it to display an image from the bundle. Is that possible?