RE: [Alarm API] Use cases

Hi Marcos,

The way I see it. The application that registered the alarm gets spawned if it is not currently running and the alarm goes off. Then, the "alarm" event is fired. I - indeed - don't think we can currently schedule a notification. All we can do is have the application show the notification when the alarm event is fired.

It would be interested to hear from Jonas on this matter though.

> It's not really clear what is supposed to happen if I'm in another application and an alarm from a different 
> application goes off (I guess it's kinda platform specific, but maybe this can be clarified a little bit?).

Do you mean for e.g. Should the other application get the focus?

Kr,
Christophe DUMEZ.
________________________________________
From: Marcos Caceres [marcosscaceres@gmail.com]
Sent: Monday, February 11, 2013 23:48
To: public-sysapps@w3.org
Subject: [Alarm API] Use cases

The spec says:
> > This specification defines a System Level API to provide access to the device alarm settings, which can schedule a notification or for an application to be started at a specific time.



The above two use cases are not really met by this API: I can't find a way of either creating a notification or starting an application? It's not really clear what is supposed to happen if I'm in another application and an alarm from a different application goes off (I guess it's kinda platform specific, but maybe this can be clarified a little bit?).

--
Marcos Caceres
http://datadriven.com.au




Received on Tuesday, 12 February 2013 07:41:20 UTC