Hy Frank, I've done the tutorials, Mark's book, etc. Do you happen to know if there is a way to utilize a single activity and.. sort of like ajax web apps, hide one view and show another without starting another activity? I'm not a fan of handling the various life cycle events for different activities. I've not figured out yet if you absolutely must use different activities for different views, or can you use a single activity and simply swap views as needed? I ask this because it seems to me that at any point, the user may be in any one of your activities.. and I hate the idea of having to implement the pause/resume/create/start/destory methods for each and every activity. I am curious what developers do in this regard. Do they actually copy/paste their code into each method for all their activities.. of course putting activity specific stuff where appropriate? Seems to me using a single activity as the main app lifecycle hook, and simply swapping views would make it easier to manage life cycle events for the app in one place. Perhaps I am lost on why it is necessary to have various activities.. my main concern being duplication of the life cycle handling events depending on where a user is within your app.
Thanks. On Sun, Jan 17, 2010 at 12:37 PM, Frank Weiss <fewe...@gmail.com> wrote: > Sounds like you haven't tried any of the tutorials: > http://developer.android.com/resources/index.html > > On Sun, Jan 17, 2010 at 1:39 AM, Rahul <rahulsak2...@gmail.com> wrote: > >> Hello, I m the new user in Android. >> >> m trying to do one apll in which when we click on Button then control >> goes to next page and on Back button it comes to main 1st page... >> can anybody tell me hw to do this or any link?? >> >> thanks in advance >> >> -- >> 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