How can I access my os from the web browser?

View: New views
7 Messages — Rating Filter:   Alert me  

How can I access my os from the web browser?

by tsmiller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Developers,
I have written and added a simple instant messaging feature to my application and I would like to know how to access the operating system from a browser.  I would like to notify the operating system when I receive a message.  Can someone point me in the right direction?  I would like to know what options are available.  Or even if it is possible?  thanks.

tom


Re: How can I access my os from the web browser?

by Matthew Gregory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can't really.
It does depend on what you are trying to achieve though, if you give
more detail maybe there is a work around. Perhaps if you start with
explaining why do you want to notify the operating system and what do
you expect it to do?

Matt

tsmiller wrote:

> Developers,
> I have written and added a simple instant messaging feature to my
> application and I would like to know how to access the operating system from
> a browser.  I would like to notify the operating system when I receive a
> message.  Can someone point me in the right direction?  I would like to know
> what options are available.  Or even if it is possible?  thanks.
>
> tom
>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: How can I access my os from the web browser?

by tsmiller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matt,
My im feature lets two or more people talk back and forth and there is no way to alert the end user when he gets a message. The way it is now, the end user has to have the im window open and sit and watch it for incoming messages. I could put up an alert box or change an icon in my application, but that doesn't help much if the browser window is hidden behind another os window. My browser polls the server for new messages.  I am looking for a way to alert the end user when he gets a new message because the browser instant message window is just another window in my application and may or may not be open. Plus the entire browser may be hidden behind other os windows.   The ideal solution would be to access the os taskbar and have an icon change. (like kopete or other instant messageing programs)  I don't know if there is anything that lets the browser talk to the os in any way at all.  Another solution might be to figure out how to play a sound. It is hard to keep up with all of the tools and new developments out there.  It seems that google and others are coming up with ways to write to the users local hard drive, but what about running some kind of program.  Maybe in some kind of limited scope?  

tom

Matthew Gregory wrote:
You can't really.
It does depend on what you are trying to achieve though, if you give
more detail maybe there is a work around. Perhaps if you start with
explaining why do you want to notify the operating system and what do
you expect it to do?

Matt

tsmiller wrote:
> Developers,
> I have written and added a simple instant messaging feature to my
> application and I would like to know how to access the operating system from
> a browser.  I would like to notify the operating system when I receive a
> message.  Can someone point me in the right direction?  I would like to know
> what options are available.  Or even if it is possible?  thanks.
>
> tom
>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: How can I access my os from the web browser?

by Ilkka Oksanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matt,

Currently there is no way to do what you describe. But as a side note some
plans already exists to specify JS API for notifications:

http://sites.google.com/a/chromium.org/dev/developers/design-documents/desktop-notifications/api-specification

W3C Device APIs and Policy Working Group is handling this and related topics
(camera API, contacts API, filesystem API etc) currently. Couple years and JS
applications/widgets can access a lot more device functionality.

                -ilkka

On Fri, Oct 30, 2009 at 7:29 PM, tsmiller <tsmiller@...> wrote:

Matt,
My im feature lets two or more people talk back and forth and there is no
way to alert the end user when he gets a message. The way it is now, the end
user has to have the im window open and sit and watch it for incoming
messages. I could put up an alert box or change an icon in my application,
but that doesn't help much if the browser window is hidden behind another os
window. My browser polls the server for new messages.  I am looking for a
way to alert the end user when he gets a new message because the browser
instant message window is just another window in my application and may or
may not be open. Plus the entire browser may be hidden behind other os
windows.   The ideal solution would be to access the os taskbar and have an
icon change. (like kopete or other instant messageing programs)  I don't
know if there is anything that lets the browser talk to the os in any way at
all.  Another solution might be to figure out how to play a sound. It is
hard to keep up with all of the tools and new developments out there.  It
seems that google and others are coming up with ways to write to the users
local hard drive, but what about running some kind of program.  Maybe in
some kind of limited scope?

tom


