Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7352F92D7 for ; Mon, 16 Apr 2012 23:02:59 +0000 (UTC) Received: (qmail 16626 invoked by uid 500); 16 Apr 2012 23:02:59 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 16604 invoked by uid 500); 16 Apr 2012 23:02:59 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 16595 invoked by uid 99); 16 Apr 2012 23:02:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 23:02:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2012 23:02:58 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E5D1C39AD6E for ; Mon, 16 Apr 2012 23:02:16 +0000 (UTC) Date: Mon, 16 Apr 2012 23:02:16 +0000 (UTC) From: "Filip Maj (Updated) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <352973414.30825.1334617336942.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <2049491049.1100.1333912218167.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CB-466) Refactor accelerometer native code in WP7 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Filip Maj updated CB-466: ------------------------- Fix Version/s: (was: 1.7.0) 1.8.0 Moving to 1.8, what with 1.7 being a bug-fix-plus-docs release. > Refactor accelerometer native code in WP7 > ----------------------------------------- > > Key: CB-466 > URL: https://issues.apache.org/jira/browse/CB-466 > Project: Apache Callback > 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