imageview

  1. 2SucresCelestin

    Android Question Print a picture in CLV from a URL obtained from an SQLite DB

    Hello, I wanted to print some images obtained from a URL stocked in a SQLite DB. I don't really know how to do it. i implemented some code in job done to apply images into panel's image views but still having issues. Some one knows how to do it ? Sub JobDone(Job As HttpJob) If Job.Success...
  2. james_sgp

    iOS Question B4i Save Imageview as Jpeg

    Hi, I`ve created a QR code in an imageview and I want to save it to 'xui.defaultfolder' so i can use it in a PDF document. My code works on B4a but its not working on B4i, any idea`s what I`m doing wrong? #if b4a qr.Initialize(view_pdf_qr.width)...
  3. A

    Android Question Sender for List

    Hello. I have: Sub Globals Dim lstViews As List Here's how I form a List: Sub Activity_Create(FirstTime As Boolean) lstViews.Initialize For Each vw As View In Activity lstViews.Add(vw) Next As a result, I would like to track the Click event to various objects, the...
  4. LucaMs

    B4A Library [B4X][B4Xlib] lmB4XImageView

    Modified version of Erel's B4XImageView - which is inside the "Xui Views" library. It does not replace that, just add this to the additional libraries folder (B4X) and then choose whether to use in your project this or that. The changes are two: 1 - I added the Click event - which also takes...
  5. Melek

    Android Question Placing images in xCustomListView from apache server using mysql logs

    Hello, as the title indicates, I am seeing some examples of xCustomListView, but in the case of placing the images, it seems they only use the ones stored in the "File.DirAssets", I have seen the example of obtaining data from mysql and it works for me, but not I manage to put the images in the...
  6. rleiman

    Android Question [SOLVED] - SetBitmap changes ImageView bitmap image from a circle to a square

    Greetings, Using SetBitmap changes one of my ImageView bitmap image from a circle shape to a square shape. That caught me by surprise. Please check my usage of SetBitmap and please let me know how I messed up the displaying of my image. This is what the play-circle icon looked like before and...
  7. rleiman

    Android Question [SOLVED] - Accessing the Image File property of Drawable in code for an ImageView

    Greetings, In the designer, I placed an ImageView on my layout. The Drawable property has another property called Image File. When I typed the name of my ImageView defined in Globals in my coding, I followed it by a full stop, the auto-complete was displayed. In the list, I looked for Drawable...
  8. 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...
  9. gezueb

    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)...
  10. 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...
  11. 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
  12. 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...
  13. 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?
  14. 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")...
  15. 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...
  16. 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...
  17. 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 ---------...
  18. 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...
  19. 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 =...
  20. 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...
Top