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 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