The tutorial does not exactly say why it crashes on hitting the back button. The crash happens in part2.
the link for part3 is as follows. http://developer.android.com/resources/tutorials/notepad/notepad-ex3.html check out step 1. i see this stack trace. java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=0, data=null} to activity {com.android.demo.notepad2/com.android.demo.notepad2.Notepadv2}: java.lang.NullPointerException On May 5, 11:43 am, Justin Anderson <janderson....@gmail.com> wrote: > If I remember correctly, doesn't that tutorial have more parts to it that > explain why it crashes and the steps needed to fix it? > > ---------------------------------------------------------------------- > There are only 10 types of people in the world... > Those who know binary and those who don't. > ---------------------------------------------------------------------- > > > > On Wed, May 5, 2010 at 8:28 AM, TreKing <treking...@gmail.com> wrote: > > On Tue, May 4, 2010 at 10:24 PM, NeeravA <neerav...@gmail.com> wrote: > > >> Can someone explain why does it crash on hitting the back button. I mean > >> in terms of the lifecycle of the activity. > > > Not without more information. Have you run the tutorial? Does it crash as > > it says? What's the stack trace at that point? > > > ------------------------------------------------------------------------------------------------- > > 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<android-beginners%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/android-beginners?hl=en > > -- > 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 > athttp://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/android-beginners?hl=en -- 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