Kiss: Change search Engine option

Created on 9 Feb 2016  Â·  14Comments  Â·  Source: Neamar/KISS

Can we have option for changing the search engine ? Like Instead of google search we can select the DuckDuckGo search.

All 14 comments

@Jeshwanth See #288.

288 treats search by/in other app.

Maybe @Jeshwanth means search on the web, that would be nice, like add more options like this, in SearchResult

Uri uri = Uri.parse("https://duckduckgo.com/?q=" + searchPojo.query);

or

Uri uri = Uri.parse("https://en.wikipedia.org/wiki/Special:Search?search=" + searchPojo.query);

(regarding Wikipedia, not sure if this should be linked to locale, I mean it might be nice, but at least in my locale it's useless since relatively few things got their own page while (mostly) everything has an English page)

Although this might be hard since you will force the users to some picked options (Google, DuckDuckGo, Wikipedia or whatever) and someone would want something else, or you could present a dialog for the user to enter his search engine query string of choice https://duckduckgo.com/?q=, but that needs coding, edge cases and an increase in KISS size.

I agree with @licaon-kter. I don't know the state of #288 but I think this issue should have high priority.
Many people use duckduckgo nowadays and for an open source launcher, duckduckgo should even be the default option :-)

Ahhh...I see the difference. @licaon-kter 's suggestion is good, I doubt it would increase KISS size massively if builtin dialog things are used.

  • You could just have an extra option in the settings.
  • Clicking on it would open a new activity with a + icon.
  • Clicking the + icon would allow you to type in a uri query string and give it a name eg DuckDuckGo.
  • Then, when using KISS, extra options are added in the results list for each uri query string added.

I followed a different approach with a predefined set of search providers than @Ismasll-s suggestion.
Its only +1k in size
Let me know what you think

screenshot_2016-03-15-01-22-24
screenshot_2016-03-15-01-26-46

Niice.

Looks great, already!

What if I want to use another search provider (such as Qwant)?

With the current implementation, you will have to add it on the SearchProvider.java and make a PR :-/ or post it here and I can add it for you :-)

I guess it is not a big issue since I wouldn't expect to have too many requests for new search engines

@nmitsou Please add searchProviderUrls.put("Qwant", "https://www.qwant.com/?q="); to the static search provider list. Thanks! :smiley:

There is also StartPage and IxQuick that I use "sometimes". Don't know of any others that actually work…

Startpage would be nice. To use a selection of search engines is a great improvement of this very usefull launcher. When are these changes online and available in the f-droid store?

Hi @rudi123
Here is the current state (on master branch):
screenshot_2016-03-30-10-27-57

I don't know when they will be on fdroid

YES, thank u!!

That's currently on the beta channel in the Play Store, and will be in Fdroid soon :)

@Neamar Installed the new kiss from git today :). Nice to see the feature I was looking for. Thanks a lot.. Enjoying KISS launcher in my Android. In desktop I use ii3, in droid it's KISS. Both are simple and better :+1: Thanks Once again :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ColonelPhantom picture ColonelPhantom  Â·  7Comments

SanskritFritz picture SanskritFritz  Â·  6Comments

Wilker-a picture Wilker-a  Â·  7Comments

cfytrok picture cfytrok  Â·  7Comments

lil5 picture lil5  Â·  4Comments