Implemented sensor API
[Android] Moved sensor implementation to the right place