how to set time using platform native?

Thread is closed for posting
2 posts, 0 answers
  1. John
    John avatar
    5 posts
    Member since:
    Oct 2015

    Posted 06 Nov 2015 Link to this post

    Hi, I'm trying to have a mobile timer that let user to set time using platform native time selection.

    eg. in iOS how to make d native iOS time roller to show up and get the time after user selection, the same goes with Android & WP?



  2. Kaloyan
    Kaloyan avatar
    878 posts

    Posted 11 Nov 2015 Link to this post

    Hi John,

    In hybrid applications, you can benefit from the built in the web views input hooks to the OS native APIs. In other words, you can use:
    <input type="time">
    in the html of your project and on iOS and Android devices, it will visualize the native time picker controls.

    The above however cannot be said for the WP platform, as it is not supported there. Thus, you will need to use a custom Cordova plugin in order to show the native date/time picker on WP devices. Here is a very detailed explanation of how this can be achieved. I hope it helps.


    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top