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 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to