Think of an Android app as a website. A single HTML page is an Activity. And "startActivity" is like a link to another HTML page / acitvity. Since every page / activity needs links to navigate the whole website / app you also need the startActivity method in the Activity class.
On Friday, February 1, 2013 3:22:34 PM UTC-6, bob wrote: > > Can someone help me understand why the startActivity method is in the > Activity class? > > I really don't feel like it clearly belongs in any class. > > I basically want to call the function when I don't necessarily have a > handle to an Activity object yet. > > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

