Added: cordova/site/public/docs/en/6.x/cordova-plugin-camera/index.html
URL: 
http://svn.apache.org/viewvc/cordova/site/public/docs/en/6.x/cordova-plugin-camera/index.html?rev=1734016&view=auto
==============================================================================
--- cordova/site/public/docs/en/6.x/cordova-plugin-camera/index.html (added)
+++ cordova/site/public/docs/en/6.x/cordova-plugin-camera/index.html Tue Mar  8 
01:36:30 2016
@@ -0,0 +1,3556 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+    <meta name="format-detection" content="telephone=no">
+    <meta name="viewport" content="user-scalable=no, initial-scale=1, 
maximum-scale=1, minimum-scale=1, width=device-width" />
+    <meta name="description" content=" ">
+
+    <title>
+        
+            Apache Cordova
+        
+    </title>
+
+    <link rel="SHORTCUT ICON" href="/favicon.ico"/>
+    <link rel="canonical" 
href="https://cordova.apache.org/docs/en/6.x/cordova-plugin-camera/";>
+
+    <!-- CSS -->
+    <link rel="stylesheet" type="text/css" href="/static/css/main.css">
+
+    
+    <link rel="stylesheet" type="text/css" 
href="/static/js/lib/prettify/prettify.css">
+    
+
+    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media 
queries -->
+    <!--[if lt IE 9]>
+        <script 
src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js";></script>
+        <script 
src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js";></script>
+    <![endif]-->
+    <script type="text/javascript">
+        var disqus_developer = 1; // this would set it to developer mode
+    </script>
+
+    <!-- JS -->
+    <script defer type="text/javascript" 
src="/static/js/lib/jquery-2.1.1.min.js"></script>
+    <script defer type="text/javascript" 
src="/static/js/lib/bootstrap.min.js"></script>
+    <script defer type="text/javascript" 
src="/static/js/lib/ZeroClipboard.js"></script>
+</head>
+
+<body>
+    <header>
+    <a class="scroll-point pt-top" name="top"></a>
+    <nav class="navbar navbar-inverse navbar-fixed-top">
+        <div class="container-fluid">
+            <div class="navbar-header">
+                <button type="button" class="navbar-toggle collapsed" 
data-toggle="collapse" data-target="#navbar" aria-expanded="false" 
aria-controls="navbar">
+                    <span class="sr-only">Toggle navigation</span>
+                    <span class="icon-bar"></span>
+                    <span class="icon-bar"></span>
+                    <span class="icon-bar"></span>
+                </button>
+                <a class="navbar-brand" href="/"><img id="logo_top" 
src="/static/img/cordova-logo-newbrand.svg"/></a>
+            </div>
+            <div id="navbar" class="navbar-collapse collapse">
+                <div class="nav_bar_center">
+                    <ul class="nav navbar-nav">
+                        <li class="active">
+                            <a 
href="/docs/en/latest/guide/overview/">Documentation</a>
+                        </li>
+                        <li >
+                            <a href="/plugins">Plugins</a>
+                        </li>
+                        <li >
+                            <a href="/blog" id="blog_button">Blog<span 
class="badge" id="new_blog_count"></span></a>
+                        </li>
+                        <li >
+                            <a href="/contribute">Contribute</a>
+                        </li>
+                        <li>
+                            <a href="/#getstarted">Get Started</a>
+                        </li>
+                    </ul>
+                    <form action="https://www.google.com/search"; method="GET" 
class="navbar-form navbar-right" id="header-search-form" role="search">
+                        <div class="input-group">
+                            <input type="text" name="q" class="form-control 
hidden-sm" placeholder="Site-wide Search">
+                            <span class="input-group-btn">
+                                <button type="submit" class="btn 
search-button">
+                                    <span class="glyphicon glyphicon-search" 
aria-hidden="true"></span>
+                                </button>
+                            </span>
+                        </div>
+                        <input type="hidden" name="q" 
value="site:cordova.apache.org">
+                    </form>
+                </div>
+            </div><!--/.navbar-collapse -->
+        </div>
+    </nav>
+    <div id="_fixed_navbar_spacer" style="padding-top:50px"></div>
+</header>
+
+    <!-- Use the manual ToC, and if it doesn't exist, use the generated one -->
+
+
+    
+
+
+
+
+
+
+
+
+
+<div class="docs container">
+
+    <!-- Table of Contents -->
+    <div class="hidden-xs hidden-sm col-md-3 site-toc-container">
+        <h2 class="site-toc-title">Table of Contents</h2>
+        <ul class="site-toc">
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Introduction
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/overview/index.html">
+            Overview
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Create apps
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/cli/index.html">
+            Create your first app
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/support/index.html">
+            Platform support
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Develop for platforms
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/android/index.html">
+            Android
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/blackberry10/home.html">
+            Blackberry 10
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/ios/index.html">
+            iOS
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/osx/index.html">
+            OS X
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/ubuntu/index.html">
+            Ubuntu
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/win8/index.html">
+            Windows
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/wp8/home.html">
+            WP8
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../platform_plugin_versioning_ref/index.html">
+            Manage versions and platforms
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../config_ref/images.html">
+            Customize icons
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova/storage/storage.html">
+            Store data
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/appdev/privacy/index.html">
+            Manage privacy
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/appdev/security/index.html">
+            Manage security
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/appdev/whitelist/index.html">
+            Whitelisting
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Create plugins
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/hybrid/plugins/index.html">
+            Create a plugin
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Develop for platforms
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/android/plugin.html">
+            Android
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/blackberry10/plugin.html">
+            Blackberry 10
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/ios/plugin.html">
+            iOS
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/win8/plugin.html">
+            Windows
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/platforms/wp8/plugin.html">
+            WP8
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../plugin_ref/plugman.html">
+            Use Plugman
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Advanced Topics
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/hybrid/webviews/index.html">
+            Embed Cordova in native apps
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/next/index.html">
+            Next Steps
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Reference
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../config_ref/index.html">
+            Config.xml
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova/events/events.html">
+            Events
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-cli/index.html">
+            CLI
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../guide/appdev/hooks/index.html">
+            Hooks
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../plugin_ref/spec.html">
+            Plugin.xml
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+        
+    
+
+    <li>
+        
+        <span class="toc-section-heading">
+            Plugin APIs
+        </span>
+        
+
+        
+        
+
+        
+        <ul class="site-toc">
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-battery-status/index.html">
+            Battery Status
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="this-page" href="../cordova-plugin-camera/index.html">
+            Camera
+        </a>
+        
+
+        
+        <div id="page-toc" class="page-toc"></div>
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-console/index.html">
+            Console
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-contacts/index.html">
+            Contacts
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-device/index.html">
+            Device
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-device-motion/index.html">
+            Device Motion
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-device-orientation/index.html">
+            Device Orientation
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-dialogs/index.html">
+            Dialogs
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-file/index.html">
+            File
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-file-transfer/index.html">
+            File Transfer
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-geolocation/index.html">
+            Geolocation
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-globalization/index.html">
+            Globalization
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-inappbrowser/index.html">
+            Inappbrowser
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-media/index.html">
+            Media
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-media-capture/index.html">
+            Media Capture
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-network-information/index.html">
+            Network Information
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-splashscreen/index.html">
+            Splashscreen
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-vibration/index.html">
+            Vibration
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-statusbar/index.html">
+            Statusbar
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-whitelist/index.html">
+            Whitelist
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+
+    
+    
+
+    <li>
+        
+        <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+            Legacy Whitelist
+        </a>
+        
+
+        
+        
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+</ul>
+
+        
+    </li>
+    
+
+    
+    
+        
+            
+</ul>
+
+    </div>
+
+    <!-- Page content -->
+    <div class="col-md-8 col-md-offset-1">
+
+        <!-- ToC Dropdown (for XS and SM sizes only) -->
+        <div class="toc-dropdown content-header visible-xs-block 
visible-sm-block">
+            <div class="dropdown">
+                <button class="btn btn-default dropdown-toggle" type="button" 
id="tocDropdown" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="true">
+                    Table of Contents
+                    <span class="caret"></span>
+                </button>
+                <ul class="dropdown-menu">
+                    
+
+
+
+
+<li>
+    <a class="" href="../guide/overview/index.html">
+        Overview
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/cli/index.html">
+        Create your first app
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/support/index.html">
+        Platform support
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/android/index.html">
+        Android
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/blackberry10/home.html">
+        Blackberry 10
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/ios/index.html">
+        iOS
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/osx/index.html">
+        OS X
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/ubuntu/index.html">
+        Ubuntu
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/win8/index.html">
+        Windows
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/wp8/home.html">
+        WP8
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../platform_plugin_versioning_ref/index.html">
+        Manage versions and platforms
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../config_ref/images.html">
+        Customize icons
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../cordova/storage/storage.html">
+        Store data
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/appdev/privacy/index.html">
+        Manage privacy
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/appdev/security/index.html">
+        Manage security
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/appdev/whitelist/index.html">
+        Whitelisting
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/hybrid/plugins/index.html">
+        Create a plugin
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/android/plugin.html">
+        Android
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/blackberry10/plugin.html">
+        Blackberry 10
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/ios/plugin.html">
+        iOS
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/win8/plugin.html">
+        Windows
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/platforms/wp8/plugin.html">
+        WP8
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../plugin_ref/plugman.html">
+        Use Plugman
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/hybrid/webviews/index.html">
+        Embed Cordova in native apps
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../guide/next/index.html">
+        Next Steps
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../config_ref/index.html">
+        Config.xml
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova/events/events.html">
+        Events
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-cli/index.html">
+        CLI
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../guide/appdev/hooks/index.html">
+        Hooks
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../plugin_ref/spec.html">
+        Plugin.xml
+    </a>
+</li>
+
+
+
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-battery-status/index.html">
+        Battery Status
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="this-page" href="../cordova-plugin-camera/index.html">
+        Camera
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-console/index.html">
+        Console
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-contacts/index.html">
+        Contacts
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-device/index.html">
+        Device
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-device-motion/index.html">
+        Device Motion
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-device-orientation/index.html">
+        Device Orientation
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-dialogs/index.html">
+        Dialogs
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-file/index.html">
+        File
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-file-transfer/index.html">
+        File Transfer
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-geolocation/index.html">
+        Geolocation
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-globalization/index.html">
+        Globalization
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-inappbrowser/index.html">
+        Inappbrowser
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-media/index.html">
+        Media
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-media-capture/index.html">
+        Media Capture
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-network-information/index.html">
+        Network Information
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-splashscreen/index.html">
+        Splashscreen
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-vibration/index.html">
+        Vibration
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-statusbar/index.html">
+        Statusbar
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-whitelist/index.html">
+        Whitelist
+    </a>
+</li>
+
+
+
+
+<li>
+    <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+        Legacy Whitelist
+    </a>
+</li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+                </ul>
+            </div>
+        </div>
+
+        <div class="content-header">
+
+            <a class="edit" 
href="https://github.com/apache/cordova-plugin-camera/blob/master/README.md";>
+                <span class="glyphicon glyphicon-pencil" 
aria-hidden="true"></span> Edit
+            </a>
+
+            <!-- Language dropdown -->
+            <div class="dropdown">
+                <button class="btn btn-default dropdown-toggle" type="button" 
id="languageDropdown" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="true">
+                    English
+                    <span class="caret"></span>
+                </button>
+
+                <!-- List all languages -->
+                <ul class="dropdown-menu" aria-labelledby="languageDropdown">
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/de/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Deutsch
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/en/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                <span class="selected">
+                                    English
+                                </span>
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/es/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Español
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/fr/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Français
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/it/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Italiano
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/ja/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                日本語
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/ko/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                한국어
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/pl/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Polski
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/ru/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Русский
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/sl/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                Slovene
+                            
+                        </a>
+                    </li>
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+                    
+
+                    
+
+                    <li>
+                        <a 
href="/docs/zh/6.x/cordova-plugin-camera/index.html" class="
+                        
+                        
+                    "
+                        >
+                            
+                                汉语
+                            
+                        </a>
+                    </li>
+                    
+                </ul>
+            </div>
+
+            <!-- Version dropdown -->
+            <div class="dropdown">
+                <button class="btn btn-default dropdown-toggle" type="button" 
id="versionDropdown" data-toggle="dropdown" aria-haspopup="true" 
aria-expanded="true">
+                    6.x
+                    
+                        (Latest)
+                    
+                    <span class="caret"></span>
+                </button>
+                <ul class="dropdown-menu" aria-labelledby="versionDropdown">
+
+                    <!-- List versions available in this language -->
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/dev/cordova-plugin-camera/index.html">
+                            
+                                
+                            dev
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/6.x/cordova-plugin-camera/index.html">
+                            
+                                <span class="selected">
+                                    
+                            6.x
+                            
+                                (Latest)
+                            
+                        
+                                </span>
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/5.4.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            5.4.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/5.1.1/cordova-plugin-camera/index.html">
+                            
+                                
+                            5.1.1
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/5.0.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            5.0.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/4.0.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            4.0.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.6.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.6.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.5.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.5.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.4.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.4.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.3.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.3.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.2.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.2.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.1.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.1.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/3.0.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            3.0.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.9.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.9.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.8.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.8.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.7.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.7.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.6.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.6.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.5.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.5.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.4.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.4.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.3.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.3.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.2.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.2.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.1.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.1.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/2.0.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            2.0.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.9.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.9.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.8.1/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.8.1
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.8.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.8.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.7.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.7.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.6.1/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.6.1
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.6.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.6.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                    <li>
+                        
+                        
+
+                        
+
+                        
+                        
+
+                        <a 
href="/docs/en/1.5.0/cordova-plugin-camera/index.html">
+                            
+                                
+                            1.5.0
+                            
+                        
+                            
+                        </a>
+                    </li>
+                    
+                </ul>
+            </div>
+        </div>
+
+        <!-- Get URL for this page in the latest version -->
+        
+        
+        
+
+        <!-- Show warnings for special versions (i.e. non-latest, and dev) -->
+        
+
+        
+            <div class="alert alert-warning docs-alert" role="alert">
+                <button type="button" class="close" data-dismiss="alert" 
aria-label="Close">
+                    <span aria-hidden="true">&times;</span>
+                </button>
+                This documentation describes this plugin at version master.
+                <a 
href="https://github.com/apache/cordova-plugin-camera/releases";>
+                    Other versions are on GitHub.
+                </a>
+            </div>
+
+        
+
+        <div id="page-toc-source">
+            <!---
+# license: Licensed to the Apache Software Foundation (ASF) under one
+#         or more contributor license agreements.  See the NOTICE file
+#         distributed with this work for additional information
+#         regarding copyright ownership.  The ASF licenses this file
+#         to you under the Apache License, Version 2.0 (the
+#         "License"); you may not use this file except in compliance
+#         with the License.  You may obtain a copy of the License at
+#
+#           http://www.apache.org/licenses/LICENSE-2.0
+#
+#         Unless required by applicable law or agreed to in writing,
+#         software distributed under the License is distributed on an
+#         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#         KIND, either express or implied.  See the License for the
+#         specific language governing permissions and limitations
+#         under the License.
+-->
+
+<p><a href="https://travis-ci.org/apache/cordova-plugin-camera";><img 
src="https://travis-ci.org/apache/cordova-plugin-camera.svg?branch=master"; 
alt="Build Status"></a></p>
+
+<h1>cordova-plugin-camera</h1>
+
+<p>This plugin defines a global <code 
class="prettyprint">navigator.camera</code> object, which provides an API for 
taking pictures and for choosing images from
+the system&#39;s image library.</p>
+
+<p>Although the object is attached to the global scoped <code 
class="prettyprint">navigator</code>, it is not available until after the <code 
class="prettyprint">deviceready</code> event.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">document.addEventListener(&quot;deviceready&quot;, 
onDeviceReady, false);
+function onDeviceReady() {
+    console.log(navigator.camera);
+}
+</code></pre></div>
+<h2>Installation</h2>
+
+<p>This requires cordova 5.0+</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">cordova plugin add cordova-plugin-camera
+</code></pre></div>
+<p>Older versions of cordova can still install via the 
<strong>deprecated</strong> id</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">cordova plugin add org.apache.cordova.camera
+</code></pre></div>
+<p>It is also possible to install via repo url directly ( unstable )</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">cordova plugin add 
https://github.com/apache/cordova-plugin-camera.git
+</code></pre></div>
+<h2>How to Contribute</h2>
+
+<p>Contributors are welcome! And we need your contributions to keep the 
project moving forward. You can <a 
href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Camera%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC">report
 bugs</a>, improve the documentation, or <a 
