Android Question Hyperlink on image

I want that a user click on an image and be redirected to an URL on the web.
I saw this info in this Forum(2013), which worked with a Button---accordingly to the member information:

Sub Button1_Click

Dim i As Intent

i.Initialize(i.ACTION_VIEW, "http://www.google.com")

StartActivity(i)

End Sub

I tried it, replacing Button1_Click by ImageView1_Click but it doesn't work.
If this way doesn't work with ImageView1_Click, what is the alternative way?
I can't find anythink about this in the web or in this Forum.
Thank you in advance
 
Top