You can do it programmatically in your app with I believe
Process.killSelf().  You can do it from the shell by using ps to get
the pid of your process and then using the kill command on that,
however this will only work in the emulator where you can get a root
shell.

On Nov 6, 6:02 pm, forrestxu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have question. For test purpose, I want to kill an activity of an
> android application when it is paused or stopped to simulate the
> android system kill an activity when it is in low resource.
>
> How to it?
>
> Regards,
>
> Forrest
--~--~---------~--~----~------------~-------~--~----~
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