Android java modifying keyboard keys
Hi after lots of searching i couldnt find about modifying the value given by a key on android. My app has fields which should only be a valid number value such as -1.9 so instead of limiting it to integers only for input i changed it so that the phone keypad would appear so users wont enter an invalid character.

The app will need to allow users to enter 'E' for large/small values such as 5.9E-10.

Is it possible to modify the "space" button on the phone keypad to output 'E' into the text field and disable the symbols section button only for that particular page?

Using that would make it easy to input very large/small values and to get more accurate answers since i use bigDecimal. The mathContext for number of decimal places is determined automatically by approximation.

Thanks
Android java modifying keyboard keys
===

Hi after lots of searching i couldnt find about modifying the value given by a key on android. My app has fields which should only be a valid number value such as -1.9 so instead of limiting it to integers only for input i changed it so that the phone keypad would appear so users wont enter an invalid character.

The app will need to allow users to enter 'E' for large/small values such as 5.9E-10.

Is it possible to modify the "space" button on the phone keypad to output 'E' into the text field and disable the symbols section button only for that particular page?

Using that would make it easy to input very large/small values and to get more accurate answers since i use bigDecimal. The mathContext for number of decimal places is determined automatically by approximation.

Thanks