GithubHelp home page GithubHelp logo

mwater / cordova-plugin-camera-foreground Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/cordova-plugin-camera

11.0 11.0 9.0 316 KB

Foreground Camera for Apache Phonegap

Java 11.47% JavaScript 48.17% Objective-C 27.51% C++ 0.71% C# 7.91% CSS 4.23%

cordova-plugin-camera-foreground's People

Contributors

agrieve avatar bennmapes avatar dgutie02 avatar filmaj avatar grassick avatar hermwong avatar infil00p avatar jamesjong avatar mwoghiren avatar purplecabbage avatar shazron avatar stevengill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-camera-foreground's Issues

take picture, app is restarting after capture.

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.

Phone Gap Build

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,

Camera.DestinationType.DATA_URL

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

What is the real purpose of this plug-in?

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 ?

Android app still restarts

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

Support for picking images from the gallery

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?

Switch to front camera

Hi, I'm looking for a way to implement a toggle button to switch the camera back/front. It's a possible implementation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.