Getting notification / listener when action is performed (chimpChat / monkeyrunner tool)

Posted by Dr. AtZe on Stack Overflow See other posts from Stack Overflow or by Dr. AtZe
Published on 2012-11-12T10:20:21Z Indexed on 2012/11/12 11:00 UTC
Read the original article Hit count: 227

I want to get a notification if someone has performed an action in an android app from outside of the app. I don't want to make any (android) code changes. To do the actions I use the Chimpchat.jar, the .jar that the monkeyrunner tool uses. To be clear: Can I get a notification or register listeners on components from outside of the app? e.g.

  1. Run my android app
  2. My java application links into the device with chimpChat via the adb
  3. The user touches a button
  4. My java application gets a notification what was performed => am I able to get that information? If not, am I able to get the information on which position the tab was?

Hopefully it's clear what I want to do.

Thanks, soeren

© Stack Overflow or respective owner

Related posts about java

Related posts about android