incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject [7/15] android commit: [CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results
Date Thu, 24 May 2012 16:31:08 GMT
[CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration
returns fairly accurate results


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/531efe1e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/531efe1e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/531efe1e

Branch: refs/heads/CordovaWebView
Commit: 531efe1e30f86d33a6a4980b03c68835f803c400
Parents: df89d33
Author: Fil Maj <maj.fil@gmail.com>
Authored: Mon May 14 15:21:41 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Fri May 18 15:22:56 2012 -0700

----------------------------------------------------------------------
 .../src/org/apache/cordova/AccelListener.java      |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/531efe1e/framework/src/org/apache/cordova/AccelListener.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/AccelListener.java b/framework/src/org/apache/cordova/AccelListener.java
index bc8bf17..6ccbeca 100755
--- a/framework/src/org/apache/cordova/AccelListener.java
+++ b/framework/src/org/apache/cordova/AccelListener.java
@@ -237,6 +237,7 @@ public class AccelListener extends Plugin implements SensorEventListener
{
         if (this.status == AccelListener.STOPPED) {
             return;
         }
+        Log.d("ACCEL", "accuracy is now " + accuracy);
         this.accuracy = accuracy;
     }
 


Mime
View raw message