Added first implementation for accelerometer in Layer.  A bit different than on the objective-c/iPhone version because on that platform the accelerometer events have a well defined method that must be implemented by the specific Layer subclass that wants the event.  On the Java/android platform, a Sensor listener is required for the active activity.
Added first implementation for accelerometer in Layer.  A bit different than on the objective-c/iPhone version because on that platform the accelerometer events have a well defined method that must be implemented by the specific Layer subclass that wants the event.  On the Java/android platform, a Sensor listener is required for the active activity.
agenliuhuan/cocos2d-android,amoikevin/cocos2d-android,talenguyen/cocos2d-android