Dear Serdel.. * * *If you follow your approach, then when you rotate the screen after setting content of screen C then it will start the * *1st screen A view, which is **not correct. So it is better to start new view with startActivity as suggested.* * * * *
On Sun, Jun 6, 2010 at 1:15 PM, Kevin Duffey <andjar...@gmail.com> wrote: > Why couldn't you have each button on the activity start the next activity? > > > On Sun, Jun 6, 2010 at 12:22 AM, Serdel <adam.lichwierow...@gmail.com>wrote: > >> Thank you for the contribution TreKing. I learned about start new >> activities using the Intent objects. However I don't thing it is >> suitable for my idea. Intent are useful in apps that have one 'menu' >> screen which has many buttons leading to other screens. In my app I >> don't want any menu screen - each screen has only one button leading >> to the next screen(maybe in the future it would have a second one >> working as a 'back' button). So you start with screen A with 1 button, >> you press it and go to screen B with 1 button, you press it and go to >> screen C with 1 button, you press it and return to screen A.This forms >> a kind of 'ring' of screens. So I don't see a way to do it with >> starting new activities. More over I need to pass Java objects holding >> data 'between the screens' and I also don't know how to pass such an >> object to a new activity. Your advice is good and popular but not >> proper for my idea. >> >> -- >> 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