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/
Related
I am new in android studio recently,I have make a program related to uploading images from camera and gallery And that program working smoothly with all other devices but when when i update my Redmi note 7 device version from MIUI 11.6 to MIUI 12.02 (android version 10 )then its create problem like.. (our App close the currently using fragment or restarts the app ) i have tried many solution:
1.remove restriction from the background for that App
2.try app lock for stay the APP in background etc.. but no result found.
kindly help me thanks in advance...
I want to use a camera from mi phone and I created a POC by using following link.
https://developer.xamarin.com/recipes/android/other_ux/camera_intent/take_a_picture_and_save_using_camera_app/
but the problem is that when I opened the camera the app closing automatically especially this problem was coming with mi phones and it's working fine with other phones. Can you please suggest what to do. It is very important for my project.
I'm using:
jQuery Mobile 1.3.2
Knockout JavaScript library v2.2.0rc
Phonegap 2.9.0rc1-0-g002f33d
Lately I'm getting complaints from customer that the app get stuck on white screen between page transition.
The customers are using Galaxy notes4 (android 5.0.1), and Nexus5 (5.1).
I cannot reproduce it on any of my device: S3 (4.3), iphone4, ipad3.
or any of the simulators - I tried Nexus 5 (Google API 22), and Android 5.0.1 API 21.
This only started to happen lately - therefore I assume it's a result of some upgrade in the Android/Browser core.
I'm trying to get hold of the customer device, but until then any help will be appreciated
I got a hold of a customer device, and my first guess was correct:
I disabled slide transition on android
I.e. I comment
$.mobile.defaultPageTransition = "slide";
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 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