Audio/Video Capture in PhoneGap/Cordova using external Java plugin Audio/Video Capture in PhoneGap/Cordova using external Java plugin android android

Audio/Video Capture in PhoneGap/Cordova using external Java plugin


Might not be exactly what you want: Instead of DIV use overlay android fragment.

CordovaWebView is part of an Android activity. That means we can overlay a fragment or say dialog at a location we want. Similar to native android development.

Challenge: If you want to show DIV/Dialog in between HTML you will have to take care of lot of positioning related issue.

Solution: You can target to have your DIV/Dialog positioned at the start or end and can then re-position your HTML placeholders.

Things you would require: Cordova Plugin creation, Dialog/Fragment understanding, JavaScript to reposition the DOM elements (if required), Then all is native.

Here is a SO link which can help you.

Please let us know if it helps and it would be great if you share your end solution.