application works with float values passed from Android device