I want to integrate my external camera that I connect to tablet with my application using zxing. I know it is possible to use front camera but i would like to connect it via external. Is it possible? if yes how can i do it. I tested my external camera on my Nexus 7 and it does work but i had to use special app and set chmod for device. If exists faster way to set it up without using terminal all the time but only using library in my application i will be glad.
Another iteresting thing is that if I will be able to use my front camera in Nexus 7 to scan any bar codes because it has bad quality.
I also would like to know if exists some other worth testing library for android to use external or front camera.
Related
On the internet there is a lot of information on how to turn the phone into a webcam, but I would like to do the opposite, that my webcam become my phone camera.
To be more specific, some apps ask to take a live photo, on the spot, without the option to select from gallery, but I would like to get around this, App Cloner does this with the fake camera feature, but it doesn't work in almost any app, so they're looking for an alternative.
I thought of the following: On my mac, I can use software like CamTwist and ManyCam to create 'fake' webcam, CamTwist/ManyCam lets me pipe custom content (such as images or video) to that webcamera. So I thought of using emulators like BlueStack among others, and then these emulators would connect to my web cam and get the personalized content, the problem is that most apps don't run on emulators, at least the ones I need...
So following this logic, I would need to inject custom content into my mac camera and transmit this image to my android phone somehow.
If not possible, is there an alternative?
Note: fake camera android apps on play store not working.
I'd like to capture my desktop through the back camera of my emulator. I'm aware that you can set it to use your computers webcam or even a remote camera but I haven't found any information on using the camera to take a photo on what is behind the emulator window.
The reason I'd like to do this is that I have a presentation to give of my app which is done over a desktop sharing session. So I cannot easily demonstrate with a genuine device.
I'd therefore like to be able to move one emulator over the other so that I may take a photo of a QR code that the second QR code generated.
Is this possible?
Cheers
I would suggest you use AirDroid and Vysor. Both of them are free, and can mirror your phone on the screen of your computer.
I am creating an application that connects to the phone camera from native code.
This works great on my phone.
The problem is that when i try to do the same thing with android emulator, there is
no "/dev/video" to connect to (i know the camera is connected because i am able to open it
using the camera app).
Does anyone know if there is another way i can connect to the camera from native code?
/dev/video0 is, in terms of Android, an implementation detail, and not guaranteed to be present on any device or emulator.
Emulator support for camera is very limited, see for example Android webcam enable in emulator
There is no official native camera API on Android, so there's no guaranteed to work way of doing this.
For maximum compatibility, use the Java API and send the image data to native code for processing, if necessary.
I was wondering if there was a known camera that was compatible with android OS's. (such as the nexus 7).
I am trying to essentially control a high resolution digial camera from the android tablet so that it can control when to take a picture, and then retrieve the picture.
This would require a camera with a public API.
I have experience in android programming but not too much in communicating between two different devices. So i was wondering what I should look into in order to achieve this.
Here is a camera that runs Android: http://news.yahoo.com/samsung-takes-aim-japanese-rivals-android-camera-034717081--finance.html
And since it is Android I guess that the API is public.
And the same camera with more info: http://www.samsung.com/uk/consumer/mobile-devices/galaxy-camera/galaxy-camera/EK-GC100ZWABTU and it does run what look like standard android apps.
If you want to control that from another Android device, I think that would make a very interesting project.
The other possibility is the Nikon external control SDK, but I have no idea what language that is in. That was used to build the excellent Sofortbild app for Macs, which controls most Nikon DSLRs. https://sdk.nikonimaging.com/apply/
There are Android applications which can control a set of cameras with added features. The one I'm using gives me the ability to take very specific timelapse shots which would be too complicated or even impossible to get through the camera's own controls. You can find many other control apps on the play store.
Unfortunately this one is only for Canon EOS cameras : DSLR Controller
I want to make an application that uses the android camera, but I want to test it using the emulator. I don't have a webcam to use for live image, so I want to know if I can do it faking a still image (somehow) or I will need to use something like a fake cam on my desktop pc, and then make it be used by the android emulator.
I searched about some solutions but they appears old. Anyone is using something like that and can point me to a "fresh" solution?