Android 229 Keycode issue : Solved

Hello World,
          I was having one weird issue with an Android device and that is key code value is 229 and I wanted to prevent it.

  • What I wanted to Achieve?
    • The numeric keyboard on android device
    • The keyboard can only press 0-9 digits no dot or no + - or anything
    • limit character to 4 digit
  • What is the problem?
    • I was using onKeyUp or onKeyDown and more, but I was getting 229 or couldn't get the value at all.
We will use the regex to validate the value and on the basis of value, we will set value.

  So let's look at a running example of this:










Comments

Popular posts from this blog

A Ten Year Journey: How SEO PowerSuite Has Kept Its SEO Tools Current

Create Separate Contact Page in Blogger

HACK WEBSITE USING SQLMAP | KALI LINUX - BACKTRACK