Google "onConfigurationChanged" and copy the code that checks if
you're in landscape or portrait, into this. You'd want to save the
time in onCreate in a static variable.



On May 30, 2:16 pm, shanmu nathan <[email protected]> wrote:
> There is no bug raises when i changing the orientation.. when i changing the
> orientaion the activity is restarted..
>
>
>
>
>
>
>
>
>
> On Mon, May 30, 2011 at 11:32 AM, kaushik p <[email protected]> wrote:
> > ok Kaushik Pendurthi. Now what is my need is when i changing the
> > orientation my apps is work continuesly not from the begining...
> > " according to my understanding this statement means , you are trying to
> > change the orientation while the app is running " try to make set the
> > orientations in code for ex : most media players  only open in landscape
> > mode no matter which position you hold . "
>
> > Eg.. Normally i run that app in portrait then time picker shows current
> > value for instance 12:10. i change some values like 21:12. If i changing the
> > orientation the Time picker value also changed to current value thats the
> > problem..
> > "all i understand here is there is a bug which rises when you do something
> > , please be clear , i wont be able to  help even if i want to ."
>
> > On Mon, May 30, 2011 at 11:20 AM, shanmu nathan <[email protected]>wrote:
>
> >> ok Kaushik Pendurthi. Now what is my need is when i changing the
> >> orientation my apps is work continuesly not from the begining...
>
> >> Eg.. Normally i run that app in portrait then time picker shows current
> >> value for instance 12:10. i change some values like 21:12. If i changing 
> >> the
> >> orientation the Time picker value also changed to current value thats the
> >> problem..
>
> >> On Mon, May 30, 2011 at 11:08 AM, kaushik p <[email protected]>wrote:
>
> >>> are you trying to change the orientation when your app is running or at
> >>> the beginning ? Please be more clear when asking questions
>
> >>> On Mon, May 30, 2011 at 11:02 AM, shanmu nathan 
> >>> <[email protected]>wrote:
>
> >>>> Hi guys, Good Morning
> >>>>                 I need help from yours. I develop one apps that time i
> >>>> met one problem. That is when ever i change that orientation my apps 
> >>>> running
> >>>> from starting i dnt knw how to overcome that problem...
> >>>> I wrote separate xml's for portrait and landscape.. can anyone help me
> >>>> pls,,,, its very urgent...
>
> >>>> --
> >>>> With Regards,
>
> >>>> SHANMUGANATHAN. A
> >>>> Software Engineer Trainee,
> >>>> Citrisys Solution,
> >>>> Phone: +91.44.22311173
> >>>> Mail To: [email protected]
>
> >>>>  --
> >>>> 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
>
> >>> --
> >>> Thanks&Regards
> >>> Kaushik Pendurthi
>
> >>>http://kaushikpendurthi.blogspot.com/
>
> >>> --
> >>> 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
>
> >> --
> >> With Regards,
>
> >> SHANMUGANATHAN. A
> >> Software Engineer Trainee,
> >> Citrisys Solution,
> >> Phone: +91.44.22311173
> >> Mail To: [email protected]
>
> >>  --
> >> 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
>
> > --
> > Thanks&Regards
> > Kaushik Pendurthi
>
> >http://kaushikpendurthi.blogspot.com/
>
> > --
> > 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
>
> --
> With Regards,
>
> SHANMUGANATHAN. A
> Software Engineer Trainee,
> Citrisys Solution,
> Phone: +91.44.22311173
> Mail To: [email protected]

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