public void Run() { _lastUpdate = DateTime.Now; // Get the Accelerometer going //Accelerometer.SetupAccelerometer(); // FIXME: Accelerometer breaks the applications with a random NullPointerException view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds)); }
public void Run() { _lastUpdate = DateTime.Now; // Get the Accelerometer going Accelerometer.SetupAccelerometer(); view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds)); }
public void Run() { _lastUpdate = DateTime.Now; // Get the Accelerometer going //TODO umcomment when the following bug is fixed // http://bugzilla.xamarin.com/show_bug.cgi?id=1084 // Accelerometer currently seems to have a memory leak //Accelerometer.SetupAccelerometer(); view.Run(FramesPerSecond / (FramesPerSecond * TargetElapsedTime.TotalSeconds)); }