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

Re: API Requirements umbrella

From: Robin Berjon <robin@berjon.com>
Date: Mon, 5 Oct 2009 17:51:50 +0200
Cc: public-device-apis@w3.org
Message-Id: <61F05468-C46A-41E0-9592-22E2BD2434A7@berjon.com>
To: Peter-Paul Koch <pp.koch@gmail.com>
On Oct 5, 2009, at 12:38 , Peter-Paul Koch wrote:
>> 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.

Agreed.

> 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.

No, they're not, they don't have that degree of granularity.

> 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.

Yes, and I can think of quite a few others. I've added it, thanks!

-- 
Robin Berjon - http://berjon.com/
Received on Monday, 5 October 2009 15:52:24 UTC

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