How to make input type โ€œHTML5โ€ for HTML5 by launching native datepicker on Android?

I tried using the element in my web application, which I tried in two ways:

  • as a standalone html page working in Chrome using a user agent install on Android 4.0.2
  • in an Android application, via java an activity file and a res / layout file launched through an emulator with Android 4.1.2.

None of these two methods work, datepicker does not detect its own behavior, only a plain-text window appears. I have a Samsung Galaxy running Android 4.1.2, and the tag shows my own behavior (I just visited a random website - not mine - to check this tag)

Is there any other solution besides PhoneGap for this problem? I canโ€™t believe it is complicated! It's just a datpicker for heaven ...

+3
source share
1 answer

This is the closest solution for what I'm looking for http://mobipick.sustainablepace.net/demo.html

+1
source

Source: https://habr.com/ru/post/1442959/


All Articles