我正在使用zxing 2.1版本,我需要在肖像模式下捕捉QR碼,我已在CameraConfigurationManager中將displayOrientation設置爲「90」。如何將Zxing View Finder矩形設置爲肖像模式
改性方法,
CameraConfigurationManager->initFromCameraParameters(Camera camera)
-> setDesiredCameraParameters(Camera camera, boolean safeMode)
但在設置取景器,以配合肖像模式,可以有人幫助我該怎麼辦這個問題..
山姆
這裏是你可以用斑馬線2.1做什麼。 http://stackoverflow.com/questions/16252791/how-to-show-zxing-camera-in-portrait-mode-on-android/16252917#16252917 – Roylee