Well, I made a small change in ProjectLibrary (xzing project) and was able to change the landscape orientation to portrait
setDesiredCameraParameters method of class CameraConfigurationManager
camera.setDisplayOrientation(90);
.. in my AndroidManifest.xml project source file. I set screenOrientation = portrait and its work on my ICS 4.0.3
<activity android:name="com.google.zxing.client.android.CaptureActivity" android:configChanges="orientation|keyboardHidden" android:exported="false" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" android:windowSoftInputMode="stateAlwaysHidden" > <intent-filter> <action android:name="com.phonegap.plugins.barcodescanner.SCAN" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
Yousuf Qureshi Nov 16 '12 at 23:27 2012-11-16 23:27
source share