Matthew Gregory wrote:
>
> You can't really.
> It does depend on what you are trying to achieve though, if you give
> more detail maybe there is a work around. Perhaps if you start with
> explaining why do you want to notify the operating system and what do
> you expect it to do?
>
> Matt
>
> tsmiller wrote:
>> Developers,
>> I have written and added a simple instant messaging feature to my
>> application and I would like to know how to access the operating system
>> from
>> a browser.  I would like to notify the operating system when I receive a
>> message.  Can someone point me in the right direction?  I would like to
>> know
>> what options are available.  Or even if it is possible?  thanks.
>>
>> tom
>>
>>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

--
View this message in context: http://old.nabble.com/How-can-I-access-my-os-from-the-web-browser--tp26123794p26134029.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



--
+358 50 486 0721

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: How can I access my os from the web browser?

by Matthew Gregory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Here are some ideas
* Use soundss
* If the window doesn't have window, open a popup window (popup blocker
might be a problem)
* Change the title of your web page, Facebook does this and it works
quite nice.

tsmiller wrote:

> Matt,
> My im feature lets two or more people talk back and forth and there is no
> way to alert the end user when he gets a message. The way it is now, the end
> user has to have the im window open and sit and watch it for incoming
> messages. I could put up an alert box or change an icon in my application,
> but that doesn't help much if the browser window is hidden behind another os
> window. My browser polls the server for new messages.  I am looking for a
> way to alert the end user when he gets a new message because the browser
> instant message window is just another window in my application and may or
> may not be open. Plus the entire browser may be hidden behind other os
> windows.   The ideal solution would be to access the os taskbar and have an
> icon change. (like kopete or other instant messageing programs)  I don't
> know if there is anything that lets the browser talk to the os in any way at
> all.  Another solution might be to figure out how to play a sound. It is
> hard to keep up with all of the tools and new developments out there.  It
> seems that google and others are coming up with ways to write to the users
> local hard drive, but what about running some kind of program.  Maybe in
> some kind of limited scope?  
>
> tom
>
>
> Matthew Gregory wrote:
>> You can't really.
>> It does depend on what you are trying to achieve though, if you give
>> more detail maybe there is a work around. Perhaps if you start with
>> explaining why do you want to notify the operating system and what do
>> you expect it to do?
>>
>> Matt
>>
>> tsmiller wrote:
>>> Developers,
>>> I have written and added a simple instant messaging feature to my
>>> application and I would like to know how to access the operating system
>>> from
>>> a browser.  I would like to notify the operating system when I receive a
>>> message.  Can someone point me in the right direction?  I would like to
>>> know
>>> what options are available.  Or even if it is possible?  thanks.
>>>
>>> tom
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@...
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: How can I access my os from the web browser?

by tsmiller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Thanks for the answers and links.  It gives me a place to start.

tom


Ilkka Oksanen wrote:

>
> Hi Matt,
>
> Currently there is no way to do what you describe. But as a side note some
> plans already exists to specify JS API for notifications:
>
> http://sites.google.com/a/chromium.org/dev/developers/design-documents/desktop-notifications/api-specification
>
> W3C Device APIs and Policy Working Group is handling this and related
> topics
> (camera API, contacts API, filesystem API etc) currently. Couple years and
> JS
> applications/widgets can access a lot more device functionality.
>
>                 -ilkka
>
> On Fri, Oct 30, 2009 at 7:29 PM, tsmiller <tsmiller@...>
> wrote:
>
>>
>> Matt,
>> My im feature lets two or more people talk back and forth and there is no
>> way to alert the end user when he gets a message. The way it is now, the
>> end
>> user has to have the im window open and sit and watch it for incoming
>> messages. I could put up an alert box or change an icon in my
>> application,
>> but that doesn't help much if the browser window is hidden behind another
>> os
>> window. My browser polls the server for new messages.  I am looking for a
>> way to alert the end user when he gets a new message because the browser
>> instant message window is just another window in my application and may
>> or
>> may not be open. Plus the entire browser may be hidden behind other os
>> windows.   The ideal solution would be to access the os taskbar and have
>> an
>> icon change. (like kopete or other instant messageing programs)  I don't
>> know if there is anything that lets the browser talk to the os in any way
>> at
>> all.  Another solution might be to figure out how to play a sound. It is
>> hard to keep up with all of the tools and new developments out there.  It
>> seems that google and others are coming up with ways to write to the
>> users
>> local hard drive, but what about running some kind of program.  Maybe in
>> some kind of limited scope?
>>
>> tom
>>
>>
>> Matthew Gregory wrote:
>> >
>> > You can't really.
>> > It does depend on what you are trying to achieve though, if you give
>> > more detail maybe there is a work around. Perhaps if you start with
>> > explaining why do you want to notify the operating system and what do
>> > you expect it to do?
>> >
>> > Matt
>> >
>> > tsmiller wrote:
>> >> Developers,
>> >> I have written and added a simple instant messaging feature to my
>> >> application and I would like to know how to access the operating
>> system
>> >> from
>> >> a browser.  I would like to notify the operating system when I receive
>> a
>> >> message.  Can someone point me in the right direction?  I would like
>> to
>> >> know
>> >> what options are available.  Or even if it is possible?  thanks.
>> >>
>> >> tom
>> >>
>> >>
>> >
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> > is the only developer event you need to attend this year. Jumpstart
>> your
>> > developing skills, take BlackBerry mobile applications to market and
>> stay
>> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> > http://p.sf.net/sfu/devconference
>> > _______________________________________________
>> > qooxdoo-devel mailing list
>> > qooxdoo-devel@...
>> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-can-I-access-my-os-from-the-web-browser--tp26123794p26134029.html
>> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>> http://p.sf.net/sfu/devconference
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@...
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>
>
>
> --
> +358 50 486 0721
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@...
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

