Android automatic perimetric mode and movement