i tried that out... ddms says that the process died...
but when i long press the home button to see the running apps, i see mine as
well...
then y does ddms say that the process was killed???
Is it a bug that a dead process still gets displayed along with other
running apps???
can any one temme y this is happening???

On Tue, May 26, 2009 at 8:35 PM, Mariano Kamp <mariano.k...@gmail.com>wrote:

> I never saw a need for that and don't know what would happen. Try it out.
> My guess would be, that you can kill the processes launched by your user
> id.
>
> On Tue, May 26, 2009 at 4:41 PM, Sujay Krishna Suresh <
> sujay.coold...@gmail.com> wrote:
>
>> thanks.... but if thats the case, why does the sdk provide
>> Process.killProcess(Process.myPid())???
>> & wat does android actually do when i call this method as above???
>>
>> On Tue, May 26, 2009 at 7:51 PM, Mariano Kamp <mariano.k...@gmail.com>wrote:
>>
>>> In short: Don't worry.
>>>
>>> A bit longer: Android manages the apps' states.
>>> The user keeps on doing things, launching tasks, firing intents etc. and
>>> when Android OS doesn't have enough memory left it kills of apps that are in
>>> memory, but don't seem that important anymore, e.g. because the UI is not
>>> visible anymore as the user navigated back to the home screen or to another
>>> app/activity. If you app is needed again Android OS will resurrect you
>>> app/activity. Just implement the proper call backs
>>> (onCreate/onResume/onPause etc.) and your good to go.
>>>
>>> On Tue, May 26, 2009 at 4:16 PM, Sujay Krishna Suresh <
>>> sujay.coold...@gmail.com> wrote:
>>>
>>>> Say i wanna do something like java's System.exit(0)...
>>>> jus to make sure that my application is not running anymore...
>>>> I wanna kill my own app... not other apps... this should be possible...
>>>>
>>>> On Tue, May 26, 2009 at 7:38 PM, Marco Nelissen <marc...@android.com>wrote:
>>>>
>>>>> On Tue, May 26, 2009 at 6:56 AM, Saurav Mukherjee <
>>>>> to.saurav.mukher...@gmail.com> wrote:
>>>>>
>>>>>> how do i kill an android application
>>>>>
>>>>>
>>>>> Why would you want to do that?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Sujay
>>>> Mitch 
>>>> Hedberg<http://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html> - 
>>>> "My fake plants died because I did not pretend to water them."
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>> --
>> Regards,
>> Sujay
>> Frank Lloyd 
>> Wright<http://www.brainyquote.com/quotes/authors/f/frank_lloyd_wright.html> 
>> - "TV is chewing gum for the eyes."
>>
>>
>
> >
>


-- 
Regards,
Sujay
Mitch Hedberg<http://www.brainyquote.com/quotes/authors/m/mitch_hedberg.html>
- "My fake plants died because I did not pretend to water them."

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to