Skip to content
sonyericssondev edited this page Apr 13, 2012 · 3 revisions

Tutorial 1 Print input parameters I want to get all the input parameters when my application enters a method. In this case, we use FingerPaint in ApiDemo app from Android SDK as an example to show how we get the input paramters of myView.onTouchEvent(MotionEvent event)

Tutorial 2 Print call reference with return value I want to get the return value when my application call an Android API. In this case, we use FingerPaint in ApiDemo app from Android SDK as an example to show how we get the return value of android.view.MotionEvent.getX() when the application calling the method

Tutorial 3 Print field access I want to get all the values and call stacks when a field is being written, In this case, we use FingerPaint in ApiDemo app from Android SDK as an example to show how we get the values when someone modifying "private float mX, mY;" in MyView class. (it's more useful to get this kind of info on public fields. Anyways, it's just an example)

Clone this wiki locally