<body> <p> Test JS to call local album </p> <a class="rect" onclick="sendInfoToAndroid()">JS calls album </a> <p><t id="img" src="file:///android_asset/a.png" width="100" height="100"/></p>
<input type="text" id="show"/>
<script>

function sendInfoToAndroid() {/ / call the method that Android start photo album window. The Android. GetLocationInfo (); }function setAppLocation(path){
    document.getElementById("show").value=path;
  }

</script>
</body>
Copy the code