Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有这种情况。该应用程序允许我拍摄某物的照片并将其保存到 sqlite db。至此,此应用程序从相机设备捕获图像并将其显示在 ImageView 上。问题是如何从 ImageView 中获取此图像并将其解析为字节数组
你看过API吗?
简直了
Drawable image = imageview.getDrawable();
获取图像。