mwater / cordova-plugin-camera-foreground Goto Github PK
View Code? Open in Web Editor NEWThis project forked from apache/cordova-plugin-camera
Foreground Camera for Apache Phonegap
This project forked from apache/cordova-plugin-camera
Foreground Camera for Apache Phonegap
hi,I am using PGB 3.4 (build.phonegap.com) and camera plugin 0.2.9
https://build.phonegap.com/plugins/768
could you be kind to tell me What is the real purpose of this plug-in ?
because of that I don't know what's the true meaning of these word
"It uses a custom activity to run in the foreground in Android to prevent Cordova from being killed"
if I use this plugin,well...
is there any teaching content about this plugin ?
Hi,
I am using your plugin in a production android app and I am wondering if there was a reason for you to use landscape as the orientation and not use something like fullSensor?
Great to see this is being worked on for Cordova 3. Unfortunately, I'm using Media Capture and having similar restart problems. I need Media Capture because it allows me to capture more than one image per session and returns an array of mediaFile objects. Is there a "foreground" version of the Media Capture plugin out there?
Hello,
Would it be possible for you to make this plugin available on Phonegap Build as a plugin? I would like to take advantage of this plugin in order to work around the Android Camera issues of my application restarting when returning from the camera.
Thanks,
This issue is for MI phones. In take picture section when capture complete it comes to onActivityResult()
result code is 0(i.e. Activity.RESULT_CANCELED) due to that application is getting restarted.
PS. Works properly on other phones.
NOTE: Developer Options --> Don't Keep Activities already disabled.
Hi, I'm looking for a way to implement a toggle button to switch the camera back/front. It's a possible implementation?
Hey,
I am wondering if the camera option "destinationType" supports the value "Camera.DestinationType.DATA_URL" ?
My application was using that value with the stock cordova camera plugin, and after switching to your plugin I get values such as:
"content://media/external/images/media/110"
which I assume are File URI's, despite still having the DATA_URL value set for my destinationType.
Thanks,
David
hi @grassick
I am using PGB 3.4
when I build,the ios and winphone will fail,but Android is fine
I know this plugin want to solve some problem in Android
but the plugin page that said support by android and winphone Also
https://build.phonegap.com/plugins/816
so...
is the problem cause for this ?
Hello,
I'd like to confirm how this plugin should be used. My understanding is that if I simply include the plugin in my project (which I am doing so through phonegap build), than this plugin will solve the problem of my Application being restarted by Android when the Camera comes into the foreground.
Is there some additional configuration or code I need to be using in order for this plugin to work?
Thanks,
David
Thank you for porting this wonderful plugin to Cordova 3
I understand adding in the functionality from foreground-gallery-plugin could be time consuming, but would it be possible to fallback to the default cordova native-gallery plugin when the sourceType
is set to Camera.PictureSourceType.SAVEDPHOTOALBUM
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.