href="https://github.com/apache/cordova-plugin-camera/pulls";>contribute 
code</a>.</p>
+
+<p>There is a specific <a 
href="http://wiki.apache.org/cordova/ContributorWorkflow";>contributor 
workflow</a> we recommend. Start reading there. More information is available 
on <a href="http://wiki.apache.org/cordova";>our wiki</a>.</p>
+
+<p>:warning: <strong>Found an issue?</strong> File it on <a 
href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened)%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20Camera%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC">JIRA
 issue tracker</a>.</p>
+
+<p><strong>Have a solution?</strong> Send a <a 
href="https://github.com/apache/cordova-plugin-camera/pulls";>Pull 
Request</a>.</p>
+
+<p>In order for your changes to be accepted, you need to sign and submit an 
Apache <a href="http://www.apache.org/licenses/#clas";>ICLA</a> (Individual 
Contributor License Agreement). Then your name will appear on the list of CLAs 
signed by <a 
href="https://people.apache.org/committer-index.html#unlistedclas";>non-committers</a>
 or <a 
href="http://people.apache.org/committers-by-project.html#cordova";>Cordova 
committers</a>.</p>
+
+<p><strong>And don&#39;t forget to test and document your code.</strong></p>
+
+<h2>This documentation is generated by a tool</h2>
+
+<p>:warning: Run <code class="prettyprint">npm install</code> in the plugin 
repo to enable automatic docs generation if you plan to send a PR.<br>
+<a 
href="https://www.npmjs.com/package/jsdoc-to-markdown";>jsdoc-to-markdown</a> is 
used to generate the docs.<br>
+Documentation consists of template and API docs produced from the plugin JS 
code and should be regenerated before each commit (done automatically via <a 
href="https://github.com/typicode/husky";>husky</a>, running <code 
class="prettyprint">npm run gen-docs</code> script as a <code 
class="prettyprint">precommit</code> hook - see <code 
class="prettyprint">package.json</code> for details).</p>
+
+<hr>
+
+<h1>API Reference</h1>
+
+<ul>
+<li><p><a href="#module_camera">camera</a></p>
+
+<ul>
+<li><a href="#module_camera.getPicture">.getPicture(successCallback, 
errorCallback, options)</a></li>
+<li><a href="#module_camera.cleanup">.cleanup()</a></li>
+<li><a href="#module_camera.onError">.onError</a> : <code>function</code></li>
+<li><a href="#module_camera.onSuccess">.onSuccess</a> : 
<code>function</code></li>
+<li><a href="#module_camera.CameraOptions">.CameraOptions</a> : 
<code>Object</code></li>
+</ul></li>
+<li><p><a href="#module_Camera">Camera</a></p>
+
+<ul>
+<li><a href="#module_Camera.DestinationType">.DestinationType</a> : 
<code>enum</code></li>
+<li><a href="#module_Camera.EncodingType">.EncodingType</a> : 
<code>enum</code></li>
+<li><a href="#module_Camera.MediaType">.MediaType</a> : <code>enum</code></li>
+<li><a href="#module_Camera.PictureSourceType">.PictureSourceType</a> : 
<code>enum</code></li>
+<li><a href="#module_Camera.PopoverArrowDirection">.PopoverArrowDirection</a> 
: <code>enum</code></li>
+<li><a href="#module_Camera.Direction">.Direction</a> : <code>enum</code></li>
+</ul></li>
+<li><p><a href="#module_CameraPopoverHandle">CameraPopoverHandle</a></p></li>
+<li><p><a href="#module_CameraPopoverOptions">CameraPopoverOptions</a></p></li>
+</ul>
+
+<hr>
+
+<p><a name="module_camera"></a></p>
+
+<h2>camera</h2>
+
+<p><a name="module_camera.getPicture"></a></p>
+
+<h3>camera.getPicture(successCallback, errorCallback, options)</h3>
+
+<p>Takes a photo using the camera, or retrieves a photo from the device&#39;s
+image gallery.  The image is passed to the success callback as a
+base64-encoded <code class="prettyprint">String</code>, or as the URI for the 
image file.</p>
+
+<p>The <code class="prettyprint">camera.getPicture</code> function opens the 
device&#39;s default camera
+application that allows users to snap pictures by default - this behavior 
occurs,
+when <code class="prettyprint">Camera.sourceType</code> equals <a 
href="#module_Camera.PictureSourceType"><code 
class="prettyprint">Camera.PictureSourceType.CAMERA</code></a>.
+Once the user snaps the photo, the camera application closes and the 
application is restored.</p>
+
+<p>If <code class="prettyprint">Camera.sourceType</code> is <code 
class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> or
+<code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code>, 
then a dialog displays
+that allows users to select an existing image.  The
+<code class="prettyprint">camera.getPicture</code> function returns a <a 
href="#module_CameraPopoverHandle"><code 
class="prettyprint">CameraPopoverHandle</code></a> object,
+which can be used to reposition the image selection dialog, for
+example, when the device orientation changes.</p>
+
+<p>The return value is sent to the <a href="#module_camera.onSuccess"><code 
class="prettyprint">cameraSuccess</code></a> callback function, in
+one of the following formats, depending on the specified
+<code class="prettyprint">cameraOptions</code>:</p>
+
+<ul>
+<li><p>A <code class="prettyprint">String</code> containing the base64-encoded 
photo image.</p></li>
+<li><p>A <code class="prettyprint">String</code> representing the image file 
location on local storage (default).</p></li>
+</ul>
+
+<p>You can do whatever you want with the encoded image or URI, for
+example:</p>
+
+<ul>
+<li><p>Render the image in an <code class="prettyprint">&lt;img&gt;</code> 
tag, as in the example below</p></li>
+<li><p>Save the data locally (<code class="prettyprint">LocalStorage</code>, 
<a href="http://brianleroux.github.com/lawnchair/";>Lawnchair</a>, etc.)</p></li>
+<li><p>Post the data to a remote server</p></li>
+</ul>
+
+<p><strong>NOTE</strong>: Photo resolution on newer devices is quite good. 
Photos
+selected from the device&#39;s gallery are not downscaled to a lower
+quality, even if a <code class="prettyprint">quality</code> parameter is 
specified.  To avoid common
+memory problems, set <code class="prettyprint">Camera.destinationType</code> 
to <code class="prettyprint">FILE_URI</code> rather
+than <code class="prettyprint">DATA_URL</code>.</p>
+
+<p><strong>Supported Platforms</strong></p>
+
+<ul>
+<li>Android</li>
+<li>BlackBerry</li>
+<li>Browser</li>
+<li>Firefox</li>
+<li>FireOS</li>
+<li>iOS</li>
+<li>Windows</li>
+<li>WP8</li>
+<li>Ubuntu</li>
+</ul>
+
+<p>More examples <a href="#camera-getPicture-examples">here</a>. Quirks <a 
href="#camera-getPicture-quirks">here</a>.</p>
+
+<p><strong>Kind</strong>: static method of <code><a 
href="#module_camera">camera</a></code>  </p>
+
+<table><thead>
+<tr>
+<th>Param</th>
+<th>Type</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>successCallback</td>
+<td><code><a href="#module_camera.onSuccess">onSuccess</a></code></td>
+<td></td>
+</tr>
+<tr>
+<td>errorCallback</td>
+<td><code><a href="#module_camera.onError">onError</a></code></td>
+<td></td>
+</tr>
+<tr>
+<td>options</td>
+<td><code><a href="#module_camera.CameraOptions">CameraOptions</a></code></td>
+<td>CameraOptions</td>
+</tr>
+</tbody></table>
+
+<p><strong>Example</strong>  </p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span 
class="nx">navigator</span><span class="p">.</span><span 
class="nx">camera</span><span class="p">.</span><span 
class="nx">getPicture</span><span class="p">(</span><span 
class="nx">cameraSuccess</span><span class="p">,</span> <span 
class="nx">cameraError</span><span class="p">,</span> <span 
class="nx">cameraOptions</span><span class="p">);</span>
+</code></pre></div>
+<p><a name="module_camera.cleanup"></a></p>
+
+<h3>camera.cleanup()</h3>
+
+<p>Removes intermediate image files that are kept in temporary storage
+after calling <a href="#module_camera.getPicture"><code 
class="prettyprint">camera.getPicture</code></a>. Applies only when the value of
+<code class="prettyprint">Camera.sourceType</code> equals <code 
class="prettyprint">Camera.PictureSourceType.CAMERA</code> and the
+<code class="prettyprint">Camera.destinationType</code> equals <code 
class="prettyprint">Camera.DestinationType.FILE_URI</code>.</p>
+
+<p><strong>Supported Platforms</strong></p>
+
+<ul>
+<li>iOS</li>
+</ul>
+
+<p><strong>Kind</strong>: static method of <code><a 
href="#module_camera">camera</a></code><br>
+<strong>Example</strong>  </p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span 
class="nx">navigator</span><span class="p">.</span><span 
class="nx">camera</span><span class="p">.</span><span 
class="nx">cleanup</span><span class="p">(</span><span 
class="nx">onSuccess</span><span class="p">,</span> <span 
class="nx">onFail</span><span class="p">);</span>
+
+<span class="kd">function</span> <span class="nx">onSuccess</span><span 
class="p">()</span> <span class="p">{</span>
+    <span class="nx">console</span><span class="p">.</span><span 
class="nx">log</span><span class="p">(</span><span class="s2">&quot;Camera 
cleanup success.&quot;</span><span class="p">)</span>
+<span class="p">}</span>
+
+<span class="kd">function</span> <span class="nx">onFail</span><span 
class="p">(</span><span class="nx">message</span><span class="p">)</span> <span 
class="p">{</span>
+    <span class="nx">alert</span><span class="p">(</span><span 
class="s1">&#39;Failed because: &#39;</span> <span class="o">+</span> <span 
class="nx">message</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>
+<p><a name="module_camera.onError"></a></p>
+
+<h3>camera.onError : <code>function</code></h3>
+
+<p>Callback function that provides an error message.</p>
+
+<p><strong>Kind</strong>: static typedef of <code><a 
href="#module_camera">camera</a></code>  </p>
+
+<table><thead>
+<tr>
+<th>Param</th>
+<th>Type</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>message</td>
+<td><code>string</code></td>
+<td>The message is provided by the device&#39;s native code.</td>
+</tr>
+</tbody></table>
+
+<p><a name="module_camera.onSuccess"></a></p>
+
+<h3>camera.onSuccess : <code>function</code></h3>
+
+<p>Callback function that provides the image data.</p>
+
+<p><strong>Kind</strong>: static typedef of <code><a 
href="#module_camera">camera</a></code>  </p>
+
+<table><thead>
+<tr>
+<th>Param</th>
+<th>Type</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>imageData</td>
+<td><code>string</code></td>
+<td>Base64 encoding of the image data, <em>or</em> the image file URI, 
depending on <a href="#module_camera.CameraOptions"><code 
class="prettyprint">cameraOptions</code></a> in effect.</td>
+</tr>
+</tbody></table>
+
+<p><strong>Example</strong>  </p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span 
class="c1">// Show image</span>
+<span class="c1">//</span>
+<span class="kd">function</span> <span class="nx">cameraCallback</span><span 
class="p">(</span><span class="nx">imageData</span><span class="p">)</span> 
<span class="p">{</span>
+   <span class="kd">var</span> <span class="nx">image</span> <span 
class="o">=</span> <span class="nb">document</span><span 
class="p">.</span><span class="nx">getElementById</span><span 
class="p">(</span><span class="s1">&#39;myImage&#39;</span><span 
class="p">);</span>
+   <span class="nx">image</span><span class="p">.</span><span 
class="nx">src</span> <span class="o">=</span> <span 
class="s2">&quot;data:image/jpeg;base64,&quot;</span> <span class="o">+</span> 
<span class="nx">imageData</span><span class="p">;</span>
+<span class="p">}</span>
+</code></pre></div>
+<p><a name="module_camera.CameraOptions"></a></p>
+
+<h3>camera.CameraOptions : <code>Object</code></h3>
+
+<p>Optional parameters to customize the camera settings.</p>
+
+<ul>
+<li><a href="#CameraOptions-quirks">Quirks</a></li>
+</ul>
+
+<p><strong>Kind</strong>: static typedef of <code><a 
href="#module_camera">camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>quality</td>
+<td><code>number</code></td>
+<td><code>50</code></td>
+<td>Quality of the saved image, expressed as a range of 0-100, where 100 is 
typically full resolution with no loss from file compression. (Note that 
information about the camera&#39;s resolution is unavailable.)</td>
+</tr>
+<tr>
+<td>destinationType</td>
+<td><code><a 
href="#module_Camera.DestinationType">DestinationType</a></code></td>
+<td><code>FILE_URI</code></td>
+<td>Choose the format of the return value.</td>
+</tr>
+<tr>
+<td>sourceType</td>
+<td><code><a 
href="#module_Camera.PictureSourceType">PictureSourceType</a></code></td>
+<td><code>CAMERA</code></td>
+<td>Set the source of the picture.</td>
+</tr>
+<tr>
+<td>allowEdit</td>
+<td><code>Boolean</code></td>
+<td><code>true</code></td>
+<td>Allow simple editing of image before selection.</td>
+</tr>
+<tr>
+<td>encodingType</td>
+<td><code><a href="#module_Camera.EncodingType">EncodingType</a></code></td>
+<td><code>JPEG</code></td>
+<td>Choose the  returned image file&#39;s encoding.</td>
+</tr>
+<tr>
+<td>targetWidth</td>
+<td><code>number</code></td>
+<td></td>
+<td>Width in pixels to scale image. Must be used with <code 
class="prettyprint">targetHeight</code>. Aspect ratio remains constant.</td>
+</tr>
+<tr>
+<td>targetHeight</td>
+<td><code>number</code></td>
+<td></td>
+<td>Height in pixels to scale image. Must be used with <code 
class="prettyprint">targetWidth</code>. Aspect ratio remains constant.</td>
+</tr>
+<tr>
+<td>mediaType</td>
+<td><code><a href="#module_Camera.MediaType">MediaType</a></code></td>
+<td><code>PICTURE</code></td>
+<td>Set the type of media to select from.  Only works when <code 
class="prettyprint">PictureSourceType</code> is <code 
class="prettyprint">PHOTOLIBRARY</code> or <code 
class="prettyprint">SAVEDPHOTOALBUM</code>.</td>
+</tr>
+<tr>
+<td>correctOrientation</td>
+<td><code>Boolean</code></td>
+<td></td>
+<td>Rotate the image to correct for the orientation of the device during 
capture.</td>
+</tr>
+<tr>
+<td>saveToPhotoAlbum</td>
+<td><code>Boolean</code></td>
+<td></td>
+<td>Save the image to the photo album on the device after capture.</td>
+</tr>
+<tr>
+<td>popoverOptions</td>
+<td><code><a 
href="#module_CameraPopoverOptions">CameraPopoverOptions</a></code></td>
+<td></td>
+<td>iOS-only options that specify popover location in iPad.</td>
+</tr>
+<tr>
+<td>cameraDirection</td>
+<td><code><a href="#module_Camera.Direction">Direction</a></code></td>
+<td><code>BACK</code></td>
+<td>Choose the camera to use (front- or back-facing).</td>
+</tr>
+</tbody></table>
+
+<hr>
+
+<p><a name="module_Camera"></a></p>
+
+<h2>Camera</h2>
+
+<p><a name="module_Camera.DestinationType"></a></p>
+
+<h3>Camera.DestinationType : <code>enum</code></h3>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>DATA_URL</td>
+<td><code>number</code></td>
+<td><code>0</code></td>
+<td>Return base64 encoded string</td>
+</tr>
+<tr>
+<td>FILE_URI</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+<td>Return file uri (content://media/external/images/media/2 for Android)</td>
+</tr>
+<tr>
+<td>NATIVE_URI</td>
+<td><code>number</code></td>
+<td><code>2</code></td>
+<td>Return native uri (eg. asset-library://... for iOS)</td>
+</tr>
+</tbody></table>
+
+<p><a name="module_Camera.EncodingType"></a></p>
+
+<h3>Camera.EncodingType : <code>enum</code></h3>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>JPEG</td>
+<td><code>number</code></td>
+<td><code>0</code></td>
+<td>Return JPEG encoded image</td>
+</tr>
+<tr>
+<td>PNG</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+<td>Return PNG encoded image</td>
+</tr>
+</tbody></table>
+
+<p><a name="module_Camera.MediaType"></a></p>
+
+<h3>Camera.MediaType : <code>enum</code></h3>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>PICTURE</td>
+<td><code>number</code></td>
+<td><code>0</code></td>
+<td>Allow selection of still pictures only. DEFAULT. Will return format 
specified via DestinationType</td>
+</tr>
+<tr>
+<td>VIDEO</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+<td>Allow selection of video only, ONLY RETURNS URL</td>
+</tr>
+<tr>
+<td>ALLMEDIA</td>
+<td><code>number</code></td>
+<td><code>2</code></td>
+<td>Allow selection from all media types</td>
+</tr>
+</tbody></table>
+
+<p><a name="module_Camera.PictureSourceType"></a></p>
+
+<h3>Camera.PictureSourceType : <code>enum</code></h3>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>PHOTOLIBRARY</td>
+<td><code>number</code></td>
+<td><code>0</code></td>
+<td>Choose image from picture library (same as SAVEDPHOTOALBUM for 
Android)</td>
+</tr>
+<tr>
+<td>CAMERA</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+<td>Take picture from camera</td>
+</tr>
+<tr>
+<td>SAVEDPHOTOALBUM</td>
+<td><code>number</code></td>
+<td><code>2</code></td>
+<td>Choose image from picture library (same as PHOTOLIBRARY for Android)</td>
+</tr>
+</tbody></table>
+
+<p><a name="module_Camera.PopoverArrowDirection"></a></p>
+
+<h3>Camera.PopoverArrowDirection : <code>enum</code></h3>
+
+<p>Matches iOS UIPopoverArrowDirection constants to specify arrow location on 
popover.</p>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>ARROW_UP</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+</tr>
+<tr>
+<td>ARROW_DOWN</td>
+<td><code>number</code></td>
+<td><code>2</code></td>
+</tr>
+<tr>
+<td>ARROW_LEFT</td>
+<td><code>number</code></td>
+<td><code>4</code></td>
+</tr>
+<tr>
+<td>ARROW_RIGHT</td>
+<td><code>number</code></td>
+<td><code>8</code></td>
+</tr>
+<tr>
+<td>ARROW_ANY</td>
+<td><code>number</code></td>
+<td><code>15</code></td>
+</tr>
+</tbody></table>
+
+<p><a name="module_Camera.Direction"></a></p>
+
+<h3>Camera.Direction : <code>enum</code></h3>
+
+<p><strong>Kind</strong>: static enum property of <code><a 
href="#module_Camera">Camera</a></code><br>
+<strong>Properties</strong></p>
+
+<table><thead>
+<tr>
+<th>Name</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>BACK</td>
+<td><code>number</code></td>
+<td><code>0</code></td>
+<td>Use the back-facing camera</td>
+</tr>
+<tr>
+<td>FRONT</td>
+<td><code>number</code></td>
+<td><code>1</code></td>
+<td>Use the front-facing camera</td>
+</tr>
+</tbody></table>
+
+<hr>
+
+<p><a name="module_CameraPopoverOptions"></a></p>
+
+<h2>CameraPopoverOptions</h2>
+
+<p>iOS-only parameters that specify the anchor element location and arrow
+direction of the popover when selecting images from an iPad&#39;s library
+or album.
+Note that the size of the popover may change to adjust to the
+direction of the arrow and orientation of the screen.  Make sure to
+account for orientation changes when specifying the anchor element
+location.</p>
+
+<table><thead>
+<tr>
+<th>Param</th>
+<th>Type</th>
+<th>Default</th>
+<th>Description</th>
+</tr>
+</thead><tbody>
+<tr>
+<td>[x]</td>
+<td><code>Number</code></td>
+<td><code>0</code></td>
+<td>x pixel coordinate of screen element onto which to anchor the popover.</td>
+</tr>
+<tr>
+<td>[y]</td>
+<td><code>Number</code></td>
+<td><code>32</code></td>
+<td>y pixel coordinate of screen element onto which to anchor the popover.</td>
+</tr>
+<tr>
+<td>[width]</td>
+<td><code>Number</code></td>
+<td><code>320</code></td>
+<td>width, in pixels, of the screen element onto which to anchor the 
popover.</td>
+</tr>
+<tr>
+<td>[height]</td>
+<td><code>Number</code></td>
+<td><code>480</code></td>
+<td>height, in pixels, of the screen element onto which to anchor the 
popover.</td>
+</tr>
+<tr>
+<td>[arrowDir]</td>
+<td><code><a 
href="#module_Camera.PopoverArrowDirection">PopoverArrowDirection</a></code></td>
+<td><code>ARROW_ANY</code></td>
+<td>Direction the arrow on the popover should point.</td>
+</tr>
+</tbody></table>
+
+<hr>
+
+<p><a name="module_CameraPopoverHandle"></a></p>
+
+<h2>CameraPopoverHandle</h2>
+
+<p>A handle to an image picker popover.</p>
+
+<p><strong>Supported Platforms</strong></p>
+
+<ul>
+<li>iOS</li>
+</ul>
+
+<p><strong>Example</strong>  </p>
+<div class="highlight"><pre><code class="language-js" data-lang="js"><span 
class="kd">var</span> <span class="nx">cameraPopoverHandle</span> <span 
class="o">=</span> <span class="nx">navigator</span><span 
class="p">.</span><span class="nx">camera</span><span class="p">.</span><span 
class="nx">getPicture</span><span class="p">(</span><span 
class="nx">onSuccess</span><span class="p">,</span> <span 
class="nx">onFail</span><span class="p">,</span>
+<span class="p">{</span>
+    <span class="nx">destinationType</span><span class="o">:</span> <span 
class="nx">Camera</span><span class="p">.</span><span 
class="nx">DestinationType</span><span class="p">.</span><span 
class="nx">FILE_URI</span><span class="p">,</span>
+    <span class="nx">sourceType</span><span class="o">:</span> <span 
class="nx">Camera</span><span class="p">.</span><span 
class="nx">PictureSourceType</span><span class="p">.</span><span 
class="nx">PHOTOLIBRARY</span><span class="p">,</span>
+    <span class="nx">popoverOptions</span><span class="o">:</span> <span 
class="k">new</span> <span class="nx">CameraPopoverOptions</span><span 
class="p">(</span><span class="mi">300</span><span class="p">,</span> <span 
class="mi">300</span><span class="p">,</span> <span class="mi">100</span><span 
class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span 
class="nx">Camera</span><span class="p">.</span><span 
class="nx">PopoverArrowDirection</span><span class="p">.</span><span 
class="nx">ARROW_ANY</span><span class="p">)</span>
+<span class="p">});</span>
+
+<span class="c1">// Reposition the popover if the orientation changes.</span>
+<span class="nb">window</span><span class="p">.</span><span 
class="nx">onorientationchange</span> <span class="o">=</span> <span 
class="kd">function</span><span class="p">()</span> <span class="p">{</span>
+    <span class="kd">var</span> <span class="nx">cameraPopoverOptions</span> 
<span class="o">=</span> <span class="k">new</span> <span 
class="nx">CameraPopoverOptions</span><span class="p">(</span><span 
class="mi">0</span><span class="p">,</span> <span class="mi">0</span><span 
class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span 
class="mi">100</span><span class="p">,</span> <span 
class="nx">Camera</span><span class="p">.</span><span 
class="nx">PopoverArrowDirection</span><span class="p">.</span><span 
class="nx">ARROW_ANY</span><span class="p">);</span>
+    <span class="nx">cameraPopoverHandle</span><span class="p">.</span><span 
class="nx">setPosition</span><span class="p">(</span><span 
class="nx">cameraPopoverOptions</span><span class="p">);</span>
+<span class="p">}</span>
+</code></pre></div>
+<hr>
+
+<h2><code class="prettyprint">camera.getPicture</code> Errata</h2>
+
+<h4>Example <a name="camera-getPicture-examples"></a></h4>
+
+<p>Take a photo and retrieve it as a base64-encoded image:</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+    destinationType: Camera.DestinationType.DATA_URL
+});
+
+function onSuccess(imageData) {
+    var image = document.getElementById(&#39;myImage&#39;);
+    image.src = &quot;data:image/jpeg;base64,&quot; + imageData;
+}
+
+function onFail(message) {
+    alert(&#39;Failed because: &#39; + message);
+}
+</code></pre></div>
+<p>Take a photo and retrieve the image&#39;s file location:</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">navigator.camera.getPicture(onSuccess, onFail, { quality: 50,
+    destinationType: Camera.DestinationType.FILE_URI });
+
+function onSuccess(imageURI) {
+    var image = document.getElementById(&#39;myImage&#39;);
+    image.src = imageURI;
+}
+
+function onFail(message) {
+    alert(&#39;Failed because: &#39; + message);
+}
+</code></pre></div>
+<h4>Preferences (iOS)</h4>
+
+<ul>
+<li><p><strong>CameraUsesGeolocation</strong> (boolean, defaults to false). 
For capturing JPEGs, set to true to get geolocation data in the EXIF header. 
This will trigger a request for geolocation permissions if set to true.</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">&lt;preference name=&quot;CameraUsesGeolocation&quot; 
value=&quot;false&quot; /&gt;
+</code></pre></div></li>
+</ul>
+
+<h4>Amazon Fire OS Quirks <a name="camera-getPicture-quirks"></a></h4>
+
+<p>Amazon Fire OS uses intents to launch the camera activity on the device to 
capture
+images, and on phones with low memory, the Cordova activity may be killed.  In 
this
+scenario, the image may not appear when the cordova activity is restored.</p>
+
+<h4>Android Quirks</h4>
+
+<p>Android uses intents to launch the camera activity on the device to capture
+images, and on phones with low memory, the Cordova activity may be killed.  In 
this
+scenario, the result from the plugin call will be delivered via the resume 
event.
+See <a 
href="http://cordova.apache.org/docs/en/dev/guide/platforms/android/lifecycle.html";>the
 Android Lifecycle guide</a>
+for more information. The <code 
class="prettyprint">pendingResult.result</code> value will contain the value 
that
+would be passed to the callbacks (either the URI/URL or an error message). 
Check
+the <code class="prettyprint">pendingResult.pluginStatus</code> to determine 
whether or not the call was
+successful.</p>
+
+<h4>Browser Quirks</h4>
+
+<p>Can only return photos as base64-encoded image.</p>
+
+<h4>Firefox OS Quirks</h4>
+
+<p>Camera plugin is currently implemented using <a 
href="https://hacks.mozilla.org/2013/01/introducing-web-activities/";>Web 
Activities</a>.</p>
+
+<h4>iOS Quirks</h4>
+
+<p>Including a JavaScript <code class="prettyprint">alert()</code> in either 
of the callback functions
+can cause problems.  Wrap the alert within a <code 
class="prettyprint">setTimeout()</code> to allow
+the iOS image picker or popover to fully close before the alert
+displays:</p>
+<div class="highlight"><pre><code class="language-text" 
data-lang="text">setTimeout(function() {
+    // do your thing here!
+}, 0);
+</code></pre></div>
+<h4>Windows Phone 7 Quirks</h4>
+
+<p>Invoking the native camera application while the device is connected
+via Zune does not work, and triggers an error callback.</p>
+
+<h4>Tizen Quirks</h4>
+
+<p>Tizen only supports a <code class="prettyprint">destinationType</code> of
+<code class="prettyprint">Camera.DestinationType.FILE_URI</code> and a <code 
class="prettyprint">sourceType</code> of
+<code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code>.</p>
+
+<h2><code class="prettyprint">CameraOptions</code> Errata <a 
name="CameraOptions-quirks"></a></h2>
+
+<h4>Amazon Fire OS Quirks</h4>
+
+<ul>
+<li><p>Any <code class="prettyprint">cameraDirection</code> value results in a 
back-facing photo.</p></li>
+<li><p>Ignores the <code class="prettyprint">allowEdit</code> 
parameter.</p></li>
+<li><p><code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> 
and <code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code> 
both display the same photo album.</p></li>
+</ul>
+
+<h4>Android Quirks</h4>
+
+<ul>
+<li><p>Any <code class="prettyprint">cameraDirection</code> value results in a 
back-facing photo.</p></li>
+<li><p><strong><code class="prettyprint">allowEdit</code> is unpredictable on 
Android and it should not be used!</strong> The Android implementation of this 
plugin tries to find and use an application on the user&#39;s device to do 
image cropping. The plugin has no control over what application the user 
selects to perform the image cropping and it is very possible that the user 
could choose an incompatible option and cause the plugin to fail. This 
sometimes works because most devices come with an application that handles 
cropping in a way that is compatible with this plugin (Google Plus Photos), but 
it is unwise to rely on that being the case. If image editing is essential to 
your application, consider seeking a third party library or plugin that 
provides its own image editing utility for a more robust solution.</p></li>
+<li><p><code class="prettyprint">Camera.PictureSourceType.PHOTOLIBRARY</code> 
and <code class="prettyprint">Camera.PictureSourceType.SAVEDPHOTOALBUM</code> 
both display the same photo album.</p></li>
+<li><p>Ignores the <code class="prettyprint">encodingType</code> parameter if 
the image is unedited (i.e. <code class="prettyprint">quality</code> is 100, 
<code class="prettyprint">correctOrientation</code> is false, and no <code 
class="prettyprint">targetHeight</code> or <code 
class="prettyprint">targetWidth</code> are specified). The <code 
class="prettyprint">CAMERA</code> source will always return the JPEG file given 
by the native camera and the <code class="prettyprint">PHOTOLIBRARY</code> and 
<code class="prettyprint">SAVEDPHOTOALBUM</code> sources will return the 
selected file in its existing encoding.</p></li>
+</ul>
+
+<h4>BlackBerry 10 Quirks</h4>
+
+<ul>
+<li><p>Ignores the <code class="prettyprint">quality</code> parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">allowEdit</code> 
parameter.</p></li>
+<li><p><code class="prettyprint">Camera.MediaType</code> is not 
supported.</p></li>
+<li><p>Ignores the <code class="prettyprint">correctOrientation</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">cameraDirection</code> 
parameter.</p></li>
+</ul>
+
+<h4>Firefox OS Quirks</h4>
+
+<ul>
+<li><p>Ignores the <code class="prettyprint">quality</code> parameter.</p></li>
+<li><p><code class="prettyprint">Camera.DestinationType</code> is ignored and 
equals <code class="prettyprint">1</code> (image file URI)</p></li>
+<li><p>Ignores the <code class="prettyprint">allowEdit</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">PictureSourceType</code> 
parameter (user chooses it in a dialog window)</p></li>
+<li><p>Ignores the <code class="prettyprint">encodingType</code></p></li>
+<li><p>Ignores the <code class="prettyprint">targetWidth</code> and <code 
class="prettyprint">targetHeight</code></p></li>
+<li><p><code class="prettyprint">Camera.MediaType</code> is not 
supported.</p></li>
+<li><p>Ignores the <code class="prettyprint">correctOrientation</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">cameraDirection</code> 
parameter.</p></li>
+</ul>
+
+<h4>iOS Quirks</h4>
+
+<ul>
+<li><p>When using <code class="prettyprint">destinationType.FILE_URI</code>, 
photos are saved in the application&#39;s temporary directory. The contents of 
the application&#39;s temporary directory is deleted when the application 
ends.</p></li>
+<li><p>When using <code class="prettyprint">destinationType.NATIVE_URI</code> 
and <code class="prettyprint">sourceType.CAMERA</code>, photos are saved in the 
saved photo album regardless on the value of <code 
class="prettyprint">saveToPhotoAlbum</code> parameter.</p></li>
+</ul>
+
+<h4>Tizen Quirks</h4>
+
+<ul>
+<li><p>options not supported</p></li>
+<li><p>always returns a FILE URI</p></li>
+</ul>
+
+<h4>Windows Phone 7 and 8 Quirks</h4>
+
+<ul>
+<li><p>Ignores the <code class="prettyprint">allowEdit</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">correctOrientation</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">cameraDirection</code> 
parameter.</p></li>
+<li><p>Ignores the <code class="prettyprint">saveToPhotoAlbum</code> 
parameter.  IMPORTANT: All images taken with the wp7/8 cordova camera API are 
always copied to the phone&#39;s camera roll.  Depending on the user&#39;s 
settings, this could also mean the image is auto-uploaded to their OneDrive.  
This could potentially mean the image is available to a wider audience than 
your app intended.  If this a blocker for your application, you will need to 
implement the CameraCaptureTask as documented on msdn : <a 
href="http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx";>http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394006.aspx</a>
+You may also comment or up-vote the related issue in the <a 
href="https://issues.apache.org/jira/browse/CB-2083";>issue tracker</a></p></li>
+<li><p>Ignores the <code class="prettyprint">mediaType</code> property of 
<code class="prettyprint">cameraOptions</code> as the Windows Phone SDK does 
not provide a way to choose videos from PHOTOLIBRARY.</p></li>
+</ul>
+
+
+        </div>
+    </div>
+</div>
+
+<script defer type="text/javascript" src="/static/js/lib/toc.min.js"></script>
+<script defer type="text/javascript" src="/static/js/docs.js"></script>
+
+    <div class="blue-divider"></div>
+<footer>
+    <div class="container" id="footer">
+        <div class="row">
+            <div class="col-sm-9">
+                <h1>More Resources</h1>
+                <div class="row">
+                    <div class="col-sm-4">
+                        <h2>General</h2>
+                        <ul class="nav">
+                            <li>
+                                <a target="_blank" 
href="https://projects.apache.org/project.html?cordova";>Apache Project Page</a>
+                            </li>
+                            <li>
+                                <a 
href="https://dist.apache.org/repos/dist/release/cordova/";>Source 
Distribution</a>
+                            </li>
+                            <li>
+                                <a target="_blank" 
href="http://www.apache.org/licenses/LICENSE-2.0";>License</a>
+                            </li>
+                            <li>
+                                <a href="/artwork">Artwork</a>
+                            </li>
+                        </ul>
+                    </div>
+                    <div class="col-sm-4">
+                        <h2>Development</h2>
+                        <ul class="nav">
+                            <li><a target="_blank" 
href="https://github.com/apache?utf8=%E2%9C%93&amp;query=cordova-";>Source 
Code</a></li>
+                            <li><a target="_blank" 
href="https://issues.apache.org/jira/browse/CB/";>Issue Tracker</a></li>
+                            <li><a target="_blank" 
href="http://stackoverflow.com/questions/tagged/cordova";>Stack Overflow</a></li>
+                            <li><a href="/contact">Mailing List</a></li>
+                        </ul>
+                    </div>
+                    <div class="col-sm-4">
+                        <h2>Apache Software Foundation</h2>
+                        <ul class="nav">
+                            <li>
+                                <a target="_blank" 
href="http://www.apache.org/";>About ASF</a>
+                            </li>
+                            <li>
+                                <a target="_blank" 
href="http://www.apache.org/foundation/sponsorship.html";>Become a Sponsor</a>
+                            </li>
+                            <li>
+                                <a target="_blank" 
href="http://www.apache.org/foundation/thanks.html";>Thanks</a>
+                            </li>
+                            <li>
+                                <a target="_blank" 
href="http://www.apache.org/security/";>Security</a>
+                            </li>
+                        </ul>
+                    </div>
+                </div>
+            </div>
+            <div class="col-sm-3">
+                <h1>Contribute</h1>
+                <p style="padding-top:20px"><strong>Help Cordova move 
forward!</strong></p>
+                <p>Report bugs, improve the docs, or contribute to the 
code.</p>
+                <a href="/contribute" class="btn btn-lg btn-primary">
+                    Learn More
+                </a>
+                <p style="padding-top:20px"> <a 
href="https://twitter.com/apachecordova"; class="twitter-follow-button" 
data-show-count="false">Follow @apachecordova</a></p>
+                <script async defer 
src="https://slack.cordova.io/slackin.js";></script>
+            </div>
+        </div>
+        <p class="copyright_text">
+            Copyright &copy; 2012, 2013, 2015 The Apache Software Foundation, 
Licensed under the <a target="_blank" 
href="http://www.apache.org/licenses/LICENSE-2.0";>Apache License, Version 
2.0</a>.<br/>
+            Apache and the Apache feather logos are <a target="_blank" 
href="http://www.apache.org/foundation/marks/list/";>trademarks</a> of The 
Apache Software Foundation.
+        </p>
+        <a class="closing" href="#top"></a>
+    </div>
+</footer>
+
+<script defer type="text/javascript" 
src="/static/js/lib/prettify/prettify.js"></script>
+<script defer type="text/javascript" src="/static/js/index.js"></script>
+<script defer type="text/javascript" src="/static/js/twitter.js"></script>
+
+    <script>
+    
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new 
Date();a=s.createElement(o),
+    
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+    
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+    ga('create', 'UA-64283057-3', 'auto');
+    ga('send', 'pageview');
+</script>
+
+</body>
+</html>




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to