Start Firefox

dadi4

Member
Licensed User
Longtime User
I'm trying to start Firefox browser on button click:

Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_MAIN, "www.google.com")
Intent1.SetComponent("org.mozilla.firefox/.Main")
StartActivity(Intent1)

but I'm getting this error:
android.content.ActivityNotFoundException: Unable to find explicit activity class {org.mozilla.firefox/org.mozilla.firefox.Main}

any help would be appreciated
 
Last edited:

dadi4

Member
Licensed User
Longtime User
Solved

Dim Intent1 As Intent
Intent1.Initialize(Intent1.ACTION_MAIN, "http://www.google.com/")
Intent1.SetComponent("org.mozilla.firefox/.App")
StartActivity(Intent1)
 
Upvote 0
Top