Android : DatePicke and TimePicker in Phonegap android

on Tuesday, September 23, 2014


I m developing an android application in phonegap . I have to add DatePicker and a timePicker. That's why i find and follwed this tutorial https://github.com/native5/cordova-android-plugins , there is no much instructions so i found this tutorial for the same plugin (DatePicker and timePicker) http://bikasv.com/blog/2013/04/14/cordova-datepicker/ . I followed step 1 which say:


1/- Just copy datePickerPlugin.js file to your ‘www’ folder. Create a package com.bikasv.plugins.datepicker and put DatePickerPlugin.java file into this package. Now update your res/xml/config.xml with following lines –


but i m bloqued in step 2. I don't know where to copy the DatePicker Function and TimePicker Function . in which file in my project.


Or is there a more simple solution to have a DatePicker and TimePicker in my Android phonegap Application


Thanks a lot for your help


0 comments:

Post a Comment