That is one valid way to develop an app, yes. Also, you could perform the web service retrieval/parsing in the background using a Handler or ASyncTask, and store the downloaded data in a database/file so that you don't need to re-download it every time the screen orientation changes.
startActivityforResult() is only needed if you intend to pass data back from your new activity back to the parent one (otherwise you only need startActivity()). Whether you need this depends on your UI design. The answers to your remaining questions are available in the Android developer guide: http://developer.android.com/intl/fr/guide/index.html. Feel free to ask about any specific questions you have about the lifecycle and design patterns mentioned in the guide. On Thu, Jun 3, 2010 at 8:07 AM, mayank bisht <mayank.and...@gmail.com> wrote: > I have an application in which on front screen there are 7 > buttons.Through these seven buttons navigate to different screens. But > on all screens these buttons will be appear in lower portion so how > should I have to develop this application. My way > > 1:- I am creating an activity for starting application as all do > nothing new. > 2:- Then on clicking on any button i again call " > startActivityforResult(intent) " for every button . > 3:- I am just taking data from web services and parsing data and show > it on screens. > > > My Question :- > 1:- So i want to know is this right way or standard way to develop an > application ? > 2:- and what will happen in my application if i develop it in this > way ? > 3:- If it is not correct then plz tell me the way how should I develop > my application > 4:- Is there any design pattern for android application development ? > 5:- where i can found the design patterns ? > > -- > 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 > -- 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