incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-466) Refactor accelerometer native code in WP7
Date Fri, 11 May 2012 21:23:50 GMT

    [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273629#comment-13273629
] 

Jesse MacFadyen commented on CB-466:
------------------------------------

has this approach been implemented in cordova-js already?
                
> Refactor accelerometer native code in WP7
> -----------------------------------------
>
>                 Key: CB-466
>                 URL: https://issues.apache.org/jira/browse/CB-466
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: WP7
>    Affects Versions: 1.6.0
>            Reporter: Filip Maj
>            Assignee: Jesse MacFadyen
>             Fix For: 1.8.0
>
>
> Refactor the Accelerometer class to follow with the Geolocation rewrite sensor API pattern.
> * Add an array of callback IDs (for getCurrent calls) and a Dictionary of watch IDs ->
timer IDs
> * Add {{addWatch}} and {{clearWatch}} actions
> * Refactor class to use a single accelerometer listener that dispatches all stored callback
IDs - should be more efficient

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message