Sendkeyevent getting error

hi i am unable to click camera button using sendkeyevents so please help me

So what i used in my test project was, launch any sample app in inspector and then minimise the app and click on refresh snapshot.

You will see a camera icon on the andorid phone, via inspector find the element on home screen on the phone and use xpath or any other type to click it.

I used this.


Hope this helps.