0
Android - 從圖庫中獲取圖像時,它們的方向錯誤。Android - 當從圖庫中獲取圖像時,portraid圖像以風景(旋轉90度)迴歸
例如,如果它們是橫向圖像,它們都可以,但如果它們是縱向,則它們會旋轉90度,然後再次顯示爲橫向。
我這是怎麼開始的活動挑選圖片:
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("image/*");
當我得到的路徑,這是我的解碼圖像:
userPic = BitmapFactory.decodeFile(path);
我怎樣才能解決方法/修復這個問題?有什麼我做錯了嗎?
天才我的男人! 10倍! – Danail 2010-11-28 20:33:00