On Wed, Feb 15, 2012 at 5:49 PM, Weston Weems <[email protected]> wrote:

>  it doesnt even seem there is a decent way to
> test to see if context is
> 1) a valid ui context from which I can pop dialogs, show dialog fragments
> etc
>

Don't use a base Context, use an Activity, which itself is a Context, but
one associated with UI (as opposed to, say, a Service).


> 2) know if the reference to the instance of the activity or whatever
> actually has ties enough to spawn a dialog etc.
>

That is not very clear.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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

Reply via email to