Reputation: 207
I am trying to use the html5 slider tag in my phonegap application. But the slider is not displaying on the Android emulator. I am using phonegap.0.9.4, android 2.2. Can anyone please tell me how to make html5 tags work in my application?
thanks in advance..
Upvotes: 1
Views: 1997
Reputation: 1235
Unless you're trying to access device-specific functionality (GPS, camera, etc), the code you create for PhoneGap should be testable using a browser. Can you verify that your HTML is functioning properly in a browser, prior to testing it with the Android emulator?
If your code successfully runs in a browser, but fails to do so in the Android emulator... sharing the problematic code may help others pinpoint the source of your problem. Otherwise, no one will respond because there's nothing specific they can respond to.
Upvotes: 2
Reputation: 1937
Is it returning your input as a "text" type input? The "range" type for input elements in HTML5 is likely not supported in the browser. You can try using jQuery's slider: http://jqueryui.com/demos/slider/
Upvotes: 2