setting up android apk and accelerometer