Launch a chrome app with parameters

3,791 views
Skip to first unread message

Ludovic Valente

unread,
Sep 10, 2013, 8:02:00 AM9/10/13
to chromi...@chromium.org
Hello,

Is there a way to launch a chrome app with parameters (URI, command line...)?  
Especially, is there way to open a specific chrome app from a website, with/without an extension.

The best solution will be a custom protocol handler, but it seems not available...

Thanks

Ben Wells

unread,
Sep 11, 2013, 12:40:48 AM9/11/13
to Ludovic Valente, Chromium Apps
Not currently but it is something we have planned. You can now pass file paths through but only from the command line.

What exactly do you want to achieve?


--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.

Brandon Nozaki Miller

unread,
Sep 11, 2013, 4:30:30 AM9/11/13
to Ben Wells, Ludovic Valente, Chromium Apps

Ben Wells

unread,
Sep 11, 2013, 1:58:55 PM9/11/13
to Brandon Nozaki Miller, Ludovic Valente, Chromium Apps
Also check out this: https://groups.google.com/a/chromium.org/forum/#!topic/apps-dev/44EmyiN88kQ, which might do exactly what you want.

If it doesn't please let us know why and we can think about what features we need to add to meet your use case.

Ramsundar Kandasamy

unread,
Oct 26, 2016, 7:34:27 PM10/26/16
to Chromium-Apps-Announce, bra...@1942design.com, ludovic...@gmail.com, benw...@chromium.org
Hey,

sorry to dust out an old question :)

Does a chrome app allow to read command line arguments "now"?

e.g. "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --profile-directory=Default --app-id=llllllllllllll "MyName" "Address"

Thanks!
Ram

Rick Cunningham

unread,
Oct 27, 2016, 11:11:13 PM10/27/16
to Lilth...@aol.com, benw...@chromium.org, bra...@1942design.com, ludovic...@gmail.com, Chromium-Apps-Announce
You received this message because you are subscribed to the Google Groups "Chromium-Apps-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-apps+unsubscribe@chromium.org.

To post to this group, send email to chromi...@chromium.org.

Rick Cunningham

unread,
Oct 27, 2016, 11:30:15 PM10/27/16
to Lilth...@aol.com, benw...@chromium.org, Brandon Nozaki Miller, Chromium-Apps-Announce, ludovic...@gmail.com
Reply all
Reply to author
Forward
0 new messages