我一直在使用電話峽版本0.9.3開發的應用程序...電話峽相機方位
當我在我的應用程序打開相機,它總是在橫向模式下打開,並在捕捉,圖像橫向格式返回...
我怎樣才能改變攝像機的模式肖像
navigator.camera.getPicture(onsuccess, fail, {quality: 45,destinationType : Camera.DestinationType.DATA_URL, sourceType: src},img_id);
function onsuccess(imageData) {
localStorage.setItem("image_captured","Yes");
$('#'+imgID).attr('src', 'data:image/jpeg;base64,' + imageData);
$("#"+imgID+"_IMG").attr('src', 'data:image/jpeg;base64,' + imageData);
}
在清單中,我不得不提:
<activity android:name="com.android.camera.Camera"
android:screenOrientation="portrait">
</activity>
請幫我在這......在返回Base64格式的圖像時(所有的EXIF數據已被剝離)
爲什麼不ü將其更新到1.0 ATLEAST ...... – ghostCoder 2012-03-28 07:25:58
我創造了一個自定義插件對於微調..這個插件不工作在1.0或以上..所以已經固定到0.9.3,我的插件工作正常.. – Sandy09 2012-03-28 07:30:54
http://stackoverflow.com/questions/9841742/selection-option-in- phonegap-not-working-proper ..這是我的應用程序中的另一個問題.. – Sandy09 2012-03-28 07:34:53