Giter Club home page Giter Club logo

Comments (7)

mayingbin avatar mayingbin commented on August 18, 2024

I use official Pi camera modules & UVC USB webcams

from device_arpi_rpi4.

peyo-hd avatar peyo-hd commented on August 18, 2024

Only USB camera is supported by arpi build. Tested with logitech c270.

For the failure, try applying following changes in /hardware/arpi
android-rpi/hardware_arpi@94a84ce

In the log 'camera_fail.txt', following log shows 0 detection. If successful it will detect 1 device.
672 01-01 00:00:08.232 226 226 I CameraProviderManager: Camera provider external/0 ready with 0 camera devices
(A few more seconds delay could be tried if detection not successful)

Android 11 seems working better with USB camera, then you can migrate to arpi-11 build.

from device_arpi_rpi4.

lohriialo avatar lohriialo commented on August 18, 2024

tested and working with Mi USB camera as well https://www.amazon.in/MI-XMSXT001TM-Mi-Webcam-720p/dp/B089DH53TD

from device_arpi_rpi4.

mayingbin avatar mayingbin commented on August 18, 2024

I test usb camera and working as well, but any suggestion to support official Pi camera modules & UVC USB webcams?

from device_arpi_rpi4.

ohmex avatar ohmex commented on August 18, 2024

Hi peyo
I appreciate the efforts put into this build.
Trying to build & add the official camera v1.3 hal to your project as described here lineage-rpi/android_local_manifest#9 (comment)
But could not get it to work, could you please help here?
have you tried using this HAL?

from device_arpi_rpi4.

vinayaksoni avatar vinayaksoni commented on August 18, 2024

@peyo-hd - How did you test with logitech c270 on Android 11? The RpCamera (compiled in Android Studio) with no other change in the local_manifest i.e. using the external camera provider hal 2.5 ?
Also, getting window errors when trying to open the Rpcamera app:

04-12 11:34:15.220 209 209 D Zygote : Forked child process 2501
04-12 11:34:15.223 365 396 I am_proc_start: [10,2501,1010136,com.arpi.rpcamera,pre-top-activity,{com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}]
04-12 11:34:15.223 365 396 I ActivityManager: Start proc 2501:com.arpi.rpcamera/u10a136 for pre-top-activity {com.arpi.rpcamera/com.arpi.rpcamera.MainActivity}
04-12 11:34:15.228 365 390 E system_server: No package ID 7f found for ID 0x7f06005e.
04-12 11:34:15.229 365 390 W WindowManager: Token{253742d ActivityRecord{9ebfbe5 u10 com.arpi.rpcamera/.MainActivity t1000342}} failed creating starting window

from device_arpi_rpi4.

saurabhin25 avatar saurabhin25 commented on August 18, 2024

from device_arpi_rpi4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.