Android Question Button_Click not working.

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

  1. UFOCoder13

    UFOCoder13 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. UFOCoder13

    UFOCoder13 Well-Known Member Licensed User

    StartActivity works :)

    Thank you!
     
    giga likes this.
  4. giga

    giga Well-Known Member Licensed User

    You're Welcome.
     
    UFOCoder13 likes this.
Loading...