function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LaurentDelcambreLaurentDelcambre 

Salesforce1: how to display a datepicker on Android?

Hi,

I am new to Salesforce1 and am currently trying the Mobile Templates, which promise to use ONLY Html and CSS to provide a mobile experience.

But of course Android doesn't support HTML5 out of the box, so appart from a nifty workaround, the template just won't work on Android.

I see the use of the Zebra library, which makes it work on Firefox, but still not on Android. When I adapt the Mobile Template page directly into a VF Tab and show on my mobile app, the date is displayed as a text input. 

I would add that sometimes only a blank page displays.

And sometimes, when I tap in the date field, the whole thing just crashes.... and I have no clue how to debug issues on salesforce1.

I tried jQuery Mobile datepicker but it's not officially supported and so far no luck.

Some people are talking about Mobiscroll but it's not free so out of the question.

Any idea?

Laurent
Ashish_SFDCAshish_SFDC
Hi Laurent, 


Read the disussion on the thread below about  <input type="date"> , 

http://stackoverflow.com/questions/4946919/invoke-native-date-picker-from-web-app-on-ios-android


Regards,
Ashish