Yes..my bad. Ugh. I still don't have it all memorized yet. lol. On Tue, Jan 12, 2010 at 8:38 PM, kavitha sunil <kavithasuni...@gmail.com>wrote:
> onStart() does not have Bundle argument, are you talking about > onCreate(Bundle saveinstance) > > > On Wed, Jan 13, 2010 at 10:04 AM, Kevin Duffey <andjar...@gmail.com>wrote: > >> As Dianne posted.. android takes care of destroying apps for you if you >> don't do it yourself.. when memory/resources is needed. Unlike any other >> platform (that I know of) for phones/tablets, Android is multi-process.. in >> that you can run many programs at once. Unlike a computer OS tho, only the >> top/front Activity is running along with background services (and >> android/linux OS processes). When you do not explicitly finish your app on >> back/home button press, it continues to be a running..yet paused process, >> unless you started a service, in which case it would continue to run. That >> is why in most books/articles you read, the onStart(Bundle bundle) is >> there.. to allow you to resume state from when Android OR the user either >> paused or actually killed your app to regain resources it might have been >> consuming. It's to allow you on the onPaus() to save state that may be >> needed on the onResume or onStart. I could be wrong..still getting my >> bearings on this as well, but onStart() is called when your app first starts >> with NULL passed in. If your app was shut down by Android while it was >> running, then the the onStart() is really a sort of onResume.. only the >> Bundle passed in won't be null. onResume is called when your app was paused >> due to the user pressing back/home or something else..like an incoming phone >> call or sms message or something becomes the front/top activity.. and then >> control returns to your app. >> >> >> On Tue, Jan 12, 2010 at 8:27 PM, Kumar Bibek <coomar....@gmail.com>wrote: >> >>> Even I was confused as to why the process should be running even after >>> I exited my app. But then I realized that I dont have to care about >>> that.' >>> >>> Kumar Bibek >>> http://tech-droid.blogspot.com >>> >>> On Jan 13, 9:07 am, Dianne Hackborn <hack...@android.com> wrote: >>> > That is working as intended, as described here: >>> > >>> > http://developer.android.com/guide/topics/fundamentals.html#proclife >>> > >>> > On Tue, Jan 12, 2010 at 7:08 PM, Android Developer < >>> kavithasuni...@gmail.com >>> > >>> > >>> > >>> > > wrote: >>> > > Hi, >>> > >>> > > I have an application which has one activity. The application is >>> > > launched. When i say back, OnDestory() would be called. This means >>> > > that the activity is being killed. >>> > >>> > > What will happen to the process? Will the process also be killed? But >>> > > when i use ps command i could see the process still running. >>> > >>> > > Will the process not be killed? >>> > > Can someone explain this in detail or provide from reference to get >>> > > information on the same. >>> > >>> > > Regards >>> > >>> > > -- >>> > > 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<android-developers%2bunsubscr...@googlegroups.com> >>> <android-developers%2bunsubscr...@googlegroups.com<android-developers%252bunsubscr...@googlegroups.com> >>> > >>> > > For more options, visit this group at >>> > >http://groups.google.com/group/android-developers?hl=en >>> > >>> > -- >>> > Dianne Hackborn >>> > Android framework engineer >>> > hack...@android.com >>> > >>> > Note: please don't send private questions to me, as I don't have time >>> to >>> > provide private support, and so won't reply to such e-mails. All such >>> > questions should be posted on public forums, where I and others can see >>> and >>> > answer 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<android-developers%2bunsubscr...@googlegroups.com> >>> 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 android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> >> 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 android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > 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 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