From 0344665c790ec5aa2f8bd7f6cd547dd29ee6317c Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Thu, 16 Jul 2009 16:16:58 -0700 Subject: [PATCH] Fixing Accelerometer --- src/com/phonegap/demo/DroidGap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/phonegap/demo/DroidGap.java b/src/com/phonegap/demo/DroidGap.java index f8a51249..b4e350b3 100644 --- a/src/com/phonegap/demo/DroidGap.java +++ b/src/com/phonegap/demo/DroidGap.java @@ -94,11 +94,11 @@ public class DroidGap extends Activity { // The PhoneGap class handles the Notification and Android Specific crap this.gap = new PhoneGap(this, appView); this.geo = new GeoBroker(appView, this); - //this.accel = new AccelListener(this, appView); + this.accel = new AccelListener(this, appView); // This creates the new javascript interfaces for PhoneGap appView.addJavascriptInterface(gap, "Device"); appView.addJavascriptInterface(geo, "Geo"); - //appView.addJavascriptInterface(accel, "Accel"); + appView.addJavascriptInterface(accel, "Accel"); } /**