incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: orientationchange event in cordova
Date Thu, 02 Feb 2012 22:04:37 GMT
Do we need a vote thread or something to get API changes/updates approved?
What's the right way to go about this?

In terms of issues and whatnot its clear (docs first, then JS API, then
finally native implementations) but I'm more wondering about the
discussion/voting/API change process.

On 12-02-02 1:58 PM, "Brian LeRoux" <b@brian.io> wrote:

>+1 orientationchange api
>
>(should file a jira to make note of all this in the docs)
>
>On Thu, Feb 2, 2012 at 1:46 PM, Filip Maj <fil@adobe.com> wrote:
>> The deviceorientation event is a W3C spec, whereas the orientationchange
>> event is an apple standard I believe
>>
>> 
>>http://developer.apple.com/library/IOs/#documentation/AppleApplications/R
>>ef
>> erence/SafariWebContent/HandlingEvents/HandlingEvents.html
>>
>> I am generally in favour of following the w3c however I personally like
>> the orientationchange event API better... D:
>>
>>
>> On 12-02-02 12:41 PM, "Jesse" <purplecabbage@gmail.com> wrote:
>>
>>>No, not to that spec. However it is mentioned in the section:
>>>"... may be able to do so with the existing *orientationchange* event."
>>>
>>>Overall, it is a much simpler API where:
>>>a) window.orientation holds the current value of one of  [0,90,-90,180]
>>>b) window fires orientationchange event when it changes
>>>
>>>Currently consistent in BB-WW, iOS, Android, WP7
>>>
>>>In PhoneGap, the ability to generate the event may be governed by other
>>>platform specific ways of defining what orientations the application
>>>supports.
>>>
>>>
>>>
>>>On Thu, Feb 2, 2012 at 11:48 AM, Drew Walters <deedubbu@gmail.com>
>>>wrote:
>>>>
>>>> Is this implemented according to this spec or something different?
>>>>
>>>> http://dev.w3.org/geo/api/spec-source-orientation.html
>>>>
>>>> On Thu, Feb 2, 2012 at 1:43 PM, Filip Maj <fil@adobe.com> wrote:
>>>>
>>>> > Im sure it's all doable on the platforms, the question being posed
>>>>is
>>>> > "should this be part of the core cordova API?"
>>>> >
>>>> > I'm for it.
>>>> >
>>>> > If it's a yay, then we need to
>>>> >
>>>> > 1. Update the docs
>>>> > 2. Update cordova-js
>>>> > 3. Add support to each platform
>>>> >
>>>> > On 12-02-02 11:23 AM, "Jesse" <purplecabbage@gmail.com> wrote:
>>>> >
>>>> > >WP7 also supports this event via PhoneGap + polyfill.
>>>> > >
>>>> > >
>>>> > >On Thu, Feb 2, 2012 at 9:46 AM, Shazron <shazron@gmail.com>
wrote:
>>>> > >
>>>> > >> on iOS it is supported on the UIWebView 4.2.x and greater but
we
>>>> > >> polyfill support for iOS 3.x (which we are planning to remove
>>>>support
>>>> > >> for, don't know exactly when, 1.5 is as good as any time)
>>>> > >>
>>>> > >> On Wed, Feb 1, 2012 at 1:25 PM, Filip Maj <fil@adobe.com>
wrote:
>>>> > >> > Are we supporting this as part of our API? Apparently
iOS
>>>>supports
>>>it
>>>> > >> whereas im pretty sure most other platforms do not.
>>>> > >> >
>>>> > >> > https://issues.apache.org/jira/browse/CB-213
>>>> > >>
>>>> >
>>>> >
>>


Mime
View raw message