<div class="gmail_quote"><div><span style="font-family:arial, sans-serif;background-color:rgb(255, 255, 255)">Okay, so to summarize, the best practice for an activity to open a URI in the browse activity is to not open a URI in the browse activity, but to open a WebView instance in your own activity instead.</span></div>
<div><span style="font-family:arial, sans-serif;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;background-color:rgb(255, 255, 255)">It will be nice when the intent system is ready. Good to know it should be an easy switch for activities' code to upgrade/switch to the new system.</span></div>
<div><font color="#500050" face="arial, sans-serif"><br></font></div><div>When making that change (or earlier), it might be good to support the python api for this too (as noted in the original post):</div><div><br></div>
<span style="font-size:13px;background-color:rgb(255, 255, 255)"><div style="font-family:arial, sans-serif">
<font face="'courier new', monospace">import webbrowser</font></div></span><div><span style="font-family:'courier new', monospace;font-size:14px;background-color:rgb(255, 255, 255)">webbrowser.open( "http;//<a href="http://google.com/" style="color:rgb(0, 0, 204)" target="_blank">google.com</a>" )</span> </div>
<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font color="#888888"><div>
</div></font><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div>I'd suggest you use this approach for now, and switch to the intent<br>
mechanism in the future. Both the switch to webkit and the design of<br>
an intent mechanism are future projects. If they are scheduled well,<br>
then all the places broken by the switch to webkit (not just in your<br>
code) can be switched to use intents at the same time.<br>
--scott<br><font color="#888888"><br></font></div></blockquote></div></blockquote></div>