I created an application which use Camera face detection to know if someone uses application.
I followed instructions of Google doc and it works on Galaxy Tab 2 with android 4.0 or 4.1.
I just installed it on a Galaxy Tab 3 with Android 4.2 and recognition does not work.
I haven't any exceptions but onFaceDetection is never called.
Is something changed in 4.2 ?
Thanks
Related
I'm writing an android application and i need to detect what version of Samsung Experience the device is running to do a special check. Galaxy S8 with android 7.0 allows the navigation bar to be on the left. And from my understanding only android 7.1 allows that. My application apply margins based on android version and I need to check if the version is 7 and we are running Samsung Experience 8.1.
Here you can find an example of About phone.
Another posibility is detect the position of the navigation bar on the screen (right or left). I could not find a way to do it.
thanks in advance.
I tried reading with Build.MODEL, Build.TAGS, Build.MANUFACTURER.
Take a look at Checking external app version name in android
I don't have a Samsung Galaxy S8 available at the moment, but I think you can check the version of packages com.sec.android.app.launcher or com.samsung.android.mobileservice.
Currently, I am trying to make the Virtual Tour app to play with cardboard, then get the demo completed and it's working like a charm in Editor Play mode and on my Lenovo Phab 2 phone. Unfortunately, when I install it on Samsung Note 9, the app displays upside down. I have tried change the orientation in player setting and edit the android manifest but still no luck are there any one know the solution? or is it the bug in GoogleVRSDK or Unity ,caused at first there is the lack in app build that Unity build the app as normal app not Cardboard one even GoogleVR Demo scene, but after restart Unity it works fine.
This is apparently an issue with Unity 2019.1.x and both Android and iOS.
Either, switch rendering from Vulkan to OpenGLES3 (Android, not sure about iOS)
Or, downgrade to 2018.3.14f (is said to work for both iOS and Android)
Track updates here:
https://github.com/googlevr/gvr-unity-sdk/issues/1030
https://github.com/googlevr/gvr-unity-sdk/issues/1031
I am trying to add a timedTextTrack to the MediaPlayer using mediaPlayer.addTimedTextSource and mediaPlayer.selectTrack. I am setting a onTimedTextListener to the MediaPlayer as well.
On all other devices with Android version higher than 4.1.1 it is working and I can display the text, but when I try it on the Samsung Tablet GT-P5113 (Android 4.1.1) I get the onTimedText event only once with a null text. While the official documentation is saying that TimedText is supported with these devices.
Does any one know about this issue?
Thank you,
My project working fine on Galaxy s2 but on my nexus phone my open cv project is not running. The tutorial provided by open cv is running but some how it seems my project is not running and nexus is saying "It seems that you device does not support camera(or it is locked). Application will be closed. Can some one give some idea how to get rid of it .
Are you using Nexus tablet? you might be trying to access a specific camera in your code (i.e you might be trying to access back camera in nexus tablet) which does not exist.
Something like this will not work in nexus 7 tablet(older nexus 7 version)
cv::VideoCapture capture(CV_CAP_ANDROID + 0);
This is common problem with nexus 4 and kit kat (4.4). OpenCV doesn't support native camera for this system yet - try Java camera version instead, it should works.
EDIT:
If you want to solve this problem (I assume you have 4.4 Android) you have to rebuild camera_wrapper using Android OS sources. That's the way until next OpenCV official release.
I am workling on mobile application developed using DOJO toolkit and Apache Cordova API To handle device specific code like Camera . Application is getting restarted when camera is launched and taken picture ,once we save the picture , the application is started from the login screen.Again application is working absolutely fine in Samsung Galaxy tablet having Android v 4.1.2 .But failing in Samsung Galaxy S3 android version 4.1.2 .Appreciate your help.
Thanks
Krishna
this happens on memory strapped devices. Have you tried the foregroundcamera plugin as an alternative?
https://code.google.com/p/foreground-camera-plugin/