I looked over the code in the example and I'm doing the exact same thing. The only difference I see is the page is loading locally..
My code:
I tried again this morning to get the close code to work by passing a string in the url to a listener but no go. Again - the weboverlay code is using a local html page and that might be the big difference as I'm loading a remote page from a web server.
More testing -
After some more testing I've determined the Android webpopup is not catching the URL event from the Android side.
I would call it an official "bug".
I've even attempted just to load a simple alert box inside a listener function and still no response. I think the URL never gets passed to the listener or if it does the listener doesn't know how to process it and just ignores it thus throwing the Android web page error "the webpage at "corona:close" might be temporarily down or it may have been moved.
The "corona:close" is just the string I'm passing - I've tried others just to test as well, no matter what the listener function from the webpopup option {urlRequest=mylistener} doesn't work on Android.
Now to try and figure out another Android work-around until Ansca gets to this one..
Some foot notes:
1. It works on iphone no problems.
2. Every once in a while the exact same code WILL close a webpopup on the Android side but I can't determine why it's sporadic, it's only one in every 15 - 20 attempts at closing it.