title: How to implement the cordova-plugin-datepicker for Android?
body: <p>I have tried to implement this Datetimepicker ( <a href="https://github.com/VitaliiBlagodir/cordova-plugin-datepicker" rel="nofollow">https://github.com/VitaliiBlagodir/cordova-plugin-datepicker</a> ) but still not working on my Android Device ( Android 4.0.4).</p>
  
  <ol>
  <li><p>I added the plugin to my Project and used : cordova plugin add <a href="https://github.com/VitaliiBlagodir/cordova-plugin-datepicker" rel="nofollow">https://github.com/VitaliiBlagodir/cordova-plugin-datepicker</a>.</p></li>
  <li><p>Put a Trigger to my js file and tried to test a alert("test"). I get the test alert on browser and on Device, but no alert from Datetimepicker?</p></li>
  <li><p>I also rm Android from Platform and build it again, everything is there, but still not working. ( To build the app, i am using PhoneGap Build)</p></li>
  <li><p>I have no idea what I am missing? .... any help would be nice :-). </p></li>
  </ol>
  
  <hr>
  
  <p>Example:</p>
  
  <p>in Html</p>
  
  <pre><code>&lt;input type="text"  onclick="calendar()" /&gt;
  </code></pre>
  
  <p>in JS</p>
  
  <pre><code>&lt;script&gt;
  
  function calendar(){
  
    alert("test")  //  is working
  
    var options = {
      date: new Date(),
      mode: 'date'
    };
  
    datePicker.show(options, function(date){
     alert("date result " + date);     // not working
    });
  
  }
  
  &lt;/script&gt;
  </code></pre>
  
  <hr>