1
我試圖在我的佈局中顯示內容pdf文件(自定義)。我用的PDF渲染器轉換成圖像(搜索谷歌的解決方案...),但它有問題,我固定的項目,但它仍然是錯誤..無法將PDF轉換爲android中的圖像
我的代碼:
try{
PDFPage mpdfpage;
PDFFile mpdffile;
Bitmap bitmap = mpdfpage.getImage(100, 100, null, null, true, true);
}catch(Exception w)
{
}
,但有問題:「在鍵入java.awt.Image中無法得到解決。這是間接需要的.class文件」
那是'android.graphics.Bitmap'嗎? – 2012-08-14 15:45:26