Hi everyone, I'm using this method by @Erel to take a picture from Android in my app released months ago.
Since some days, some customers told me that the "take picture" button is not working anymore, randomly.
After some investigation in my code, I could not find the problem... the only thing...
Hi.
Is there a way to replace the camera capture with an image from a file?
The goal is to show an image of a static warning: "You're not allowed to use the camera"
I would need it to work no matter the camera app being used.
Thank you.
Good day,
I have an app that is set to display only in portrait mode. One of the activities has a button that invokes the camera, takes a picture and uploads it to the server.
When the phone is held in portrait, and the camera is used, the app takes the photo in portrait and returns to the...
Hi everyone,
I have a question about Walter's perfect AR library.
Does it work with new versions of EasyAR Sense License Keys? I bought Sense 4.0 Professional License Key and do every step you mentioned in your EasyAR thread, But it does not work...
When I use EasyAR.jar file Version 3.0.1 my...
Hello, I am developing a chat that has the ability to send video messages. I used CameraView on Android and everything works and there are no problems, but on ios I found this example https://www.b4x.com/android/forum/threads/imedia-library-camera-and-videoview.46144/#content , but I have a...
hi all,
i wnat to take picture with camera application. i check in android 4.7 when camera is opened, application will be closed.
and it gives me an error about my codes that is in the Activity Create. but i don't have any problems and errors on the other phone. what should i do...
Hi all,
I'm using the camera library to let the user take a photo from its iPhone, as you know when the user grants the permission first time everything works fine, but if he denies it, it never request permission never again, and when the 'cam.takepicture' event is fired it just show black...
Hi everyone, i developed an app that uses the barcode/qrcode reader.
i wanted to use b4xpages for the first time from the beggining of the project by following this example:
https://www.b4x.com/android/forum/threads/b4x-b4xpages-barcode-reader.120417/#content.
Now i finished everything.
On my...
Hi
Erel had previously installed a CCTV source:
https://www.b4x.com/android/forum/threads/server-cctv-server.37382/#content
I edited these sources for further practice so that images from one client are sent in bytes to the server and from the server are sent to another client, and in another...
Hello:
due to GetVerticalViewAngle () and gethorizontalViewAngle () are deprecated in the latest camera API. I need to know them.
thus, I would like to be able to calculate this data (getHorizontalViewAngle () and getVerticalViewAngle ().
Is there any way to do it?
Regards and
Thanks in advance
Buenos dias:
Necesitaria vuestra ayuda, porque estoy realizando una aplicacion con la camara, y debo conocer unos datos de sus caracteristicas. (y por ello necesito vuestra ayuda y vuestros conocimientos)
Son datos para obtener el angulo de vision de la camara (view angle)...
Hi,
I downloaded the camera2 example (https://www.b4x.com/android/forum/threads/camera2-still-images-and-videos.83920/) and when I try to run in release mode, I get the following error message:
On first run, the window asking for permission appeared. But after that it just throws an error.
I...
Hi there everyone,
I have to build a program that generates a video file with a chronometer on top of this. Right now I am drawing above the preview screen (I am using CamEx2 sample as base) but my output file, as you can image, have no overlay. I did read many topics in this forum about...
Hi, on android 4.2.2 i get from builder isOperation = False. This code was working fine before on this mobile phone. It is hard for me to pin point when it stoped working but could be when changing to newer targetSDK (after updating to new version of b4a and a lot of maven errors). Apperently...
Hello! How i can use webview as standart browser with all perrmissions?
Need use html5 (camera, geoposition) and file uploading.
It's a possible (SDK 28)?
Any examples with all of this permissions (camera, geo, uploading in one :) ))?
Excuese for my English.
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)...
hello,
with the camera library I can take a picture, but if I live my Layout which is in a panel (but not leave the activity), when I want to take a new shot, the last toastMessage at the end of this code appears.
Sub OpenCamera (front As Boolean)
rp.CheckAndRequest(rp.PERMISSION_CAMERA)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.