In this code I return a string. I want to store this string in android activity. How can I call JavaScript function and get return value from android activity?
<script type="text/javascript">
function gettext(){
return 'http://192.168.1.11/bmahtml5/images/specs_larg_2.png';
};
function button_clicked(){
window.location='ios:nativecall';
};
</script>