2

i have refer This i have same problem, i also follow defined solution but i cant get success to view horizontally Landscape mode. any idea why this thing accure?

manifest file ::

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.saneshApp"
  android:versionCode="1"
  android:versionName="1.0">
<uses-sdk android:minSdkVersion="8" />

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".saneshApp" android:screenOrientation="landscape" android:configChanges="orientation|keyboardHidden" 
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
 <activity android:name=".animation_page" ></activity>
</application>
</manifest>

Update:: enter image description here

Update enter image description here

Community
  • 1
  • 1
Nikunj Patel
  • 21,853
  • 23
  • 89
  • 133
  • Are you using android vnc viewer? I don't understand what you want to do. You say this in your manifests `android:screenOrientation="landscape"` why do you expect to see portrait mode? – Kaj Jul 22 '11 at 07:21
  • no , i am use android default avd 2.2 – Nikunj Patel Jul 22 '11 at 07:23
  • What is landscape? Do you want to use landscape? Do you want to use portrait? Do you want to change the orientation of the emulator? You do that by pressing ctrl + f12. – Kaj Jul 22 '11 at 07:26
  • Your question is not very clear. Do you mean your emulator is not in landscape mode? Maybe this http://stackoverflow.com/questions/2618967/switching-to-landscape-mode-in-android-emulator can help you. – Adinia Jul 22 '11 at 07:27
  • i have press ctrl + f12 but no effect in emulator, it is same display in link – Nikunj Patel Jul 22 '11 at 07:27
  • i want to display it only landscape mode – Nikunj Patel Jul 22 '11 at 07:28
  • From your image, seems like your application IS already looked in landscape mode. – Adinia Jul 22 '11 at 07:33
  • ya you are right but it is not look horizontally portrait. it is currently looking in vertically portrait – Nikunj Patel Jul 22 '11 at 07:36
  • i would like to show my app, you can show in second image. – Nikunj Patel Jul 22 '11 at 07:41
  • Then, I understand your problem is not with the application(there is nothing to do in your manifest), but just with the emulator, so refer to my previous link; did you try all the option suggested in the comments there? – Adinia Jul 22 '11 at 07:43
  • 1
    are you not able to rotate the emulator? – Sunit Kumar Gupta Jul 22 '11 at 07:57
  • Can anyone explain the problem? I'm not sure that I understand what the OP want to do. – Kaj Jul 22 '11 at 08:01
  • @Kaj You already answered according to his very problem: the emulator is not rotating to landscape mode. It might be some other problem with his OS or his keyboard, maybe a reboot can solve that, but I don't think it might be another solution beside that you already provided, with the Emulator settings link. – Adinia Jul 22 '11 at 08:17

2 Answers2

2

Use ctrl+f12 to rotate the emulator. One think use left ctrl key because right ctrl key will not work for rotate the emulator.

Sunit Kumar Gupta
  • 1,203
  • 1
  • 11
  • 19
0

You can find keyboard mappings here: Emulator settings

Scroll down on that page. You change orientation by pressing CTRL+F12

Kaj
  • 10,862
  • 2
  • 33
  • 27