Here is the sample code to launch the view intent:

        Uri uri = Uri.parse(url);
        // check if others handle this url
        Intent intent = new Intent(Intent.ACTION_VIEW, uri);
        intent.addCategory(Intent.CATEGORY_BROWSABLE);
        try {
          if (startActivityIfNeeded(intent, -1)) {
          // success
          }
        } catch (ActivityNotFoundException ex) {
          // fail
        }

The rtsp link doesn't seem to be recognized by anything on the
emulator.

Michael

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