How to perform web search in Windows Phone using C# ?

You can use the “Search Task” Launcher to launch the web serach App and perform search of the keyword .

How to perform web search in Windows Phone using C# ?

To perform web search in Windows Phone in C# , follow the below steps

1. Add the Namespace “Microsoft.Phone.Tasks” .

2. Create an instance of the SearchTask and assign the search text to the SearchQuery property of the SearchTask object and call the Show method of the SearchTask . For example , we can assign “senthil kumar windows phone” as the text to be searched

SearchTask SearchWeb = new SearchTask();

SearchWeb.SearchQuery = "senthil kumar windows phone";

SearchWeb.Show();

 

 

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...