Thanks for that.
Previously, I got some misunderstand.
I think Activity will use more resources , so that is more prefer to switch
view rather than Activity.

On Sat, Aug 1, 2009 at 12:34 AM, Balwinder Kaur (T-Mobile) <
[email protected]> wrote:

>
> It should be just fine to create a separate Activity for each screen
> and use Intents to invoke each Activity.
>
> From the official documentation
> http://developer.android.com/guide/topics/fundamentals.html
> :
>
> An activity presents a visual user interface for one focused endeavor
> the user can undertake. For example, an activity might present a list
> of menu items users can choose from or it might display photographs
> along with their captions. A text messaging application might have one
> activity that shows a list of contacts to send messages to, a second
> activity to write the message to the chosen contact, and other
> activities to review old messages or change settings. Though they work
> together to form a cohesive user interface, each activity is
> independent of the others. Each one is implemented as a subclass of
> the Activity base class.
>
> Balwinder Kaur
> Open Source Development Center
> ·T· · ·Mobile· stick together
>
> The views, opinions and statements in this email are those of the
> author solely in their individual capacity, and do not necessarily
> represent those of T-Mobile USA, Inc.
>
> On Jul 30, 9:03 pm, Michael Leung <[email protected]> wrote:
> > I am a new to Android as well, but as far as I know, changing the view is
> > lighter than an activity.
> >
> >
> >
> > On Fri, Jul 31, 2009 at 12:41 PM, tinyang <[email protected]> wrote:
> > >  Well, I was hoping to make the only existing activity one of many
> > > activities the user could choose from the main menu screen eventually.
>  That
> > > is why I was thinking to add a main menu screen from which I could use
> > > buttond to add sccess to the other activity choices for the app.  I'm
> open
> > > to suggestions though.
> >
> > >  ------------------------------
> > > *From:* [email protected] [mailto:
> > > [email protected]] *On Behalf Of *Michael Leung
> > > *Sent:* Thursday, July 30, 2009 9:29 PM
> > > *To:* [email protected]
> > > *Subject:* [android-beginners] Re: Change an app
> >
> > >  should you change the view? instead of changing to another activity
> >
> > >  On Fri, Jul 31, 2009 at 11:51 AM, tinyang <[email protected]>
> wrote:
> >
> > >>  I have an app I wrote for Android.  It has only one activity (one
> java
> > >> file) which is the only screen.  I would like to add a main menu
> screen
> > >> which has a button that can take the user to the already existing
> activity.
> > >> What is the best way to do that?  Thanks.
> >
> > >> --
> > >> J
> > >> P Please don't print this e-mail unless you really need to.
> >
> > >>  <http://www.crossloop.com/Teenah>
> >
> > >> --
> > >> Regards,
> > >> Michael Leung
> > >>http://www.itblogs.info
> > >>http://www.michaelleung.info
> >
> > >> No virus found in this incoming message.
> > >> Checked by AVG -http://www.avg.com
> > >> Version: 8.0.169 / Virus Database: 270.13.24/2255 - Release Date:
> > >> 7/30/2009 6:09 PM
> >
> > --
> > Regards,
> > Michael Leunghttp://www.itblogs.infohttp://www.michaelleung.info
>  >
>


-- 
Regards,
Michael Leung
http://www.itblogs.info
http://www.michaelleung.info

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to