On Fri, Mar 12, 2010 at 1:09 AM, Pria <pri...@gmail.com> wrote: > I want to know that what will happen to my activity incase of an > incoming phone call? >
The exact same thing that will happen if any other app is started over your app. http://developer.android.com/intl/de/reference/android/app/Activity.html#ActivityLifecycle > Will the state of my activity be saved or I have to explicitly save it? > Android will save the state of any views (like the text in a TextView or EditText). You're responsible for saving anything else you need. http://developer.android.com/intl/de/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle) > Another question is that will the activity resume after the call is > disconnected? > If it's the next thing on the stack after the call ends and goes away, yes. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en