Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

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

DartBot opened this Issue Dec 13, 2012 · 3 comments


None yet
4 participants

DartBot commented Dec 13, 2012

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



iposva-google commented Dec 14, 2012

Added Area-IO, Triaged labels.


madsager commented Dec 17, 2012

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 commented May 14, 2014

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