imageview

  1. D

    Android Question Load PDF pages in CustomListView - zoom enabled

    How can I show a multi page pdf in a CustomlistView and set each page so that the user is able to zoom the image? I also tried using Webview but it does not work:- dim image as imageview Private CLV1 As CustomListView For i = 0 To pdf.PageCount-1 Dim p As B4XView =...
  2. Kevin Hartin

    Android Question How to put bitmap object into imageview

    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...
  3. Flavio SOuza

    Android Question How to get the width and height of an ImageView?

    How can I add an image without distorting the image in heigth ? my code: imgLogo.Top = 65dip imgLogo.SetLeftAndRight(10%x,90%x) imgLogo.Height = auto?
  4. Scotter

    Android Question array of bitmaps inverted-ish

    EDIT: SOLVED! Added this line of code: imvHearts(i).Gravity=Gravity.FILL Hi - I've created my first animation, yay, to glitz-up a bit this game. The first "flying heart" works great. I created the ImageView in the designer and then referenced it from code. Then I decided I wanted 9 more hearts...
  5. Brandsum

    Android Tutorial Fill or Fit image to ImageView

    Hi, Here is how you can set the scale mode of an ImageView like CSS background-size property. 'scale = cover,contain,fill Public Sub SetImageView(iv As ImageView,bmp As Bitmap, scale As String) Dim jo As JavaObject=iv jo.RunMethod("setImageBitmap",Array(bmp)) Select scale...
  6. Star-Dust

    B4J Library [B4X] [XUI] SD XUIView

    I'm happy to announce the publication of my new B4XView library. This library adds to the XUi Views the native views of the three platforms (Android / IOS / Desktop) so that they can be managed by Design, using them as XUI views without having to change its type in the Globals Sub. With this...
  7. Pedro Caldeira

    B4J Question Runtime error

    Hello All, I have a GUI application that load correctly in my development computer, either in debug or release modes. when i place the jar in a differente pc also wit windows 10(like mine) orwith windows 7. I get a error message (RuntimeException)java.lang.RuntimeException:Object should first...
  8. FERNANDO SILVEIRA

    Android Question Doubts on Imageview/LoadBitmap

    Hello Guys, I'm using Imageview/LoadBitmap/LoadBitmapResize to present .JPG files based on program logic. My question is: Do I have to load every single .JPG file to the project at design time? What If I just add new .JPG to file directory? Will my app find these new files or do I have to...
  9. M

    Android Question [SOLVED] jRDC & sqlite image blob retrieval and display in imageview

    SOLVED: B4A project using jRDC on local and remote servers just fine however I can't nut out how to successfully convert a retrieved blob from sqLite db and display image in an imageview. the update/insert side is this: Dim req as dbRequestManager Dim sSQL() As String Dim Buffer() As Byte...
Top