Hi, may be the below link will help you.
http://qtcstation.com/2011/01/getting-info-about-your-currently-running-activities/ On Wed, Mar 30, 2011 at 12:00 PM, Takeyuki UEDA <grenouill.v...@gmail.com>wrote: > Hi, > > Does anyone knows how to get current running Activity from Context? > Because I need Activity in my junit class. > > Best regards, > Takeyuki > > -- > 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 -- 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