Maybe you need to change your webview into destop mode.
Try this line with you webview.
mWebView.getSettings().setUserAgentString("Mozilla/5.0");
On Tuesday, June 1, 2010 at 9:31:21 AM UTC-4, guruk wrote:
>
> Hi,
>
> I develop an app for iphone and android.
>
> while my iphone user click in my webview on a link like:
>
> http://maps.google.com/maps?saddr=46.17121744,24.36878222&daddr=wien
>
> the NATIVE Google Maps opens. But in Android the HTML Version appears.
> How does have my call looks like so also on an Android Device the
> Native App opens the link? (in the android browser i come asked if i
> like to open
> that like by browser or GMaps)
>
> I guess (tell me i am wrong) i have to do with an intend like i did
> for Movies:
>
> public boolean shouldOverrideUrlLoading(WebView view, String url) {
> //Log.d("xxxx","My URL: "+url);
> //Log.d("xxxx","LOADING Override");
> // Checks if my Video is CLICKEd
>
> if (url.indexOf(".mp4") != -1) {
> Intent intent = new
> Intent(Intent.ACTION_VIEW);
> intent.setDataAndType(Uri.parse(url), "video/
> mp4");
> startActivity(intent);
> return true;
> }
>
>
>
> return false;
> }
>
> but how does it have to look for a GOOGLE Maps URL??
>
> Thx in advance
> Chris
>
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/270d14f0-490c-4a34-a3ad-81a1848e862c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.