Java android built-in scanner KT50 B2

By Krzysztof Pokrywka

I have a device KT50 B2 which have builtin laser scanner . When focus is on edit text and when I scanned a result goes to edit text . But when something is in edittext a new value is added to old value. how I can do this ? I try set a addTextChangedListener on edit text and save here :

@Override
            public void afterTextChanged(Editable arg0) {
                editText.setText(arg0 +"");
            }

But it nothing happend

Source: Stack Overflow

    

Share it with your friends!

    Fatal error: Uncaught Exception: 12: REST API is deprecated for versions v2.1 and higher (12) thrown in /home/content/19/9652219/html/wp-content/plugins/seo-facebook-comments/facebook/base_facebook.php on line 1273