2012-04-10 37 views

回答

-2
writeToFile(BitMatrix matrix, String format, File file) 

thsi方法寫BitMatrix到一個文件中,現在可以解碼使用

BitmapFactory.decodeFile(newly created file name with path) 

這個文件這將返回一個位圖

更多細節見this link

+1

這是行不通的,因爲'writeToFile()'在Android模塊中不可用。看看這裏:http://codeisland.org/2013/generating-qr-codes-with-zxing/ – 2013-09-16 13:53:05