Webview and leadbolt app wall

IamBot

Member
Licensed User
Longtime User
Hi,

I was reading this thread and tried what was suggested below:

B4X:
Sub WebView1_OverrideUrl (Url As String) As Boolean
    If url.IndexOf("market://")>-1 Then 
        Dim market As Intent
        market.Initialize(market.ACTION_VIEW,url)
        StartActivity (market)
    End If
End Sub

Before I got "Site is not available" and now with this code, I get error "Offer is not available in your country". The thing is, that if I try the same link directly from my browser on my phone, it works perfectly, so I don't think its because of the ad offer.

Any suggestions?
 

IamBot

Member
Licensed User
Longtime User
Sorry guys, seems like there was something I forgot to add in my code! This code works fine :signOops:
 
Upvote 0
Top