classcodecategory and classtexout are fields of the class. I suppose
that the problem is that....when I change the orientation...it only
keep the negattive button because it is a normal text (no
contextualized of that fields). So when I change the orientation,
classcodecategory and classtextout lost their values. And when it goes
to change the dialog  (for the orientation change) it fails for that
(because those fields are used to show in the dialog). Maybe should I
use sharedprefrences to keep those values?.

About the second one error (showing another times the dialog) I think
I must indicate explicitly to close the previous dialog to force using
onCreateDialog at activity.showDialog... is it right? how can I do it?

On 8 mar, 17:27, TreKing <[email protected]> wrote:
> On Mon, Mar 8, 2010 at 11:02 AM, LeGeNDuS <[email protected]> wrote:
> > When I show it for first time it's showed fine, but when I change the
> > orientation it only keep the "negative button" of the dialog, the rest
> > is empty.
>
> Maybe post the code for showActionDialog()? In particular what
> classcodecategory and classtextout are.
>
> > Apart of that...when I pass to other activity and come again to this
> > one, I need to show again this dialog, but modified, and it always
> > show  the first dialog....
>
> Like I said before:
>
> > And don't forget you have onPrepareDialog to configure the dialog however
> > you need before it's shown.
>
> --------------------------------------------------------------------------- 
> ----------------------
> TreKing - Chicago transit tracking app for Android-powered 
> deviceshttp://sites.google.com/site/rezmobileapps/treking

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