If you are using maven for your project is fairly simple with rooted devices
check this wiki :
http://code.google.com/p/maven-android-plugin/wiki/EmmaMaven
it was easy to implement the solution apart the report generation
but if you check the comments of the wiki you will find the solution