Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DartBot opened this issue Dec 13, 2012 · 3 comments
Closed
Labels
area-library closed-not-planned Closed as we don't intend to take action on the reported issue library-io type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

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

Thanks~

@iposva-google
Copy link
Contributor

Added Area-IO, Triaged labels.

@madsager
Copy link
Contributor

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
Copy link
Member

kevmoo commented May 14, 2014

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

@DartBot DartBot added Type-Enhancement area-library library-io closed-not-planned Closed as we don't intend to take action on the reported issue labels May 14, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-library closed-not-planned Closed as we don't intend to take action on the reported issue library-io type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants