On Nov 4, 10:30 pm, Tim <[email protected]> wrote:
> On Nov 4, 9:02 am, Batuka <[email protected]> wrote:
>
> > i wont
>
> > my activity start withrotatescreen
> > like this ---> setRequestedOrientation
> > (ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
> > its working
> > but if i open the my G1 front side  (it means you will see the
> > keyboard)
> > then my activity starts again
> > how do I troubleshoot it
>
> Perhaps this will 
> help:http://stackoverflow.com/questions/1664472/persisting-a-context-menu-...
>
> I.e. use add   android:configChanges="keyboardHidden|orientation"   to
> your <activity> element in AndroidManifest.xml and then add an empty
> onConfigurationChange() method to your activity class:
>
> @Override
> public void onConfigurationChanged(Configuration newConfig)
> {
>
> }
>
> No idea if that's the right way. Worth a try though.

hey TIM thanks you so match
android:configChanges="keyboardHidden|orientation"
its great its working now my activity no restart and LANDSCAPE thanks

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