[Q] Setting default search engine and browser - Galaxy S II Q&A, Help & Troubleshooting

I have a couple of questions to which I have not been able to find any answers to.
Is there anyway that the default search engine in Android can be changed from google to something else of my choosing, e.g. startpage.com? I don't mean the browser search but the google search in android.
How do I set the default browser to be something other than the stock browser, i.e. clicking on links within other apps (like e-mail) would open my browser of choice instead of the stock browser? I'd like to use FF as my default browser but cannot find anywhere that I can set it as default.
I'm using stock GB 2.3.4.

For the default browser question go to settings>applications and find the current default browser. Click it and you should see a "clear default" button at the bottom. Open up a link and then it will give you the browsers on which you want to open the apps with. Click on wet as default and select the browser of your choice.
Edit: Go to Settings>Applications>Manage Applications>All
Sent from my GT-I9100 using xda premium

The google search engine is a widget. So you should probably try searching if there is a widget available for your prefered search engine.

@ephraim033. I forgot about the default flag settings for apps in the settings menu.
@iamafrk. I didn't realise the Google search was a widget. You learn something new every day. Unfortunately a widget doesn't exist for startpage.com. I wonder what's involved in creating one. Something I'll look into when I have time.

Related

How does Homeswitcher set default

How does Homeswitcher set default launcher.
ymst.android.homeswitcher is the package name.
They have a way of setting a launcher to be the default.
The intent resolver comes up if you have more than one home launcher installed.
You can select a launcher from the list and also check the box that says
use by default for this action.
I am looking for a way to programmatically set this check box setting.
Home switcher has a set default button.
How do they get this to work in source code ?
Imposible in Froyo, but in eclair i suppose they just set to default. Go to applications in settings, find your launcher and it will have a default setting. If another launcher has the default enabled it just deletes the option and set the default on your chosen one.
XDA App
Thanks but my question was how can you do it programmatically.
I know it is not possible in froyo. But what about donut and eclair.
Homeswitcher has some code to do this when you press Set Default.
My question is what is the code to set a launcher as the default.
There used to be methods to do this in older versions of Android.
First there was
getPackageManager().addPackageToPreferred(getPackageName());
But the docs say
This method is deprecated. This function no longer does anything
Then there was getPackageManager().addPreferredActivity(
and the docs says
This method is deprecated.
This is a protected API that should not have been available to third party applications.
It is a real puzzle, but I know at least one programmer has figured this out.
jleiser said:
Then there was getPackageManager().addPreferredActivity(
and the docs says
This method is deprecated.
This is a protected API that should not have been available to third party applications.
It is a real puzzle, but I know at least one programmer has figured this out.
Click to expand...
Click to collapse
The froyo/gingerbread docs say that because it no longer works after froyo. But it does still work on eclair.
Is homeswitcher open source? Maybe you can simply take a look at it, also perhaps you can make it work for rooted phones in froyo and GB too. Almost forgot, take a look at cyanogen source code I'm sure you will find what you need there.
Xda app
jleiser said:
How does Homeswitcher set default launcher.
ymst.android.homeswitcher is the package name.
They have a way of setting a launcher to be the default.
The intent resolver comes up if you have more than one home launcher installed.
You can select a launcher from the list and also check the box that says
use by default for this action.
I am looking for a way to programmatically set this check box setting.
Home switcher has a set default button.
How do they get this to work in source code ?
Click to expand...
Click to collapse
This is not possible-by code !
It would be a security problem a kind of takes control away by the user !
this is the case you want to make an app/ launcher if you want to make a custom rom this is something else

change defult browser

I want to change from stock to opera or firefox but I seem unable to?
Sent from my MB860 using Tapatalk
try to open a web page through a non-web browser (for example from your email), most likely it will pop up a selection box, let you choose which browsers to use, you can click the bottom selection to make your choice default.

How to change default browser for google search bar?

I know the google search bar at the top in ics is not just a google search, since you can adjust searchable items to include other apps, contacts, etc. But I primarily use it as a go to search engine from my home screen.
I have been using dolphin hd browser and while it is the default browser for opening links in gmail, etc, the search bar results always default to the stock browser when you click on them.
How do you change this?
Thanks
jeep364 said:
I know the google search bar at the top in ics is not just a google search, since you can adjust searchable items to include other apps, contacts, etc. But I primarily use it as a go to search engine from my home screen.
I have been using dolphin hd browser and while it is the default browser for opening links in gmail, etc, the search bar results always default to the stock browser when you click on them.
How do you change this?
Thanks
Click to expand...
Click to collapse
You cannot change because the Search is integrated with Android Browser. I search Google Mobile help and doesn't have a tutorial about it.
Mr.Indigo said:
You cannot change because the Search is integrated with Android Browser. I search Google Mobile help and doesn't have a tutorial about it.
Click to expand...
Click to collapse
Maybe it's because i'm using a custom ROM, but i can change the default browser for search...
Have you tried to go to Settings>Apps>Browser and "Delete default values"?
albertgoca93 said:
Maybe it's because i'm using a custom ROM, but i can change the default browser for search...
Have you tried to go to Settings>Apps>Browser and "Delete default values"?
Click to expand...
Click to collapse
Yes, the google search bar will still send me through browser. at least the auto complete links.
2 things i like about dolphin
1. gestures
2. twice ive had browser go to a white screen and just freeze requiring to force kill the app. when i reopen it everything is as it was (tabs, etc) before the freeze
you can
[QUO TE=jeep364;26638791]I know the google search bar at the stop in ics is not just a google search, since you can adjust searchable items to include other apps, contacts, etc. But I primarily use it as a go to search engine from my home screen.
I have been using dolphin hd browser and while it is the default browser for opening links in gmail, etc, the search bar results always default to the stock browser when you click on them.
How do you change this?
Thanks[/QUOTE]
You can change it just click on search bar hit menu button on phone then setting then searchable Items it will show u a check list Uncheck your custom browser and check your new browse tada
Yes you can!
I had the same problem, ended up here, and then startet to test something..
Go to settings, apps, all, browser (yes, the browser you DON'T want to be used), clear defauts. Next time you use the search bar, it will ask if you want to use the default browser, dolphin or whatever other browsers you have installed.
Worked like a charm!
Cheers

[Q] Quick way to go to browser homepage?

Sorry if this sounds a bit dumb, but is there a quick way to skip directly to the internet browser homepage (apart from creating a new window in the menu)?
I was expecting an icon to do it somewhere.
On my old HTC phone there was a menu command to do this directly.
Thanks
No.
HTC added that to their browser. Standard Android and even the Samsung browser do not have this.
Most 3rd party browsers too.
I'm not using touchwiz ATM, but I believe that you can just add a bookmark shortcut to your home screen. Then just use that shortcut to access the Internet and it will always open your homepage first.
Sent from my GT-I9300 using Tapatalk 2
Thanks for the replies.
Yes, a bookmark to the homepage seemed an obvious workaround.
I was just thinking that I must have been missing a really obvious button somewhere!
The fastest way I've seen is inside the browser, open up the options and select New Tab. It will open your homepage.

Emui 3 Default Browser Setting?

Anyone know how to change the default browser to Chrome in Emui 3.0? [SOLVED - see below]
While the "Manage Apps" setting has a button at the bottom for "Default App Settings" and you can change the ones for things like the launcher, camera and email, there is nothing there letting you change the browser.
OK, looking further, with Go Launcher Ex, one can also try to change default apps, but I have discovered 2 things:
(1) The usual method in "Manage Apps" to clear App Defaults does not work - defaults are not shown there
(2) There seems to be something called AndriodHwResolver (yes, misspelt like that) which is somehow controling the default app process.
Thanks, Huawei, for breaking something else with this unnecessary piece of software which stops users being in control of their own phones.
Why did you change to EMUI 3.0 if you don't like it?
ralphrmartin said:
Anyone know how to change the default browser to Chrome in Emui 3.0?
While the "Manage Apps" setting has a button at the bottom for "Default App Settings" and you can change the ones for things like the launcher, camera and email, there is nothing there letting you change the browser.
Click to expand...
Click to collapse
I had to remove the browser altogether. Plus the stock browser seems linked to Baidu.com somehow..
If your rooted you can just delete \system\app\browser.apk and reboot, if your not i'm not sure you can do anything?
"Why did you change to EMUI 3.0 if you don't like it?" I do like it. I just don't like its flaws. And Huawei didn't exactly advertise:
"Warning, this system update will remove apps, break your ability to log into Google, and to run Google Maps / Google+, choose your own browser, etc etc etc."
When I have upgraded other phones (including other brands of Chinese phones, I might add) none of this stupid stuff happened.
OK, You gave me the hint I needed. I disabled "Browser" in Manage Apps. Then when I tried to open a URL, it gave me a choice of Chrome or Baidu. Choosing Chrome worked. I hope it doesn't break anything else...

Categories

Resources