public void setValueX(float x) {
            lastValueX = x;
            textMouseAnalog.setText(
                    String.valueOf(analogFormat.format(lastValueX)) + ", " + String.valueOf(analogFormat.format(lastValueY)));
            textCursorLocation.setText(
                    String.valueOf(locationFormat.format(inputManager.getCursorPosition().getX())) + ", " +
                            String.valueOf(locationFormat.format(inputManager.getCursorPosition().getY())));
        }
Test for Android Touch Input integration into jME3.

@author iwgeric
jme3-android-examples/src/main/java/jme3test/android/TestAndroidTouch.java