Android Question Button_Click not working.

Discussion in 'Android Questions' started by ShaneG30, Jul 19, 2015.

  1. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    I have a button that loads my app's BitBucket repository, but it won't work.

    Code:
    Sub BitBucketButton_Click
        
    Dim LoadBB As PhoneIntents
        LoadBB.OpenBrowser(
    "https://bitbucket.org/WhiteholeSoftware/vhe_utility/overview")
    End Sub
    However, my back button works just fine.
     
  2. giga

    giga Well-Known Member Licensed User

    Are you getting an error or is it just a dead button?

    You could try this:

    Code:
    Sub BitBucketButton_Click()
    Dim p As PhoneIntents
    StartActivity(p.OpenBrowser("https://bitbucket.org/WhiteholeSoftware/vhe_utility/overview"))
    End Sub
     
    Last edited: Jul 19, 2015
  3. ShaneG30

    ShaneG30 Well-Known Member Licensed User

    StartActivity works :)

    Thank you!
     
    giga likes this.
  4. giga

    giga Well-Known Member Licensed User

    You're Welcome.
     
    ShaneG30 likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice