[
https://issues.apache.org/jira/browse/CB-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anis Kadri resolved CB-875.
---------------------------
Resolution: Fixed
override
> Refactor accelerometer native code in Bada
> ------------------------------------------
>
> Key: CB-875
> URL: https://issues.apache.org/jira/browse/CB-875
> Project: Apache Cordova
> Issue Type: Sub-task
> Components: Bada
> Affects Versions: 1.7.0
> Reporter: Anis Kadri
> Assignee: Anis Kadri
> Fix For: 1.9.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