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データベースに保存できます。これで、このアプリはカメラデバイスから画像をキャプチャし、ImageViewに表示します。問題は、ImageViewからこの画像を取得し、それをバイト配列に解析する方法です。
APIを見ましたか?
それは単に
Drawable image = imageview.getDrawable();
画像を取得します。