1
BitmapDescriptorをBitmapに変換する必要があります。BitmapDescriptorをBitmapに変換できますか?
私はこのコードでBitmapDescriptorにビットマップを変換することができます:
BitmapDescriptor bd = BitmapDescriptorFactory.fromBitmap(bitmap);
が、どのように私は逆の方法を行うことができますか?
ビットマップ形式でBitmapDescriptorFactory.defaultMarker()
を取得する必要があります。
ライブラリ頼むことができるか質問した場合
"輸入android.support.v7.widget.DrawableUtilsを;" resizeImageToDrawableはありません。あなたはlibを使っていますか? – Itapox