--
View this message in context: http://old.nabble.com/How-can-I-access-my-os-from-the-web-browser--tp26123794p26159896.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Re: How can I access my os from the web browser?

by tsmiller :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the answers and links.  It gives me a place to start.

tom

Ilkka Oksanen wrote:
Hi Matt,

Currently there is no way to do what you describe. But as a side note some
plans already exists to specify JS API for notifications:

http://sites.google.com/a/chromium.org/dev/developers/design-documents/desktop-notifications/api-specification

W3C Device APIs and Policy Working Group is handling this and related topics
(camera API, contacts API, filesystem API etc) currently. Couple years and
JS
applications/widgets can access a lot more device functionality.

                -ilkka

On Fri, Oct 30, 2009 at 7:29 PM, tsmiller <tsmiller@gnixterhouse.com> wrote:

>
> Matt,
> My im feature lets two or more people talk back and forth and there is no
> way to alert the end user when he gets a message. The way it is now, the
> end
> user has to have the im window open and sit and watch it for incoming
> messages. I could put up an alert box or change an icon in my application,
> but that doesn't help much if the browser window is hidden behind another
> os
> window. My browser polls the server for new messages.  I am looking for a
> way to alert the end user when he gets a new message because the browser
> instant message window is just another window in my application and may or
> may not be open. Plus the entire browser may be hidden behind other os
> windows.   The ideal solution would be to access the os taskbar and have an
> icon change. (like kopete or other instant messageing programs)  I don't
> know if there is anything that lets the browser talk to the os in any way
> at
> all.  Another solution might be to figure out how to play a sound. It is
> hard to keep up with all of the tools and new developments out there.  It
> seems that google and others are coming up with ways to write to the users
> local hard drive, but what about running some kind of program.  Maybe in
> some kind of limited scope?
>
> tom
>
>
> Matthew Gregory wrote:
> >
> > You can't really.
> > It does depend on what you are trying to achieve though, if you give
> > more detail maybe there is a work around. Perhaps if you start with
> > explaining why do you want to notify the operating system and what do
> > you expect it to do?
> >
> > Matt
> >
> > tsmiller wrote:
> >> Developers,
> >> I have written and added a simple instant messaging feature to my
> >> application and I would like to know how to access the operating system
> >> from
> >> a browser.  I would like to notify the operating system when I receive a
> >> message.  Can someone point me in the right direction?  I would like to
> >> know
> >> what options are available.  Or even if it is possible?  thanks.
> >>
> >> tom
> >>
> >>
> >
> >
> >
> ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> > http://p.sf.net/sfu/devconference
> > _______________________________________________
> > qooxdoo-devel mailing list
> > qooxdoo-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/How-can-I-access-my-os-from-the-web-browser--tp26123794p26134029.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



--
+358 50 486 0721

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel