Hi, Are there any differences between the following code?
1. new Intent(this, MyOtherActivity.class); 2. new Intent(Context.this, MyOtherActivity.class); 3. new Intent(getApplicationContext(), MyOtherActivity.class); I think 1 vs 2 will matter when I'm inside an Activity or inside an anonymous inner class (such as writing a button's onClickListener()). But is there a difference between 2 and 3? Recommendation of one vs the other? Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

