title: PhoneGap 2.9.0 -- Can't get app to access camera
body: <p>I've exhausted every resource I can find on this, and nothing has helped. As far as I can tell, there's something wrong with this line:</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;script type="text/javascript" charset="utf-8" src="cordova-x.x.x.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I copied the example from the documentation on camera use 
  ( <a href="http://docs.phonegap.com/en/2.9.0/cordova_camera_camera.md.html" rel="nofollow">http://docs.phonegap.com/en/2.9.0/cordova_camera_camera.md.html</a> ) and my PhoneGap is version 2.9.0. The issue I seem to be having is that I don't actually have the cordova-2.9.0.js file. Why is that? Where is it?</p>
  
  <p>Trying to run my code now throws</p>
  
  <blockquote>
    <p>"Uncaught TypeError: Cannot call method 'getPicture' of undefined at file:///android_asset/www/test.html:12"</p>
  </blockquote>
  
  <p>I've included a lot of permissions in my config.xml file out of desperation for something to work:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;plugin name="Camera" value="org.apache.cordova.CameraLauncher" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/device" /&gt;
  &lt;feature name="http://api.phonegap.com/1.0/camera"/&gt;
  &lt;feature name="http://api.phonegap.com/1.0/file"/&gt;
  &lt;feature name="http://api.phonegap.com/1.0/media"/&gt;
  &lt;feature name="http://api.phonegap.com/1.0/network"/&gt;
  </code></pre>
  
  <p>I've been at this for hours and I would really appreciate any help I can get.</p>
  
  <p>EDIT: I'm working on Android and I've also tried "cordova.js" instead of "cordova-x.x.x.js" with the same results</p>
  
  <p>EDIT: I reinstalled PhoneGap with the latest version. I have a "cordova.js" and a "phonegap.js" and they're exactly the same. I left my reference line thing as "cordova.js" and I'm still getting the Uncaught TypeError, but now it's saying <code>Uncaught TypeError: Cannot read property 'PictureSourceType' of undefined</code> and <code>...Cannot read property 'PNG' of undefined.</code> I put the permissions back in the config.xml file and this:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  </code></pre>
  
  <p>in the AndroidManifest. Can anyone help? Why am I getting this error?</p>