Can Android discern between human click and virtual screen click? -


i testing virtual pin pad credit card pin verification on android device credit card nfc , chip slot. following vendor demo , away computer device attached use teamviewer , vysor interact android device. once start pinpad process pin buttons respond real human click/touches never clicks on virtual screen using vysor. check image:

enter image description here

i can click start , exit buttons without problem have regular view click listeners:

findviewbyid(fcontext.getresourceid("id.buttonstart")).setonclicklistener(new view.onclicklistener() {             @override             public void onclick(view v) {                   ((textview) findviewbyid(fcontext.getresourceid("id.textview"))).settext("");                 new pinthread().start();             }         });         findviewbyid(fcontext.getresourceid("id.buttonexit")).setonclicklistener(new view.onclicklistener() {             @override             public void onclick(view v) {                 finish();             }         }); 

but can not click pin numbers button or cancel,confirm,clear buttons. passed core this:

 mcore.generatepinpreparedata(result, btnb1, btnb2, btnb3, btnb4, btnb5,                             btnb6, btnb7, btnb8, btnb9, btnb0, btncancel,                             btnconfirm, btnclean,  (activity) mcontext); 

and process started this:

ret = mcore.startpininput(60, "app1", 1, 4, 12, 0x01, formatdata, pan.length(), pan.getbytes("utf-8"), callback); 

i have tried wihtout using teamviewer, vysor on local machine , neither works, not teamviewer problem.

could vysor simulates clicks rather touchs events or there way core process able discern between human touch , virtual one?


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -