Camera is not save file after generation

Hello

I'm relatively new to using Phonegap.

I develop a simple application that takes the picture and save the image to the photo album.

Basically it uses following code to take the photo and save it

navigator.camera.getPicture (onSuccess, onFail, {quality: destinationType 50,: Camera.DestinationType.FILE_URI, saveToPhotoAlbum: true});

function onSuccess (imageURI) {}

var image = document.getElementById ('myImage');

image. SRC = imageURI;

Console.log (imageURI);

}

function onFail (message) {}

Console.log ("failed because:" + message);

}

When I use it for Phonegap app to test, it works as expected.

who takes a picture and that you save.

However, after the compilation and installation of the app it seems to be error when using the camera.

Access the camera, but when the image is saved, it throws error

I use 5 Nexus with the Android 6.0.1 to test

The CLI PhoneGap version is cli - 6.3.0.

I noticed that my application has no permission to use the camera or file storage

This might be reason?

Here is my file config.xml

" < widget xmlns =" http://www.w3.org/ns/widgets "xmlns:gap =" " http://PhoneGap.com/ns/1.0 "id ="com.uber.ish"version ="0.9.7.4">

< App name > < / name >

App name < description > < / description >

" < author href = ' http://AAA "email =" " [email protected] "> app team < / author > .

< src = "index.html" / content >

< = "permissions" option name value = 'all' / >

< name of option = "orientation" value = "default" / >

< name of option = "target device" value = "universal" / >

< name of option = "full screen" value = "false" / >

< name of option = "webviewbounce" value = "true" / >

< name of option = "rentals-icon" value = "true" / >

< = "stay webview" option name value = "false" / >

< name of option = value 'ios-statusbarstyle"="Black opaque"/ >

< name of option = "detect types of data" value = "true" / >

< = 'exit suspend' option name value = "false" / >

< option value = "show-splash-screen-spinner" name = "true" / >

< option value = "auto-hide-splash-screen" name = "true" / >

< name of option = "disable-cursor" value = "false" / >

< name of option = "android-minSdkVersion" value = "14" / >

< = "android-installLocation' value = 'auto' option name / >

< option name = "AndroidExtraFilesystems" value = "files, documents of external files, SD card, cache, cache-external" / >

< name of option = "AndroidPersistentFileLocation" value = "Compatibility" / >

< plugin name = "cordova-plugin-android-support-v4" spec = "21.0.1" / >

< plugin name = spec "cordova-plugin-googleplayservices" = "19.0.3" / >

< plugin name = "cordova-plugin-whitelist" spec = "1.2.2" / >

< plugin name = 'onesignal-cordova-plugin-bmp-compat' spec = "1.13.1" / >

< = plugin name ' org.apache.cordova.battery - status "source ="CDP"spec ="0.2.12"/ >

< name = "org.apache.cordova.camera plugin" source = "CDP" spec = "0.3.6" / > "

< name = "org.apache.cordova.console plugin" source = "CDP" spec = "0.2.13" / > "

< name = "org.apache.cordova.contacts plugin" source = "CDP" spec = "0.2.16" / > "

< name = "org.apache.cordova.device plugin" source = "CDP" spec = "0.3.0" / > "

< name of the plugin = "org.apache.cordova.device - motion" source = "CDP" spec = "0.2.11" / >

< = plugin name "org.apache.cordova.device - orientation" source = "CDP" spec = "0.3.11" / >

< name = "org.apache.cordova.dialogs plugin" source = "CDP" spec = "0.3.0" / > "

< name = "org.apache.cordova.file plugin" source = "CDP" spec = "1.3.3" / > "

< name of the plugin = "org.apache.cordova.file - transfer" source = "CDP" spec = '0.5.0' / >

< name = "org.apache.cordova.geolocation plugin" source = "CDP" spec = "0.3.12" / > "

< name = "org.apache.cordova.globalization plugin" source = "CDP" spec = "0.3.4" / > "

