Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TIZEN SDB Shell - input tap or touch screen command

I have experience in Android , just started in Tizen. I know in Android for click/touch screen following command works.

adb shell input tap x y

Now in Tizen input command is not available.

I found fMBT project's tizen-agent , through which we can call:

sendHwFingerDown(x, y, button)

I want to know If there is any SDB or SDB Shell command for the same , to send events like click , touch up , touch down , drag , volume up , volume down , back , menu , power etc to the Tizen Device.

Thanks!

like image 392
Aduait Pokhriyal Avatar asked Nov 10 '22 06:11

Aduait Pokhriyal


1 Answers

I have looked into the code, and it seems like you need to have root permissions on your device to use it. Basically it uses /dev/input/blabla, which doesn't work from plain sdb shell for my Gear 2 Neo (permission denied).

I work with Gear 2 Neo and for this device sdb doesn't allow root access, unless device is rooted.

My Gear is not rooted, so I cannot check if the fMBT code works. But if you root your device, it could work.

like image 187
Konstantin Avatar answered Nov 27 '22 10:11

Konstantin