I am facing the same problem.

I was thinking about creating and Activity with a transparent layout
and a AlertDialog  related to it, and then another class that uses
that activity as if it were an alertDialog (when dismiss we would have
to do a activity.finish() call. Like this, it will be always shown at
the front. Of course, this is not the "clean" way i guess... Any
further ideas?

On Mar 9, 9:44 am, Tommaso <[email protected]> wrote:
> Hi Mark,
>
> it is not due to the regexp in the code and the if-else...
> The problem seems to be that this is not the Main Activity, but a
> subactivity!
> When I do the same thing in the main activity, it works.
>
> I have found tons of examples, but always with the easy constellation,
> i.e. when you want to show alerts in the main dialog.
> More, I am now trying to fix this with the Handler, implementing the
> runnable interface on the very activity and trying to work with
> Thrad.class.
>
> Any other ideas? I cannot believe that nobody is facing this
> situation?
>
> Many thanks in advance,
>   Tommaso
>
> On 7 Mrz., 13:59, Mark Murphy <[email protected]> wrote:
>
>
>
> > Tommaso wrote:
> > > The problem is that the dialog does't show!
>
> > You might try a simpler case and build up from there. For example, get
> > rid of the regular expression match. If it then starts working, you know
> > your issue is with the regular expression, not withAlertDialog.
>
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com
> > Android Training in Sweden --http://www.sotrium.com/training.php
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to