Application

BUGLevel

created by Bug Labs teamaroman on April 17th, 2008

App Image
  • 2 Comments
  • 607 views / 396 downloads
  • public
  • Average Rating Rating_fullRating_fullRating_fullRating_fullRating_full
    (2 votes)

Implements a level using the accelerometer in the BUGmotion module. Warning: Using APIs not yet available from SDK.

2 Comments

finsprings

finsprings said on June 20th, 2008 08:01:00 PM

Love it, Angel! A great example of what you can do with a status bar region too. One question: It looks like the center-scale setting is based on the orientation of the Bug on startup. So for example, if I hold it at 45 degrees and power it on, it will show level as 45 degrees. Is that a feature of the application or is that just how the accelerometer in the bug works?

finsprings

finsprings said on June 23rd, 2008 07:51:07 PM

Looks like it's by design in the app: AccelerometerSample offset = getOffsetSample(createAccelerometerInputStream());

Login to add a comment.