Re: [b2g] Sensor data flow for light sensor

2013-10-15 Thread mozloverinweb
Hi, Any further comments for these questions? ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Sensor data flow for light sensor

2013-10-14 Thread mozloverinweb
in the case of using webidl, the control path is the same but the data path will be changed. The idl(DOM Event) will be replaced by webidl. Is my thinking correct? Thanks ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/l

Re: [b2g] Sensor data flow for light sensor

2013-10-13 Thread mozloverinweb
Thanks Marco. For my previous post, I found that there is a .idl in gaia/xulrunner-sdk/idl/nsIDOMDeviceLightEvent.idl Is this the dom refered to the Sensor pdf page 5 nsIDOMDevicexxxEvent? Is this correct? ___ dev-b2g mailing list dev-b2g@lists.mozi

Re: [b2g] Sensor data flow for light sensor

2013-10-13 Thread Marco Chen
件者: dev-b2g@lists.mozilla.org 寄件備份: 2013 10 月 12 星期六 上午 7:23:05 主旨: Re: [b2g] Sensor data flow for light sensor Hi, (Let us discuss "before webidl" topic for now.) When I searched "nsIDOMDevicexxxEvent" in the source. I only found 3 events which are nsIDOMDevic

Re: [b2g] Sensor data flow for light sensor

2013-10-13 Thread mozloverinweb
I found that there is a .idl in gaia/xulrunner-sdk/idl/nsIDOMDeviceLightEvent.idl Is this the dom refered to the Sensor pdf page 5 nsIDOMDevicexxxEvent? I assume it is not because xulrunner should all most phased out in B2G. Further, I dont find any simple event related to devicelight in event

Re: [b2g] Sensor data flow for light sensor

2013-10-13 Thread mozloverinweb
Hi, Marco or someone else, do you have any idea about my question? thanks ___ dev-b2g mailing list dev-b2g@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-b2g

Re: [b2g] Sensor data flow for light sensor

2013-10-11 Thread mozloverinweb
Marco Chen於 2013年10月9日星期三UTC+8上午11時59分53秒寫道: > Hi, > > > > You can refer to Bug 915813 which transferred some sensor events to > GENERATED_EVENTS_WEBIDL_FILES. > > Before webidl, we declared nsIDOMDeviceXXXEvent then generated simple event > by event_impl_gen.conf.in. > > After webidl, we ca

Re: [b2g] Sensor data flow for light sensor

2013-10-08 Thread Marco Chen
GENERATED_EVENTS_WEBIDL_FILES. Sincerely yours. - 原始郵件 - 寄件者: mozloverin...@gmail.com 收件者: dev-b2g@lists.mozilla.org 寄件備份: 2013 10 月 9 星期三 上午 11:31:26 主旨: Re: [b2g] Sensor data flow for light sensor Marco Chen於 2013年10月9日星期三UTC+8上午10時21分55秒寫道: > Hi, > > > > You can refer to the document h

Re: [b2g] Sensor data flow for light sensor

2013-10-08 Thread mozloverinweb
--- > > 寄件者: mozloverin...@gmail.com > > 收件者: dev-b2g@lists.mozilla.org > > 寄件備份: 2013 10 月 9 星期三 上午 6:14:04 > > 主旨: [b2g] Sensor data flow for light sensor > > > > Is there any dom for Sensor apps (Devicelight sensor for example) to receive > the

Re: [b2g] Sensor data flow for light sensor

2013-10-08 Thread Sam Lin
--- > > 寄件者: mozloverin...@gmail.com > > 收件者: dev-b2g@lists.mozilla.org > > 寄件備份: 2013 10 月 9 星期三 上午 6:14:04 > > 主旨: [b2g] Sensor data flow for light sensor > > > > Is there any dom for Sensor apps (Devicelight sensor for example) to receive > the

Re: [b2g] Sensor data flow for light sensor

2013-10-08 Thread Marco Chen
Hi, You can refer to the document here. https://docs.google.com/file/d/0BxKpB0y8NZSHSkRxRHdpRkp5bTg/edit?usp=sharing Thanks, Sincerely yours. - 原始郵件 - 寄件者: mozloverin...@gmail.com 收件者: dev-b2g@lists.mozilla.org 寄件備份: 2013 10 月 9 星期三 上午 6:14:04 主旨: [b2g] Sensor data flow for light sensor

[b2g] Sensor data flow for light sensor

2013-10-08 Thread mozloverinweb
Is there any dom for Sensor apps (Devicelight sensor for example) to receive the data? nsDOMDeviceMotionEvent works for some sensors but for device light sensor. I am curious to know the data flow about how light value to be received from nsDeviceSensors.cpp Thanks for any clue. ___