< name = "org.apache.cordova.inappbrowser plugin" source = "CDP" spec = "0.6.0" / > "

< name = "org.apache.cordova.media plugin" source = "CDP" spec = "0.2.16" / > "

< plugin name = "org.apache.cordova.media - capture" source = "CDP" spec = "0.3.6" / >

< name of the plugin = "org.apache.cordova.network - information" source = "CDP" spec = "0.2.15" / >

< name = "org.apache.cordova.splashscreen plugin" source = "CDP" spec = "1.0.0" / > "

< name = "org.apache.cordova.vibration plugin" source = "CDP" spec = "0.3.13" / > "

< src = "icon.png" / icon >

"< src="www/res/icon/android/icon-36-ldpi.png icon "gap: platform = gap: qualifier 'android' ="ldpi"/ >

"< src="www/res/icon/android/icon-48-mdpi.png icon "gap: platform = gap: qualifier"android"="mdpi"/ >

"< src="www/res/icon/android/icon-72-hdpi.png icon "gap: platform = gap: qualifier 'android' ="hdpi"/ >

"< src="www/res/icon/android/icon-96-xhdpi.png icon "gap: platform = gap: qualifier 'android' ="xhdpi"/ >

"< src="www/res/icon/blackberry/icon-80.png icon "gap: platform ="blackberry"/ >

"< src="www/res/icon/blackberry/icon-80.png icon "gap: platform ="blackberry"gap: state ="high"/ >

"< src="www/res/icon/ios/icon-57.png icon "gap: platform ="ios"width ="57"height ="57"/ >

"< icon src="www/res/icon/ios/icon-72.png "gap: platform ="ios"width ="72"height ="72"/ >

"< src="www/res/icon/ios/icon-57-2x.png icon "gap: platform ="ios"width ="114"height ="114"/ >

"< src="www/res/icon/ios/icon-72-2x.png icon "gap: platform ="ios"width ="144"height ="144"/ >

"< src="www/res/icon/webos/icon-64.png icon "gap: platform ="webos"/ >

"< src="www/res/icon/windows-phone/icon-48.png icon "gap: platform ="winphone"/ >

"< src="www/res/icon/windows-phone/icon-173-tile.png icon "gap: Platform = 'winphone" gap: role = "background" / >

"< src="www/res/screen/android/screen-ldpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-ldpi"/ >

"< src="www/res/screen/android/screen-mdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-mdpi"/ >

"< src="www/res/screen/android/screen-hdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-hdpi"/ >

"< src="www/res/screen/android/screen-xhdpi-portrait.png gap: splash "gap: platform = gap: qualifier 'android' ="port-xhdpi"/ >

"< src="www/res/screen/blackberry/screen-225.png gap: splash "gap: platform ="blackberry"/ >

"< src="www/res/screen/ios/screen-iphone-portrait.png gap: splash "gap: platform ="ios"width ="320"height ="480"/ >

"< src="www/res/screen/ios/screen-iphone-portrait-2x.png gap: splash "gap: platform ="ios"width ="640"height ="960"/ >

"< src="www/res/screen/ios/screen-iphone-portrait-568h-2x.png gap: splash "gap: platform ="ios"width ="640"height ="1136"/ >

"< src="www/res/screen/ios/screen-ipad-portrait.png gap: splash "gap: platform ="ios"width ="768"height ="1024"/ >

"< src="www/res/screen/ios/screen-ipad-landscape.png gap: splash "gap: platform ="ios"width ="1024"height ="768"/ >

"< src="www/res/screen/windows-phone/screen-portrait.jpg gap: splash "gap: platform ="winphone"/ >

< access origin = "*" / >

" < allow intention href = ' http://*/* "/>

" < allow intention href = ' https://*/* "/>

< allow intention href = "Tel: *" / >

< allow intention href = "sms: *" / >

< allow intention href = "mailto:*" / >

< allow intention href = "geo: *" / >

< platform name = "android" >

< allow intention href = "market: *" / >

< / platform >

