I've added that subroutine code for parsing the url and get an error .... "Undeclared variable 'url' is used before it was assigned any value" at the line that contains the "If Url.Index of ("market://")>-1 Then" Am I missing a Dim or Initialize statement?
Also, the first time I added the webview statements for the Leadbolt app wall, I was using my private signing key when compiling the code and got errors in the log:
"sqlite returned: error code = 14, msg = cannot open file at source line 25467"
"Unable to create webviewCache directory" etc.
After a night of trying to track down the problem, I switched to the "Debug key", and the code worked. I then went back to my private key, and the code worked! So I don't know why that happened, but, if anyone else experiences the same problem, the fix is to use the Debug key and then switch back to your private key.