B4A Library [Class] CameraEx - Extends the camera library functionality - Erel    
Dec 29, 2021   
(14 reactions).120417/#content
CameraEx class wraps the Camera object and using reflection and other code it extends its functionality.
CameraEx class requires Android 2.3+ and depends on Camera library v2.20+
CameraEx features:
Easily open the back or front camera
Preview images and saved images orientation will match the device orientation (all orientations are supported)
Gives access to Camera.Parameters... the constant values and other possible methods:
https://developer.android.com/reference/android/hardware/Camera...
B4A Tutorial Camera2 - Still images and videos - Erel    
Dec 29, 2024   
(21 reactions)Camera2 library is based on the Camera2 API introduced in Android 5 (API 21).
It is designed to... class is built to be extended. Camera2 native API is huge.
https://www.b4x.com/basic4android/images/SS-2017-09-14_17.27.38.png
The configuration steps:
1. Open the camera when the activity is resumed.... Stop the camera when the activity is paused.
Take pictures with FocusAndTakePicture or... needs to be recreated after the video is recorded.
TaskIndex
When you open the camera you receive...
B4A Tutorial [B4X] [B4XPages] Intent based camera - Erel    
Jul 23, 2024   
(17 reactions) B4A and the Camera object in B4i to take a picture using the default camera app.
The B4A code depends... stack.
The change adds a line before and after the Wait For Camera_Complete call:
Dim TopPage As String = B4XPages.GetManager.GetTopPage.Id
Wait For Camera_Complete (Success As Boolean, Image As Bitmap... as the page will be removed from the stack when the external camera page appears.
...
B4A Tutorial Intent Based Camera - Erel    
Sep 19, 2021   
(20 reactions)Newer example: Intent based camera
This example uses an intent to take a picture with the default camera app.
It is based on this tutorial: https://developer.android.com/training/camera/photobasics.html
It is simple to use and doesn't require any permission (*).
It does rely on the default camera app to work properly and save the image file in the path passed in the intent.
As a fallback, if the image was not saved it tries to get the thumbnail from the intent returned.
Don't...
B4A Library Camera2 - New camera library - Erel    
Apr 4, 2019   
(30 reactions)Camera2 library is based on the newer Camera API introduced in Android 5 (API 21). It is therefore supported by Android 5+ devices.
It requires B4A v7.3+.
The library is built to work together with CamEx2 class.
Camera2 native API is more complex than the old API. However together CamEx2 and.../camera2-still-images-and-videos.83920/
V1.10 is released. You need to update both CamEx2 (available... the tutorial for more information.
Camera2 is an internal library now....
B4i Tutorial iMedia library - Camera and VideoView - Erel    
Nov 19, 2017   
(10 reactions).
The Complete event is raised when the playback reaches the end.
Camera object allows you to take... that it only supports portrait orientation.
The main methods are:
Camera.TakePicture - Opens the Camera form and allows the user to take a picture.
Camera.TakeVideo - Opens the form and allows the user to capture video.
Camera.SelectFromSavedPhotos / SelectFromPhotoLibrary - Open the form and allows the user to select a picture or video from the device camera roll album or device photo library...
B4J Library WebCam class: how to choose a second camera ? - peacemaker    
Jan 29, 2025   
(6 reactions) can choose any camera by the name.
Extra .JARS (sorry, no store for files, they were googled one by one... WebCamDeviceDimension (width As Int, height As Int)
Public CameraIsOpened As Boolean
End Sub
'Initializes...("open",Null)
CameraIsOpened = True
End Sub
Public Sub TakePicture(Cam As JavaObject...
Public Sub CloseCam(cam As JavaObject)
cam.RunMethod("close",Null)
CameraIsOpened...
B4J Library ABMaterial - a robust(?) camera component - JackKirk    
May 4, 2024   
(3 reactions) access to cameras (i.e. mediaDevices API) when in a secure context (i.e. https://...)
I find I need... - but there is no serious camera component in ABMaterial.
I find the best way to learn is by doing so I have set... MashCameraPlain module:
https://www.b4x.com/android/forum/threads/abmaterial-mashcameraplain.86132/post... cameras (i.e. mediaDevices API) when in a secure context (i.e. https://...).
3. This reference... on putting a camera in ABMaterial.
INSTALLATION
RUN WITH SELF-SIGNED SSL ON LOCALHOST
RUN...
B4A Tutorial [B4XDaisyUIKit] A beginners guide to the MediaChooser (Camera, Video, Audio, Files) - Mashiane    
Jul 30, 2026   
(5 reactions) a camera capture, and trap its built-in events.
172696 172697 172698
🛠️ Simple Usage Example.... Trigger this sub when your user clicks a "Take Photo" button
Private Sub btnCamera_Click(Tag...
rp.CheckAndRequest(rp.PERMISSION_CAMERA)
Wait For B4XPage_PermissionResult (Permission As String....MainPage.ShowToastError("Camera permission denied", False)
End If
End Sub
#End Region... attempting to access the camera.
Background Services: For Android (B4A), MediaChooser inherently relies...
B4i Tutorial LLCamera - Low level camera access - Erel    
Oct 18, 2016   
(6 reactions) camera access, similar to B4A Camera library. If you just want to allow the user to take a picture then it will probably be better to use Camera instead of LLCamera.
LLCamera allows you to embed the preview video in your layout, adjust the camera settings and it also allows you to work with the preview... and TorchMode.
See the ConfigureCamera sub in the attached example for more information...-server.37382/#content
Starting from iOS 10 you need to add an explanation on the camera usage...
Page: 1  
2  
3  
4  
5  
6  
7