T thestar19 Member Licensed User Longtime User Apr 5, 2012 #1 Hey guys This is what my goal is: 1.The user presses an button. 2.The buttons sends him to his regular mobile browser and opens an link that I have defined previously. 3.He is now at the webpage in the same mode as if he would have been going there manually. Any Idea how I am going to build it? Thank you Thestar19
Hey guys This is what my goal is: 1.The user presses an button. 2.The buttons sends him to his regular mobile browser and opens an link that I have defined previously. 3.He is now at the webpage in the same mode as if he would have been going there manually. Any Idea how I am going to build it? Thank you Thestar19
NJDude Expert Licensed User Longtime User Apr 5, 2012 #2 Something like this: Code: Sub Globals Dim TheLink As String End Sub ... TheLink = "http://www.b4x.com" Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, TheLink) StartActivity(i) End Sub Last edited: Apr 5, 2012 Upvote 0
Something like this: Code: Sub Globals Dim TheLink As String End Sub ... TheLink = "http://www.b4x.com" Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, TheLink) StartActivity(i) End Sub
T thestar19 Member Licensed User Longtime User Apr 5, 2012 #3 NJDude said: Something like this: Code: Sub Globals Dim TheLink As String End Sub ... TheLink = "http://www.b4x.com" Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, TheLink) StartActivity(i) End Sub Click to expand... Thank you It worked perfectly Upvote 0
NJDude said: Something like this: Code: Sub Globals Dim TheLink As String End Sub ... TheLink = "http://www.b4x.com" Sub Button1_Click Dim i As Intent i.Initialize(i.ACTION_VIEW, TheLink) StartActivity(i) End Sub Click to expand... Thank you It worked perfectly