How to fix html5 file input issue in cordova android app?

Is html5 file input not working on your PhoneGap android app? Here is the complete guide to fix html5 file input issue in Cordova android app.