Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Feature Request: Easily access the operating system's current default browser #7402

Closed
DartBot opened this Issue · 3 comments

4 participants

@DartBot
Collaborator

This issue was originally filed by Blu...@gmail.com


With a local client side application, with

import 'dart:io';
I think there should be a simple way to find the users current default browser and then load a web page. (Locally stored HTML or a url)

I've searched the API documentation at http://api.dartlang.org, yet have found no easy way, without messing with Processes and having to take care of multiple operating systems.

Are there are plans to simplify this? Preferably similar to the Desktop class in java?(http://docs.oracle.com/javase/6/docs/api/java/awt/Desktop.html)

Originally discussed here: http://stackoverflow.com/questions/13845498/get-the-current-operating-systems-default-browser-open-a-web-page-with-it

Thanks~

@iposva-google
Collaborator

Added Area-IO, Triaged labels.

@madsager
Collaborator

Thanks for the feature request. We do not have current plans for adding high-level APIs like this to dart:io. We are focused on lower-level APIs.

As the comments on stackoverflow mention, this should be easy to built as a package on top of Platform and Process classes in dart:io. It would be a great addition to the community Pub packages.


Removed Type-Defect label.
Added Type-Enhancement, NotPlanned labels.

@kevmoo
Owner

Removed Area-IO label.
Added Area-Library, Library-IO labels.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.