Is it possible to display the Google window searched by Intent?

Asked 1 years ago, Updated 1 years ago, 65 views

When you use Intent to launch Google windows, I want to display a window that has already been searched with the given string
For example http://search.naver.com/search.naver?query=allergy

Naver's search window appears if you do it as above, but Google changes it like that http://search.google.com/search.google?query=allergy

The requested URL /search.google was not found on this server I think Google should write it differently, so can you tell me how to write it?

android intent

2022-09-21 20:21

1 Answers

Google Search can be run using the following code:

Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);
intent.putExtra(SearchManager.QUERY, "Hello World!");
startActivity(intent);

Note


2022-09-21 20:21

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.