Question on Intent WEB_SEARCH

by for android » Mon, 13 Apr 2009 13:07:10 GMT


Sponsored Links
 I am using the following code snippet for searching through Google

Intent intent = new Intent();
intent.setAction(Intent.ACTION_WEB_SEARCH);
intent.putExtra(SearchManager.QUERY,"searchString")
startActivity(intent);

Is there any way I can specify through the intents that i want to open new
browser window everytime I trigger this intent.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. AsyncTask vs Handler/Looper

Hi All,

I'm trying to get my head around available Android's concurrency
blocks. I have extensive experience on related subjects from the java
enterprise world, so you can shoot low-level tech details at me no
prob :)

So, AsyncTask is to be executed only once. My understanding, on the
other hand, is that a handler/looper combination can be instantiated
once and be fed messages, either once or scheduled. Given that android
performance guide advises against excessive object creation, the
confusion is natural.

Is my general understanding of differences between subj 2 correct?
Basically, AsyncTask provides a great deal of simplicity/readability
into one's code sacrificing some resources (potentially), while
Handler can be tuned more, but is just a less convenient option?

Thanks in advance!
Andrew

--~--~---------~--~----~------------~-------~--~----~

2. A

<object width="450" height="385"><param name="movie" value="http://
backend.deviantart.com/embed/view.swf" /><param name="flashvars"
value="id=29389490&width=1337" /><param name="allowScriptAccess"
value="always" /><embed src="http://backend.deviantart.com/embed/
view.swf" type="application/x-shockwave-flash" width="450"
flashvars="id=29389490&width=1337" height="385"
allowscriptaccess="always"></embed></object><br /><a href="http://
www.deviantart.com/deviation/29389490/">AeroXp</a> by ~<a class="u"
href="http://blinkybill.deviantart.com/">blinkybill</a> on <a
href="http://www.deviantart.com">deviant</a><a href="http://
www.deviantart.com">ART</a>
--~--~---------~--~----~------------~-------~--~----~

3. ListView inside LinearLayout inside ScrollView

4. How to run the program on the new SAMSUNG GALAXY under windows XP

5. Playing video as a raw resource

6. Android Service Problem

7. Custom Title Not Filling Whole Title Bar (help please)