Installing the monkeytalk Android agent
Open your android project in eclipse and follow these instructions.
- Convert your android project to aspectj
- MonkeyTalk-agent.jarCan be found in the "agents" folder in the monkeytalk package you downloaded earlier, and can be downloaded here. The exact name of the jar might vary depending
On the version, but it shoshould always start with "monkeytalk-agent ".
- Create a "Libs" folder in your android project, if you don't already have one.
- Copy the. jar into the libs folder
- Right click onMonkeyTalk-agent.jar> Aspectj tools> Add to aspectpath.
- Update your androidmanifest. XML to include the following two permissions:
- Android. Permission. Internet
- Android. Permission. get_tasks
- Update the project properties (right-click on the project> Properties> JAVA build path), select the order and export tab, and check the checkbox next to the aspectj Runtime Library to export it:
- Deploy your application to an Android device or emulator.