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