One activity is starting another activity. For example if you have two
screens in your UI, the main screen class X and the settings screen
class Y. While in X, the user selects a menu item to go to the
settings screen, so X launches Y. When Y is done, X reappears. You can
read more about it here: 
http://developer.android.com/reference/android/app/Activity.html#StartingActivities


Yusuf Saib
Android
·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 6, 10:07 pm, dhuli murali <[email protected]> wrote:
> hi i am not understnding this code.can anyone help me and explain me this
> code .thank u
>
> /* Create an Intent to start * MySecondActivity. */
>
> Intent i = *new* Intent( StartingSubactivities.*this*,SecondActivity.*class*
> *)*;
>
> /* Send intent to the OS to make
>
> * * it aware that we want to start
>
> * * MySecondActivity as a SubActivity. */
>
> startSubActivity(i, 0x1337);
--~--~---------~--~----~------------~-------~--~----~
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