F fishwolf Well-Known Member Licensed User Longtime User Jun 16, 2016 #1 I use this code for open a orl with browser B4X: Dim i As Intent i.Initialize(i.ACTION_VIEW, Url) StartActivity(i) this code open the default browser, i have also chrome. can i choise the application (browser) for open the url? i want see android that ask me the browser choise? Thanks
I use this code for open a orl with browser B4X: Dim i As Intent i.Initialize(i.ACTION_VIEW, Url) StartActivity(i) this code open the default browser, i have also chrome. can i choise the application (browser) for open the url? i want see android that ask me the browser choise? Thanks
lemonisdead Well-Known Member Licensed User Longtime User Jun 16, 2016 #2 You probably have a Default action set for Chrome. Take a look at the Android \Apps then Chrome and press the "Clear defaults" Upvote 0
You probably have a Default action set for Chrome. Take a look at the Android \Apps then Chrome and press the "Clear defaults"
DonManfred Expert Licensed User Longtime User Jun 16, 2016 #3 fishwolf said: i want see android that ask me the browser choise? Click to expand... check your settings. I guess you already answered this question and set the browser. Remove the standardsetting and call it again to be asked again Upvote 0
fishwolf said: i want see android that ask me the browser choise? Click to expand... check your settings. I guess you already answered this question and set the browser. Remove the standardsetting and call it again to be asked again
F fishwolf Well-Known Member Licensed User Longtime User Jun 16, 2016 #4 but is it possible set default browser or browser choise from application? i would open default browser for some urls and open the choise browser for other urls Upvote 0
but is it possible set default browser or browser choise from application? i would open default browser for some urls and open the choise browser for other urls
lemonisdead Well-Known Member Licensed User Longtime User Jun 16, 2016 #5 fishwolf said: but is it possible set default browser or browser choise from application? Click to expand... Nope. The User is the only one to have the choice. fishwolf said: i would open default browser for some urls and open the choise browser for other urls Click to expand... So you would probably have to use the package manager to check if any package is installed and send the intent to it ? In the example you provided, you tell the system to open the url with the default browser Upvote 0
fishwolf said: but is it possible set default browser or browser choise from application? Click to expand... Nope. The User is the only one to have the choice. fishwolf said: i would open default browser for some urls and open the choise browser for other urls Click to expand... So you would probably have to use the package manager to check if any package is installed and send the intent to it ? In the example you provided, you tell the system to open the url with the default browser