Skip to main content

PhoneGap Fixed Orientation + ChildBrowser Non-Fixed Orientation (Android)



I'm creating a HTML/JS/CSS App using PhoneGap (1.4.1) for Android. Within the App I'm using the PhoneGap ChildBrowser plugin to display external content.





I'd like to keep the orientation of the App to Landscape while allowing the ChildBrowser to rotate to the orientation of the device.





I've tried applying different android:screenOrientation="" settings on each of the activities as below, but that doesn't seem to work.







<activity

android:name="com.phonegap.DroidGap"

android:screenOrientation="sensorLandscape" >

<intent-filter>

....

</intent-filter>

</activity>

<activity

android:name="com.phonegap.plugins.childBrowser.ChildBrowser"

android:screenOrientation="sensor" >

<intent-filter>

....

</intent-filter>

</activity>







Is this even possible?





Any help would be greatly appreciated!


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?