[Android] Steps must be int or Java will crash

Fix #291

I didn't test this however it should work. Java will crash if steps is not an int.