You have various options... what you have to know:


  You can show AlertDialogs from Activity only


You have various options 


Pass your activity instance as parameter in constructor of other classes... then you can call activity from everywhere
Use notifications (class does not need to be an Activity)
Check this question. otherwise


Get current Activity with Android
What features make one plant able to withstand dry spells better than another with relatively similar structure? For instance, one of my Rudbeckias is wilting from drought at the moment, and an Oenothera next to it is not yet showing signs of dryness.

Or like jewelweed (Impatiens capensis), which wilts even while the soil is damp, in full sun, and ragweed (Ambrosia artemisiifolia), which will grow in very dry locations without being phased.

Is it caused by a faster transpiration rate in some plants than in others?
