On Monday, July 18, 2011 4:20:47 PM UTC-4, Experand wrote:
>
>
> I have instrumented dalvik VM to intercept API calls. To get the API calls 
> of a particular application, I am printing the process ID in the print 
> statements, filtering out unwanted calls. However, what I would like to have 
> is this: print only those API calls that are part of the source code of the 
> application, and get rid of the library API calls that are generated in the 
> output. Is there any way that I can distinguish between API calls in the 
> source code of the application and the android library API calls (which are 
> part of the same process, and hence have the same process ID) ? 
>
 
You might be able to learn how to do this by finding the code that prints 
java-level stack traces when things go wrong and seeing how it determines 
method, package, and file names.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/android-discuss/-/jfowLsmwin8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to