1. Martin Larsen

    iOS Question ImageView in B4i is pixelated

    I have a problem with images in ImageViews which in B4i are very pixelated in contrast to B4A where the same images are sharp. Examples below with images cut out from app screenshots. B4A is first. The effect is real, it is not just caused by the screenshots. How can I fix this problem...
  2. G

    Android Question Camera picture size

    The code below takes a picture, saves and loads it back. However, the image after the code execution is not scaled as in the preview, it looks as if cropped and then resized to the view. Sub TakePicture Wait For(cam.FocusAndTakePicture(MyTaskIndex)) Complete (Data() As Byte)...
  3. AKJammer

    B4J Question Loading a scaled background image programatically

    Hey All, Hopefully this is a quick one. I've found hints that it can be done and managed to get something unscaled, but figured I'd check with the group. I'd like to change my main menu screen background depending on the organization that is using the program. I can change it in the...
  4. james_sgp

    Android Question Create an array of Imageviews with code

    I need to create a number (variable qty) of image views on a panel, I know I`ve seen it before but for the life of me, I can`t find or remember how to do it. Apologies for my stupidity, but would appreciate someone nudging me in the right way. Thanks
  5. C

    Android Question How to change picture after load layout

    Hi all! I have a layout with imageview setted with picture. In Activity, after some condition, i need to change this picture in imageview but when i do i lose the autoscale settings. There is a way to recall script or i need to use different layout? If i reload the layout, it is also reload the...
  6. rleiman

    Android Question [SOLVED] - Image view with repeat click event handler

    Greetings. I plan to create a couple of image views that will increment or decrement a slider only if they do a long click and keep their finger on the views. Does B4A have an image view that has a rapid change property like one from the B4XPlusMinus view?
  7. Yeskay

    Android Question ImageView Shadow/Glow

    i want to know how to add shadow to an imageview. i tried to add shadow to label with the following code and it is working fine. but the same way it is not working for imageview Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("Main")...
  8. K

    Spanish Cargar imagen desde galeria y mostrar en imageview

    Buenas, Estoy trabajando en un proyecto donde debo cargar una imagen desde la galería y mostrarla en un imageView, ya la puedo seleccionar con este código: Chooser.Initialize("chooser") Try Chooser.Show("image/*", "Seleccione Imagen") Log("Imagen Cargada") Catch...
  9. K

    Spanish Cargar y mostrar en un imageview

    Buenas, Estoy trabajando en un proyecto donde debo cargar una imagen desde la galería y mostrarla en un imageView, ya la puedo seleccionar con este código: Chooser.Initialize("chooser") Try Chooser.Show("image/*", "Seleccione Imagen") Log("Imagen Cargada") Catch...
  10. Star-Dust

    B4J Library [B4X] [XUI] SD ImageViewMultiple

    This new view allows you to insert up to 4 images and be viewed simultaneously in a view potion (See example images) The images are inserted with a small animation that makes the image look like clock hands. --------- 2 imeges ----------------- 3 images ----------------- 4 images ---------...
  11. Star-Dust

    B4J Library [B4X] SD_ImageView

    I created a custom ImageView view that allows you to upload an image from the web. Just pass the URL as a parameter This class is B4X but does not depend on the XUI library NOTE: You can use this library for personal and commercial use. Include it in your projects.. Attention, even if it is a...
  12. 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 =...
  13. 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...
  14. 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?
  15. 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...
  16. 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...
  17. 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...
  18. 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...

    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...
  20. 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...