I want to display maps in android using phonegap. I copied the code shown in http://wiki.phonegap.com/w/page/16494764/PhoneGap-Geolocation-Sample-Application . I am using phonegap.0.9.4 and Android emulator 2.2. I tested the application on an Android device. It calls the failure method each time. Can someone tell me what the problem is, or tell me where I can get a working application for displaying maps?
Android PhoneGap Maps Tutorial is here .
A more complete open source application is available on the Android Market here .