I created a simple PhoneGap application that, right now, just takes a picture when you tap a button and then displays the picture in an image on the same page. I've built both iOS and Android versions, and the iOS version works fine. The Android version, on the other hand, highlights the button but never switches to a camera activity. What could be the problem?
My first thought was that the problem is in the Javascript code in my index.html file. So, I completely replaced the contents of my index.html with the "Full Example" from the PhoneGap API Camera reference page. This page displays four buttons, each of which triggers a Javascript function that uses PhoneGap to acquire an image in one way or another. The app builds without errors and starts up on my test device (HTC Evo 4G). Once again, however, tapping any of the buttons causes that button to highlight, but nothing else happens.
I'm using a recently downloaded PhoneGap 0.95, the latest Android SDK (downloaded and installed two days ago), and Eclipse with the ADT plugin.
Can anyone give me some ideas as to how to start debugging this?
Edit: For what it's worth, I set up my Android project according to the steps in the PhoneGap Get Started Guide for Android. I modified the AndroidManifest.xml file according to the directions there and using exactly the text from the directions, so the first line after the <supports-screens ... />
block is:
<uses-permission android:name="android.permission.CAMERA" />