Have these in your manifest file under your application
"android:configChanges="orientation|keyboardHidden""
+
orientation="portrait"


-vignesh

On Tue, Jul 28, 2009 at 9:31 PM, Jack Ha <[email protected]> wrote:

>
> I don't believe you can avoid that. Your code just needs to handle it
> correctly.
>
> --
> Jack Ha
> Open Source Development Center
> ・T・ ・ ・Mobile・ stick together
>
> The views, opinions and statements in this email are those of
> the author solely in their individual capacity, and do not
> necessarily represent those of T-Mobile USA, Inc.
>
>
> On Jul 28, 7:07 am, Sundar <[email protected]> wrote:
> > Hi,
> >
> > I have fixed the activity screen orientation to portrait on
> > AndroidManifest.xml file. When I open or close the keyboard the
> > activity gets restarted. How to avoid this restart?
> >
> > Thanks in advance.
> >
>

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