This is why I didn't trust your solution.
When you say:
mWebView.setWebViewClient(null);

You are indicating that the webview has no special processing.
So after this is called 1 time, all URLs will open in an external browser.

Basically you want:
if (photics)
  display in webview (works OK)
else
  display in external window.  So call startactivity with provided code and
URL.  I included the actual code ;-)

Might be a good idea to go outside.  And you should check out the NYC
Android group on Meetup,

Carmen





On Mon, Sep 14, 2009 at 4:24 PM, Pedro Fernandes <[email protected]> wrote:

>
>
> > I don't trust your solution.
>
> Heh... I didn't trust it at first either, but I've been playing around
> with it today. It seems OK. It also seems similiar to what you
> suggested... using an if/else after shouldOverrideUrlLoading. I tried
> to understand what you and Mark Murphy posted about Intents and
> Activities, but I wasn't able to get it working. ...
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to