Re: [b2g] Hardware enable/disable switch and mozSettings, a complication and solution

2015-01-05 Thread Jonas Sicking
On Tue, Dec 30, 2014 at 7:56 PM, Tim Guan-tin Chien wrote: > On Wed, Dec 31, 2014 at 10:47 AM, Jonas Sicking wrote: >> On Mon, Dec 29, 2014 at 11:42 PM, Tim Guan-tin Chien >> wrote: >>> I just talk to Hsin-Yi offline and I would like to make some >>> clarification here, by means of describing st

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Jonas Sicking
On Mon, Jan 5, 2015 at 3:16 PM, Kevin Grandon wrote: > So now the other question, is there any advantage of using mozAlarms over > sync? Should mozAlarm usage be deprecated? If you're building a calendar or alarm clock app which needs to take an action at a given wall-clock time, then user mozAla

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Fabrice Desré
wifiOnly == false means that the sync signal fires even if you're on a data connection that is not wifi. I don't know what the implementation does when there is no network available at all. Also the implementation backend is very different. mozAlarms uses low level HAL support to let the device go

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Kevin Grandon
Sure you don't need to care about network status, and I'd imagine that's the case whenever wifiOnly is set to false? It seems like we're adding a second implementation which provides enhanced functionality compared with mozAlarms. That is all well and good, but having to maintain both and answer t

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Fabrice Desré
On 01/05/2015 03:16 PM, Kevin Grandon wrote: > So now the other question, is there any advantage of using mozAlarms > over sync? Should mozAlarm usage be deprecated? The semantics are very different. Why should we need to care about network status to ring an alarm in the morning? RequestSync will

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Kevin Grandon
So now the other question, is there any advantage of using mozAlarms over sync? Should mozAlarm usage be deprecated? Best, Kevin On Mon, Jan 5, 2015 at 3:08 PM, Jonas Sicking wrote: > On Mon, Jan 5, 2015 at 12:14 PM, Michael Henretty > wrote: > > Thanks for the heads up Baku! > > > > What is t

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Jonas Sicking
On Mon, Jan 5, 2015 at 12:14 PM, Michael Henretty wrote: > Thanks for the heads up Baku! > > What is the advantage of using the syncAPI over mozAlarms? It means that we can avoid sending the system message if the user is not currently online. And that we can send the message more quickly once the

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Gareth Aye
For starters, it seems as if oneShot allows apps that want to be woken up at a regular interval to not have to continually add alarms to mozAlarms. The wifiOnly option is useful too (say you're calendar or email and have a setting to periodic sync <> wifi is available). On Mon, Jan 5, 2015 at 3:30

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Jan Varga
I guess, better battery life ? On 05/01/15 21:14, Michael Henretty wrote: Thanks for the heads up Baku! What is the advantage of using the syncAPI over mozAlarms? Thanks, Michael On Mon, Jan 5, 2015 at 5:52 AM, Andrea Marchesini mailto:amarches...@mozilla.com>> wrote: Hi all, I

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Michael Henretty
Thanks for the heads up Baku! What is the advantage of using the syncAPI over mozAlarms? Thanks, Michael On Mon, Jan 5, 2015 at 5:52 AM, Andrea Marchesini wrote: > Hi all, > > I just landed RequestSync API, an API for b2g only that allows apps to > schedule tasks. > Here the webIDL: > > > ht

Re: [b2g] RequestSyncAPI

2015-01-05 Thread Toby Kurien
Just a comment - treating "wifi" as a special case is perhaps not the best strategy. It might be better to have "unmeteredConnectionOnly", because the wifi connection could be to a mobile hotspot. This would of course require the user to set up wifi/bluetooth PAN/etc. connections as metered or

Re: [b2g] Building for the Alcatel One Touch Fire

2015-01-05 Thread Martin Jernberg
yea installed that worked fine but would be nice, if there could be some rom with the swedish version of gaia, tought az was working on it but might be wrong also thanks Gabriele for the links :) //Martin On Tue, Dec 23, 2014 at 6:44 PM, Jonathan Mejías wrote: > Had that team before having my z

[b2g] Checkouts failing

2015-01-05 Thread Paul Scott
Hi, Trying to do a repo sync to update some platforms code, and it keeps failing with a 403 on certain linaro repositories. Any scheduled downtime, or should I just be patient? -- Paul ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mo

[b2g] RequestSyncAPI

2015-01-05 Thread Andrea Marchesini
Hi all, I just landed RequestSync API, an API for b2g only that allows apps to schedule tasks. Here the webIDL: https://hg.mozilla.org/integration/mozilla-inbound/file/f60d4ad64070/dom/webidl/RequestSyncScheduler.webidl A simple example is this: navigator.sync.register('foobar', { minInterv

[b2g] Some CalDAV issues

2015-01-05 Thread Sébastien NOBILI
Hi, This message is not fully dev-related but nor really user-related… I recently bought an Open C and spent some time to connect it to my own services (IMAP, SMTP & CalDAV). I've got some issues with CalDAV. The DAV server is radicale running on a Debian Wheezy system. I've got two issues wit

[b2g] Gaia is reopen Re: Gaia is Closed

2015-01-05 Thread Carsten Book
Hi, Problem is resolved and gaia is reopened! - Tomcat On Mon, Jan 5, 2015 at 8:24 AM, Carsten Book wrote: > Hi, (and happy new year everyone) > > currently all trees are closed due to Releng Issues found during the > weekend - https://bugzilla.mozilla.org/show_bug.cgi?id=1117620 and > because

Re: [b2g] Import databases to simulator

2015-01-05 Thread Gabriele Svelto
Hi Nino, On 03/01/2015 17:06, Nino Vranešič wrote: > Any tip how to import SMS messages into Firefox OS simulator? You can pull the SMS sqlite database from your device by retrieving the following file & directory: /data/local/storage/permanent/chrome/idb/226660312ssm.sqlite /data/local/storage