I am using openCV 2.4.11 for face-detection purpose and have problem with the camera on my target. The code works perfectly on tablet android-4.4.2 and phone android-5.1.1, but when ever I try to execute the same code on the smart watches android-4.4.2 it doesn't work. It shows a warning saying that "it seems that your device does not support camera (or it is locked).Application will be closed"
None of the existing Android Wear devices have a camera and the message you are receiving is very descriptive of the issue.
Related
I'm wondering if the Sony Camera API has parts that are only supported by certain versions of Android.
I have the latest firmware (1.04) on my a6500 and running Android 7 on LineageOS (successor of CyanogenMod) for the Samsung S5 (KLTE version). This is what I get in my Play Memories app:
The shutter button works and images download to the phone. But that's it.
Additionally, when I use another app called DSLRDashboard, the settings show up and can be changed on the app, but they don't get changed or applied on the camera, and this is in full manual mode on the camera. Other modes don't work either.
What could be causing this? What would need to be added into a 3rd party ROM like LineageOS to get this working?
Really hoping that the official Sony developers that roam this site will be able to chime in.
So, a bit of a snafu on my part.
It's not enough to update just the firmware on the Sony camera. The Remote Control app installed in the camera must also be updated as well, which means hooking the camera up to WiFi and downloading the updates for that app. With that done, all the settings appear in the phone app and can the changed.
I use MUPDF to view pdf files in an Android app. The app works fine with Samsung s6 and Nexus 5 (Android 5.x). However when using Samsung S3 (Android 4.3), it just breaks without saying anything in the debugger "the app just disappears without saying any". Is that regarding MUPDF lib? I know this lib has compiled native code. As it is a legacy code and I have to deal with it, what could be the approach to solve such issue?
Thanks.
Check the Android logcat output when the app dies, that should reveal what is happening. You may need to run the app outside the debugger to get the full logcat output. If you can get this, please edit your question to add the output.
Depending on which debugger you're using, you may need to explicitly enable native debugging if you haven't already.
MuPDF isn't legacy code, its continuously being developed. I'd suggest you open a bug report, that way you stand some chance of informed people being able to help you.
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 want to know is there any way to use the input of an external camera connected with android tablet using USB into my application that is running on that tablet.
I would suggest you to try this one
android-webcam
Also this will be helpful to you
developer.android.com/guide/topics/connectivity/usb/accessory.html
I've succeeded to get this project to work with my webcame connected to my Android tablet: https://github.com/saki4510t/UVCCamera.
However, the issue is that it relies on native libraries and comes with many samples undocumented. I am myself still looking for better ways.
I am very new with unity. When I'm trying o run the project after the following the document, it does not run force close with hardware is not supported.
Simple blue screen with camera focus show at run in unity but in
device it can't.
In emulator it shows error like:
08-02 12:29:47.672: ERROR/libEGL(305): called unimplemented OpenGL ES API
In device it shows:
Insatisfylinked
What should I do? Is there some device compatibility?
Check this link for a list of devices that have been tested with Unity.
According to this post (in which the author had the same problem as you) it is possible to get Unity running on the Android emulator, but performance is very poor.
Unity CAN run on an emulator (use emulator mode when compiling) it just runs slow. On my phone (HTC legend, which is listed as incompatible), it runs slow and there's no sound, but it does work.
I think it's because for some odd reason or another, certain manufacturers didn't choose to support OpenGL on certain models.
WIndows 8 and WIndows 8 phone will be supported when released as well!