http://groups.google.com/group/android-developers/browse_thread/thread/1c94a1d6d070b0b0

On Feb 24, 5:14 am, gganesh <[email protected]> wrote:
> hi friends,
> What is the difference between starting an new Activity by case :1 and
> case: 2
>
> case : 1
>
>            Intent i= new Intent("com.android.google.Anyname")
>            startActivity(i);
>
> case: 2
>
>            Intent i = new Intent(this, newActivity.class);
>            startSubActivity(i, ACTIVITY_CREATE);
>
> what is the scenario which decides to chose between those two options
> to start an Activity
> Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to