You don't just "exit" apps on Android,

The system does it for you,

kris

On Tue, Aug 28, 2012 at 3:47 AM, Haris P P <[email protected]> wrote:

> Hai  Kristopher I didn't get your point......
>
> On Tue, Aug 28, 2012 at 12:32 PM, Kristopher Micinski <
> [email protected]> wrote:
>
>> Hopefully you don't take this badly...
>>
>> Unfortunately this is the case where, if you want to exit the app, in
>> Android,
>>
>> "it just doesn't work like that,"
>>
>> kris
>>
>>
>> On Tue, Aug 28, 2012 at 12:34 AM, Haris P P <[email protected]> wrote:
>>
>>> Thanks for your reply.............
>>>
>>> On Mon, Aug 27, 2012 at 8:35 PM, Justin Anderson 
>>> <[email protected]>wrote:
>>>
>>>> Now I am following the second one...And its working perfectly.......
>>>>>
>>>>
>>>> If it is working, then why change it?  If it ain't broken don't fix
>>>> it...
>>>>
>>>>
>>>> And also for go back to the previous layout I am just pressing the back
>>>>> button.....Do I need to call the finish() method....Or the android do it
>>>>> automatically..........
>>>>>
>>>>
>>>> You do not need to call finish() yourself in this scenario.
>>>>
>>>>
>>>> And I noticed that when close the application by calling finish() the
>>>>> program is exiting. But In Application->mange application it showing an
>>>>> option for "force stop"..
>>>>>
>>>>
>>>> This is how Android works... just let it work its magic.
>>>>
>>>>
>>>> Is there any method to  exit  application properly ?.........
>>>>>
>>>>
>>>> No...
>>>>
>>>> Thanks,
>>>> Justin Anderson
>>>> MagouyaWare Developer
>>>> http://sites.google.com/site/magouyaware
>>>>
>>>>
>>>>
>>>> On Mon, Aug 27, 2012 at 5:43 AM, Renuka Deshpande <
>>>> [email protected]> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> Let OS kill the application. see these
>>>>> http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon
>>>>>
>>>>>
>>>>> http://stackoverflow.com/questions/5100728/how-to-force-stop-my-android-application-programatically
>>>>>
>>>>>
>>>>> http://stackoverflow.com/questions/6330200/how-to-quit-android-application-programmatically
>>>>>
>>>>>
>>>>> When you press back the current activity is automatically finish and
>>>>> removed from stack, so when you start same activity only one instance will
>>>>> be there. You dont need to finish activity programmatically yourself when
>>>>> you press back, Os does that.
>>>>>
>>>>>
>>>>> On Mon, Aug 27, 2012 at 3:44 PM, Haris <[email protected]> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Hai all
>>>>>>
>>>>>>   For my application I am using more than one layout, and I nedd to
>>>>>> switch from layout to layout  ....
>>>>>> I think there are two methods for this.
>>>>>>
>>>>>> 1. Using setContentView switch to new layout.
>>>>>> 2. Or by creating new activity switch to new layout.
>>>>>>
>>>>>> Now I am following the second one...And its working perfectly.......
>>>>>>
>>>>>> So which one I should use for my application...?
>>>>>>
>>>>>> And also for go back to the previous layout I am just pressing the
>>>>>> back button.....Do I need to call the finish() method....Or the android 
>>>>>> do
>>>>>> it automatically..........
>>>>>>
>>>>>> And I noticed that when close the application by calling finish() the
>>>>>> program is exiting. But In Application->mange application it showing an
>>>>>> option for "force stop"..
>>>>>>
>>>>>> Is there any method to  exit  application properly ?.........
>>>>>>
>>>>>> Thanks..............
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>> Renuka
>>>>>
>>>>> --
>>>>> 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
>>>>>
>>>>
>>>>  --
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> * Haris PP*
>>>
>>>   *09975847673(pune)
>>>        09744593643(kerala)*
>>>
>>>
>>>  --
>>> 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
>>
>>
>>  --
>> 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
>>
>
>
>
> --
> * Haris PP*
>
>   *09975847673(pune)
>        09744593643(kerala)*
>
>
>  --
> 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
>

-- 
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