preview

  1. M

    Android Question [B4X] [B4XPages] CameraEx - Square preview is stretched

    Hi everyone, i know there are some posts about stretching of the preview of the cameraEx, (one of them is mine) but them are related to resize correctly the panel containing the preview. Instead, i wish to know if there is a way to keep the preview panel size fixed (square), but have the camera...
  2. S

    Tool FormsBuilder View

    Hi, This is a tool to preview Preferences dialogs designed with Erel's Tool FormsBuilder on one or more devices at the same time. A practical way to see the result on different screen size, resolution and scale. 2 projects : - B4A FormsBuilder View : Preview a preferencesDialog - B4J...
  3. Q

    Android Question Camera2 - preview still stretched

    I'm using Erel's example for Camera2: https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/ I made only one change: #SupportedOrientations: unspecified When I rotate the phone in landscape mode, the preview (for both video and still image) is stretched vertically. If I...
  4. S

    B4J Library PDF Creator and viewer

    Hello, Here are 3 classes : - PdfCreator : create PDF - PDFViewer : render PDF - clsFormPDF : form to preview PDF (Page navigation, Zoom, Print, Save) PdfCreator and PDFViewer wraps PDFBox You have to download pdfbox-app-2.0.20.jar and copy it in the additional folder You have to download...
  5. S

    B4J Library PDF Viewer with PDFBox

    Hello, This is a class 'clsPDFViewer' which use PDFBOX to render a pdf file. Use the form clsPDFPreview to preview a PDF file. You can browse pages, zoom in and out, print and save the pdf. You can add custom button for others actions. Don't forget to add the jar file...
  6. DALB

    Android Question Camera preview of cameraKit Library rotated at 90°

    Hello everyone, I use cameraKit library, but my camera preview presents a view (in the panel) which is 90° rotated regarding to the object I wish to take. I didn't find a propertiy which permits me to change this angle to 0°. Did I miss something or How can I do ? Thanks much for giving me a way.
  7. peacemaker

    Android Question Barcode detector: "setBitmap" instead of "setImageData" does not work

    HI, All Barcode detector uses ImageData from camera's _Preview (data() As Byte) event: Dim bb As JavaObject bb = bb.InitializeStatic("java.nio.ByteBuffer").RunMethod("wrap", Array(data))...
  8. walterf25

    Android Question Adding Opaque Overlay on top of Camera Preview

    Hi All, i would like to find out if it would be possible to add an opaque overlay over the camera preview, i have seen some apps where they have a small rectangle in the middle where the camera preview looks normal and everything else around it looks as if it has an opaque overlay, please check...
  9. peacemaker

    Android Question Camera2 video capturing: Release compilation preview

    HI, All Strange situation with Camera2 usage for the video recording: 1) Debug version works fully OK: preview is restarted OK after each file saving. 2) But Release compilation shows the preview only for the very first time, and later the preview is not visible, but capturing is anyway OK. No...
  10. Rob Bliss

    Android Question "Attempt to get length of null array" on Camera Picture Sizes

    I haven't managed to replicate the error myself, however a user of mine has experienced it. He's tried to load the camera, and then it crashed with: "java.lang.NullPointerException: Attempt to get length of null array" which was caused by the bottom line. Sub Camera1_Ready (Success As Boolean)...
Top