return results with a different search engine like https://duckduckgo.com/ #88
-
Hello I think I have an idea where this occurs but have no idea if it can be changed in the UI or with a simple patch. I could compile my own version of K6nele but have no idea where to start or if this is possible. thanks https://developer.android.com/reference/android/content/Intent#ACTION_WEB_SEARCH Input: getStringExtra(SearchManager.QUERY) is the text to search for. If it is a url starts with http or https, the site will be opened. If it is plain text, Google search will be applied. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, by default But any app can provide an activity to service this intent, e.g. if you have the DuckDuckGo app (com.duckduckgo.mobile.android) installed, you can configure it always to be used for Another solution is to set up a Kõnele rewrite rule. (Some examples are here: http://kaljurand.github.io/K6nele/docs/et/rewrites.html.)
If you click on http://tinyurl.com/ivkfjcvy (in your Android device, where Kõnele is installed) you should be able to import the above table into Kõnele. Give it any name and enable it in the rewrites list. From then on all recognition results issued in the Kõnele launcher will be converted into the duckduckgo query URL, which is then opened in your default browser. So hopefully there is no need to compile your own custom Kõnele for this use-case. |
Beta Was this translation helpful? Give feedback.
Yes, by default
ACTION_WEB_SEARCH
is launched. This happens here:https://github.com/Kaljurand/speechutils/blob/aa8d69d5aaf4041e7d09948cbbafd9c32d348f48/app/src/main/java/ee/ioc/phon/android/speechutils/utils/IntentUtils.java#L71
But any app can provide an activity to service this intent, e.g. if you have the DuckDuckGo app (com.duckduckgo.mobile.android) installed, you can configure it always to be used for
ACTION_WEB_SEARCH
. In fact, it tries to convince you to do this during the first launch. After that the Kõnele output will be sent into the DuckDuckGo app. In general there is nothing in Kõnele that would lock it into using "www.google.com". (Also, it seems the bit about "Google searc…