Can you use the Java Scanner Method to scan the text of a Input Box in any app that uses a keyboard?

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Jan 6, 2019, 7:09:31 PM via Website

Hello, I am developing a keyboard for Android Devices that recognizes any cuss words/ hate words typed by the user and then show an alert. Following the [Envato Tuts+ Tutorial], I was able to develop a regular keyboard that works on Android Devices. I was wondering if it is possible to use the Java Scanner Method to get the Text typed in the text input box. If the text typed in the input box is a bad word/ hate language (How would I make a list of the words to recognize it?), a alert would pop up. To conclude this post, If it is possible use the Java Scanner Method to show a alert when someone types a bad word/ hate language using my keyboard, can someone please help me by showing a example of it? If it is not possible, can someone please tell me a possible way of reading the text typed in a input box?

Be the first to answer
Recommended articles