W3C home > Mailing lists > Public > public-device-apis@w3.org > October 2009

Re: API Requirements umbrella

From: Peter-Paul Koch <pp.koch@gmail.com>
Date: Mon, 5 Oct 2009 12:38:04 +0200
Message-ID: <21e4a1280910050338v63c3e834had9b9d0da558a555@mail.gmail.com>
To: Robin Berjon <robin@berjon.com>
Cc: public-device-apis@w3.org
> I put a rough draft of this document up at:
>
>  http://dev.w3.org/2009/dap/api-reqs/Overview.html

I'm missing one:

Connections

The Connections API must tell you which kinds of connection(s) are
active: wifi, 3G, 2G, etc.
It might also be useful to let it fire online/offline events when
connections are restored or removed.

Or do you think the existing online/offline events are enough for that
job? Even if you do, it is very useful to know what kind of connection
is active.

For instance, the iPhone gives you a warning when you try to download
very large (10Mb+) applications via 3G, and advises you to make a wifi
connection first. To me this seems to be a practical use case.


-- 
-------------------------------------------------------------------
ppk, freelance front-end consultant,
agent, and trainer
http://www.quirksmode.org/about/
------------------------------------------------------------------
Received on Monday, 5 October 2009 10:38:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:39 UTC