Android Question How to put bitmap object into imageview

Discussion in 'Android Questions' started by Kevin Hartin, Mar 19, 2019.

  1. Kevin Hartin

    Kevin Hartin Member Licensed User

    I am successfully putting image files into an Sqlite blob, then later reading them from the blob field, however I end up with them in a bitmap object which I then have to put into an imageview. I can see the activity background image, so I k ow I have the blob as an image object, I just need to get it into an imageview.

    Any help is much appreciated.

    Kev
     
  2. mangojack

    mangojack Well-Known Member Licensed User

    If you already have the image/blob as a Bitmap, it is just a simple case of ..
    Code:
    ImageView1.Bitmap = myBitmapObject
     
    Kevin Hartin and BillMeyer like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice