A solution for Android 4.4 (KitKat) webiew to choose image.
Kitkat-WebView is hosted in the following web site
https://github.com/henrychuangtw/Kitkat-WebView
If you think the Android project Kitkat-WebView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Kitkat-WebView.
Item | Value |
---|---|
Java File Count | 6 |
Supported screen sizes | [xxhdpi] |
Target SDK Version | 15 |
Minimum SDK Version | 10 |
Activity Count | 2 |
Fragment Count | 1 |
jar files used | android-support-v4.jar gson-2.2.2.jar |
Required Permissions | android.permission.CAMERA android.permission.INTERNET android.permission.READ_EXTERNAL_STORAGE android.permission.WRITE_EXTERNAL_STORAGE |
There are 2 image files in Kitkat-WebView. The names of the image files are listed as follows.
checkbox_normal.png checkbox_selected.png
The following screenshort is generated from the image listed above.
Kitkat-WebView has the following Java source files.
henrychuang.tw.kitkatwebview.GalleryAdapter.java henrychuang.tw.kitkatwebview.ImageData.java henrychuang.tw.kitkatwebview.ImagePath.java henrychuang.tw.kitkatwebview.ImageSelectActivity.java henrychuang.tw.kitkatwebview.JSCallFun.java henrychuang.tw.kitkatwebview.Main.java