That's the thing.  You don't show any dialogs outside of an activity.
This is not good practice, log the trace.
If you want to be messy, you can have a singleton to which activities
register to.
Then call functions in that singleton.

On Mon, Sep 19, 2011 at 3:33 AM, JoachimG <[email protected]> wrote:
> Hi ppl!
>
> Is there a way to show a error dialog deep within the system of my
> app?
>
> Because only an activity is able to call showdialog i have to throw
> all excetions out until i can use a try catch with showdialog in an
> activity. Is there a way to call showdialog deeper in the system of an
> application. For example in a class that is not extended by activity.
>
> --
> 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



-- 
~ Jeremiah:9:23-24
Android 2D MMORPG: http://solrpg.com/, http://www.youtube.com/user/revoltingx

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