< platform name = "ios" >

< allow intention href = "itms: *" / >

< allow intention href = "itms-apps: *" / >

< / platform >

< platform name = "winphone" / >

< / widget >

You use all the old plugins since deprecated GBP repo.

You must instead use the latest version of the plugin of NPM. Be aware that these colors are called differently.

In addition, remove the plugins that you don't need.

Tags: PhoneGap

Similar Questions

  • in acrobat pro DC, I can't re - save files after making changes and the number appear in what looks like Arabic?

    in acrobat pro DC, I can't re - save files after making changes and the number appear in what looks like Arabic?, I run repair and rebooted the computer several times now...

    Ann Chinsang wrote:

    I can not re - save files

    Why? What is the procedure that you follow? What is the error message?

    Ann Chinsang wrote:

    number appear in what looks like the Arabic

    -What are you talking about? When you try to change the numbers in my document; it evolves in Arabic numerals

  • Automated batch PS Action do not save files

    Hello

    With the help of JJ Mack, I developed a very successful PS Action that converted the white funds in safe and transparent .png files.  He was very helpful and the action ran with great success the first time.  I ran a few others actions and lots to do other things, and when I returned to perform batch action once again, it will work but will not save files!  It seems to go through the steps, but does not record.  When I go through the SAME steps manually, it works perfectly.

    The action runs Javascript of JJ, which modifies the lower layer, selects the image white background items and then removes them, and saves the file.

    Can someone figure out why this action stopped saving files?

    I don't trust my parameters of the batch because I had to change these to perform other actions, and I noticed the "compatibility: Windows" is grayed out and I don't know why.  I tried a few different options in the PLC > parameters of treatment by lots, but nothing seems to help save the files.  Here are the current settings of the batch:

    screenshot_PSBatchSettings073116.jpg

    And here is a screenshot of the actions (which remember, worked perfectly before.)

    screenshot_PStransparencyAction073116.jpg

    Anyone know why it will not save the converted files?

    Thank you!

    Remove the last two steps in this action.  Download and install the plugin Image Processor Pro script.  Then use Photoshop menu File > Automate > Image Processor Pro... the action to remove the background and thus the size of the script and save all the files you want png.

  • Will not save file because it is supposed to be read-only, but I'm not read-only.

    Will not save file because it is supposed to be read-only, but I'm not read-only. The file is NOT read-only. I checked by accessing the properties on the file.

    The error message says:

    "The file may be read-only or another user can open. Please save the doent under a different name or in a different folder. »

    Hi farukp69792329 ,

    Please provide the point exact Acrobat & OS version installed on your system. This is the file is saved to the network drive or local. If his backup to disk network suggest you save to local disk.

    If its windows, please disable the preview pane feature.

    If you still get the same message

    Disable the Safe_mode Adobe

    go to Edition-> Preferences-> Security

    Uncheck the box enable improved security.

    Kind regards

    Christian

  • just upgraded to Imac 27 "5K, installed the Software Photoshop cs4, then saving files get 'could not save file currently in use or is still open' how can I remedy?

    just upgraded to Imac 27 "5K, installed the Software Photoshop cs4, then saving files get 'could not save file currently in use or is still open' how can I remedy?

    Check this message: Re: "cannot save (file name) because the file is already in use or left pending."

  • HR HTML 9.02 and Source Control 3.1 will not save files in design mode, only the HTML view.

    We use RoboHelp 9.02 (just 9 and charged the next day so up-to-date, we 9,02) and Robo Source Control 3.1 and when we check a file and change the file, we can not save the file in Design view.  If we click on the HTML mode, we can save the file.  We have reproduced this on multiple files at the same time our computers accessing the server.  Now using RoboHelp HTML on a local project is functioning normally, only when we have access to the files on the server we select the HTML mode in order to save the topic.

    While this is an acceptable work around short term, we need this bug to get fixed unless someone knows of a checkbox somewhere that we must check in design mode to record and studied.

    I will be happy to provide you with any input and or test the additional fixes to help to fix this bug.  It is completely reproducible and constant on all tested subjects.  Source code control works insofar as this case the subject is verified by one the other cannot access the topic.  Once the topic is saved in HTML, then the subject can be archived and changes are visible by the other author.

    After the installation of Robo 9, Adobe Acrobat Professional 8 has been removed from the computer and MS Word 2000 did not work.  I've upgraded to Office/Word 2003 and I can now use Word 2003.  I have not attempted to reload Acrobat yet but that is next on my list.  Acrobat Professional was removed from these two computers during the installation.  Word 2000 exists only on the laptop.  I was in the queue to get updated later in the year, so they gave me a key and Word 03 seems to operate normally.  Did not check the Excel or PowerPoint 2000.

    Other news, you may be interested to know:

    • Both computers use Windows XP.
    • Both have office 2003.  -C' is because Word 2000 stopped working when Robo 9 has been installed.
    • Both have with max memory 32-bit operating systems.
    • Both have multiple monitors.
    • One is a laptop, the other is a desktop computer.
    • Both computers had 8.02 Robo? but RH8 was uninstalled before installing RH9.
    • 3.1 source code control has not been reinstalled on the server since version was the same that came with RH9
    • Source control has been reinstalled as a step of troubleshooting on the laptop without change.
    • RSO3 middle-tier service is running on all 3 computers and RSO3 server runs on the server pc.
    • Two users have administrator rights so all of the checkboxes are checked for access and control.

    Kind regards

    DV

    Having identified some problems in our global variable file in another project, I had a look at this project and found a few variables were empty, have a mystery character input or information applied to the variable fonts.  Rather than change back the variable only one digit or a character with no set form and text input in variables of the virgins, I deleted the unused variables of the project that just happened to 99% of the variables because we divided this part of the project in a booth along the project.  Remove the variables solved the problem where we had to switch from Design view to HTML view in order to save a topic.  I find this rather strange since none of the topics referenced stray variables.  Now we have only the variable of the version that refers to all subjects in the foot.  Everything seems to work fine now.  If you encounter this problem, have a good look at your file of global variables, line by line, to see if there is something other than text or numbers and delete everything except for the text.

    DV

  • Safari on Mac not save history after restoring from Time Machine

    After doing a full restore on my Macbook Air of Time Machine, Safari is not displayed no browsing history, or he saves history after that I left Safari. I've restored the history file of Time Machine, but it does not, either. I'm not in private browsing mode. I also tried to erase the history, but it does not help.

    Any ideas?

    This procedure is a diagnostic test. It makes no changes to your data.

    Please triple - click anywhere in the line below on this page to select:

    ls -@BOaen L*/Safari | pbcopy

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    Launch the Terminal application integrated in one of the following ways:

    ☞ Enter the first letters of his name in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Paste in the Terminal window by pressing the command-V key combination. I tested these instructions only with the Safari browser. If you use another browser, you may need to press the return key after pasting.

    Wait for a new line ending with a dollar sign ($) below what you entered.

    The output of the command will be automatically copied to the Clipboard. If the command produces no output, the Clipboard is empty. Paste into a reply to this message.

    The Terminal window does not display the output. Please do not copy from there.

  • Software Easy Photo will not save file!

    Help! I've been using software of Canon Easy-Photo for several years now, but in the last few months, she developed a problem where it will save is no longer my files. When I'm done and print a DVD, then SAVE, he comes back with the error "Unable to save the file."

    I've uninstalled and reinstalled the software several times, but this does not solve the problem. I just today installed again (after uninstalling), this time from the disc supplied with my new MG7120. Same problem! I went online and downloaded what should be the latest version (4.5) and installed one — will still not save.

    Any ideas?

    OOOOOhhhhhh! The problem must have arisen at the time I've updated to WIN 8.1 - not that the program has problems to the point 8.1, but because I have finally had time to change my profile normal user in a non-admin type profile. If I run the software as an administrator, I can save files.

    Well, maybe the problem will happen to someone else, and this will help!

  • Photoshop does not save files due to the program error.

    I know what happens to many people, it seems. I tried everything I can. I can't save files that need to be done today. I'm going to record and photoshop says "cannot be done due to program error"

    have turned off the generator and graphics processing

    have you tried different text engine

    have uninstalled and reinstalled photoshop

    did a hard reset on all Pshop preferences...

    have restarted 476 times

    What can I do else? I can't find an update for the ATI Radeon HD 5770 video card I'm running, either. Please help

    Brett

    Thanks for the links c.pfaffenbichler. I ran through most of these things two and three times more. Last night, before giving up, I have reset the preferences with the keyboard (shift, option, command) command when Pshop starting... He has nothing. This morning, after you completely uninstall then reinstall Pshop, I advanced and open preferences Pshop file and drag on the pref.psp file. Restarted Pshop and managed to save the files I need to get out today. Why is the solution is beyond me.

    Upgrading my video card would help? This is the fourth or fifth catastrophic Photoshop problem I've had in the past months which has implemented a complete stand still...

  • Can not see files after you have saved a copy but when save twice tells me file already exist

    I saved some files to my documents and my office. However, after the closing of the record I don't see, to no, them / it on the destop or in my documents. Then, I opened the file and saved an additional time and asked at the outset that "the file exists you want to overwrite? Why can't I view the files?

    You will find when you tell windows to show you its hidden and system files: http://goo.gl/ejb7P

  • RAV of the camera cannot open NEF files after update 2015?

    Hi, my camera raw can't open NEF file form nikon D300s after update. It seems that Raw can not load the version 9.1.1. I also installed the zip file with the version 9.1.1. Adopes support site, but it does not erase the pain.

    Someone who can help?

    Windows 7 pro

    Photoshop CC 2015

    Hi 2hani,

    • Open Bridge or Photoshop
    • Go to preferences - camera raw preferences and uncheck CPU chart use
    • Restart /Bridge PS and then check again.

    Concerning

    Rohit

  • K3 Note sound camera is not turning off after update of Marshmallow

    After the update of the marshmallow sound camera my k3 note Sutter's not turn off... Even in silent mode, it sounds very strong.
    Someone knows how to turn off the sound.

    Note from the admin; phone added to the subject type

    When using your camera, simply turn on the option of DND and the shutter sound will be silent.

  • CD player will not save because after the last update

    I've been using the same PDF template for several years. I save under and I'm taken to a white drum that gives me my options on the save location. When I tried to do today, white box comes up with a four squares logo faded to spin in the middle and the entire screen flashes. It won't save as or let me something else that print. I know I get to save as on this file because I have used for years. I use a Surface Pro 2 and there was a recent windows update last night. Please help with ideas. I have already uninstalled and reinstalled drive.

    Several people in my company had the same problem. Found the solution here: ' Save as ' box pop up does not allow me to save the document.

  • Illustrator will not save files to the new computer.

    I just open Illustrator on my new mac and it wont let me save anything. It is not recognize that I have a valid license or something. How to solve this without losing my work that has not been saved?

    CS6. I was able to save the file as a template. Then I reinstalled Illustrator, restarted my computer, open the file and was able to save him. Thank you.

  • Metadata do not save file .tif

    Hi all

    I'm trying to save keywords and metadata to TIFF files in my Lightroom Catalog, but each time it gives me an error saying that the file type is not recognized. I can always add tags to the image search in the catalog, but I really prefer they be stored in metadata so that they are still readable in other programs.

    Screen Shot 2015-12-29 at 3.16.31 PM.png

    the files are imported from a server

    Place a copy of one of the problem files in/Users/you/Pictures and import it into your catalog.  The problem persists?

    If it does not, there is some sort of permissions or compatibility issue with the server.  If this happens, download the photo to Dropbox (or similar) and we can see if the problem occurs to others and narrow the problem.

Maybe you are looking for