USB Camera as default - Android General

Hello,
I have been searching for a long time but still can't find any solution of my problem.
The situation is:
I have raspberry pi3 and i have installed android on it.
Everything works fine, but i need to use camera with raspberry. I know that there is a special camera module available and maybe it works fine but i need to use an external USB camera.
I plugged USB camera and started default camera application, but it says that it's impossible to connect to camera.
But when i've installed USB camera app it works fine with external camera.
I use skype and when i'm trying to make videocall - video is not available.
That is why question appeared.
How is it possible to enforce android to use external USB camera as default?
Sorry for bad english.
Thanks in advance,

Related

how to mount a usb thumb drive in 3.1 stock?

wifi xoom running 3.1 (non-rooted)
I bought the Motorola Camera Connection Kit (OTG Cable), connected my digital camera and it worked perfect. However, I'm trying to see if i can plug in a usb thumb drive... but I can't get it to work? Do I need to do anything special to mount it? What filesystem would it mount as?
Thanks in advance
I may be wrong on this but I didn't think 3.1 stock had flash drive access...?
maybe I'm confused too then? I thought 3.1 added usb host support...
only for cameras, video game controllers, mouse and keyboard.
ahh, that explains it... thanks!
Is it using the camera protocol? My cameras have always shown up as mass storage on my computers. I haven't tried a camera on my xoom yet.
i just tried with my camera. it still won't work. guess we have to mount the drive.
yiyehhu said:
i just tried with my camera. it still won't work. guess we have to mount the drive.
Click to expand...
Click to collapse
got my Camera to work with Xoom. Just set the camera USB setting to MTP/PTP mode.
It cannot recognize raw image files.
works with my canon 5d m2 instantly without any setting changes
Anyone have a flip camcorder who could test that out?
Edit: I went and bought the camera connection kit. Was able to get videos off my flip by navigating to /mnt/usbOTG (with the flip attached obviously). I'm rooted and using the latest Tiamat kernel though. US WiFi model.

Media transfer protocol, otg cable, tiamat 1.4.4 and honeycomb

Hi all
I would like to connect my canon a470 powershot to my
Wifi only xoom, running tiamat 1.4.4 and honeycomb,
through an otg cable.the cable works and I can access USB
pens reading the content.Now as my camera does not
provide usb mass storage access but only mtp/ptp I cannot
manage to access photos directly plugging the USB cable.
I read that Verizon camera kit cable supports ptp on
Honeycomb systems but how? Is there any app or .ko
needed or is a compatibility issue related to my camera?
Thanks
Sent from my Xoom using Tapatalk
I have the Motorola Xoom "camera " otg host cable. That's all the "kit " contains. I'm running the Tiamat ROM and I can not access my Canon Powershot either. So, if you have a working otg host cable, don't waste your money....
really ? nothing more than a simple OTG cable ? Thanks for the advice ! How is it supposed to work on stock ROM's if UMS is disabled ?
I 'm sure that there must a library for ptp/mtp on android: I read that some people had this feature working, being able to access photos (stored on the camera) through the stock gallery app.
Maybe the OTG cable is not enough...
Could be the camera brand. I have no idea though. I don't need to connect any of my cameras to my xoom.
Bumpity bump
Any resolution to this?
I have USB sticks working too but not ptp supported devices...
I'm having the same problem with my Canon 5D. Also tried Canon Ixus 130 and that didn't work either. I just tried installing the stock Australian image and then installing the 3.1 update and that does not work either... I asked around and found people that also had a canon 5D and Xoom and the combo worked for them.
that is so weird
I wish someone can shed some light on this...is this inherent with 3.1?
Do not know will this help in any meaningful way but did anyone tried connecting A470 running chdk? I do not have Xoom but there exist plethora of scripts for canon low end cameras making them just a little bit more useful. Higher end cameras have another way of enhancement with different program setting. Just my to cents...

[Q] External Camera?

Looking for ideas here. I have been searching around and not coming up with anything that is working..
I need to get a camera mounted to the rear of a commercial vehicle and be able to take a picture from this camera with a third party data collection program. Does anyone out there know how to get a tablet to allow this? The camera that is currently mounted and working (just not with our new tablet based hardware) has it's own power source but I still get the "high powered device..cannot connect" error when I try and connect it to the tablet.
I am open to any suggestions.
Thanks
The easiest way it to probably have an ip camera with those functionalities and use an ip camera program. While your tab is the hotspot.
Something else to try is to get a powered usb hub in the loop and see if that will supply the usb power needed. The same thing happens when you plug an external hard drive into a keyboard usb port.
I've read on a few external devices to install the USB otg cable first then the product...no idea why this makes a difference but try it anyway
Sent from my GT-P3110 using xda app-developers app

[Q] M8 Android TV Box USB Camera Help

Hi guys, I have an M8 Android TV box and is working perfectly aside from a little bug/driver issue with my USB Logitech C710 camera. I want to use the camera for Skype/take pictures with regular camera app but the images come out with distorted colors. I tried using different USB ports but the problem persists. Is there any way I can fix the drivers manually so that the picture looks like normal? I tried the camera with my laptop and it works fine. I also installed every known camera app in the playstore and the only one that used the camera normal was Snapexwebcam. If anyone can help me and need more information to reach a solution please let me know.
Thank You for your time
Respectfully, XianLen
PS: My TV Box is rooted

[Android Device] Use the camera connected via USB instead of the built-in camera

Hello experts.
I am a software engineer and currently working on an evaluation module from TI (Texas Instruments). I have a AM5728 Evaluation Module with me and I have successfully compiled Android SDK 5.03 (8.1 Oreo) on it. After compilation, I found that camera app is not working (black screen for a first run and getting crashed on subsequent runs). It seems to me that board is not able to detect the camera device/module even though it is attached to the board. I probably think it is related to camera HAL issue.
However, the USB camera works completely fine when attached to the EVM and is verified using simple usb cam application. The system camera is not being detected at all.
Therefore, I would like to customize Android at a source level and add code to automatically switch the default camera to the one connected by USB when it is available. Or if switching dynamically is not possible then disable the primary (built-in) camera and make USB (external) camera as the default one.
This way all applications should detect the external (USB) camera as the primary camera. For example, if I open camera application then the device take the picture from the one which is connected via USB.
I have the Android SDK source code available with me, but I am not sure how to proceed.
Really appreciate your help.
Thanks!
hey @devashishtiwari.
I am having a similar problem. Did you find a solution. if yes, please contact me at [email protected], its really urgent.

Categories

Resources