hi I have a demo based on Android1.5 and Zxing,
our alteration is as follow: <activity android:name=".MainActivity" android:screenOrientation="portrait" android:configChanges="orientation|keyboardHidden" android:theme="@android:style/ Theme.NoTitleBar.Fullscreen"> MainActivity is a subClass of TabActivity, Intent captureIntent = new Intent(this, CaptureActivity.class); tabHost.addTab(tabHost.newTabSpec("tab_autoscan") .setIndicator(getString(R.string.tab_autoscan), getResources().getDrawable (R.drawable.tab_autoscan)).setContent (captureIntent)); In the class CameraManager, private void setCameraParameters() { Camera.Parameters parameters = mCamera.getParameters(); parameters.set("orientation", "portrait"); parameters.set("rotation", 90); parameters.setPreviewSize(mScreenResolution.x, mScreenResolution.y); mCamera.setParameters(parameters); } I am testing at 1.5 now, In the class DecodeThread, running the method "decode", the result is R.id.decode_failed. I look up the sourcecode zxing, YUVMonochromeBitmapSource source = new YUVMonochromeBitmapSource(data,width,height,CameraManager.get().getFramingRect()); YUVMonochromeBitmapSource don't support rotate function. Could you share a idea for solving this problem? 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.