added android features and fixed some stuff

+accelerometer
+boundaries