On Jun 15, 10:32 pm, Natraj <[email protected]> wrote:
> Do we need to have any special permission to kill other process from
> our process ? Or is it a built issue ? can you please suggest some
> possible way to get Hprof dump for other processes from application
> code?.

You're running up against the Linux user ID mechanism.  I'm guessing
it works from the shell because you're running as root.

There is no way to cause an arbitrary process to dump its heap from an
app.  If there were, there would be a number of really bad security
implications.

What are you hoping to accomplish?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
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-developers?hl=en

Reply via email to