custom-url-protocol

Registering a URL protocol handler in a multiple platforms

断了今生、忘了曾经 提交于 2021-02-04 09:22:06
问题 I an wanting to create a Java application that is installed on multiple platforms (Windows,Mac OS, Linux) as a part of this install I wish to register a URL protocol handler, so that my app loads when links are clicked. i.e. I want something like this: myprotocol://example.com Is there any sort of consolidated way of doing this? Or some sort of framework that extrapolates the difference across the different OS's. 回答1: MultiBit implements this across a range of platforms I've just been down

How can I associate a custom URL protocol with a ClickOnce app?

陌路散爱 提交于 2020-01-14 19:04:29
问题 I want to associate a custom URL protocol (for example, myprotocol://SomeFolder/SomePage ) with a ClickOnce application. I can create the association without a problem - the issue is that every time the application is updated (which is frequently) the path to the EXE file changes. Is there any way around this issue? 回答1: It seems the answer to this is you can't, however I did come up with a solution. I created a launcher (very simple application) which finds the shortcut and passes its

How can I associate a custom URL protocol with a ClickOnce app?

痞子三分冷 提交于 2020-01-14 19:04:08
问题 I want to associate a custom URL protocol (for example, myprotocol://SomeFolder/SomePage ) with a ClickOnce application. I can create the association without a problem - the issue is that every time the application is updated (which is frequently) the path to the EXE file changes. Is there any way around this issue? 回答1: It seems the answer to this is you can't, however I did come up with a solution. I created a launcher (very simple application) which finds the shortcut and passes its

Open app and pass parameters with deep linking using Electron (macOS)

99封情书 提交于 2019-11-30 06:43:23
I want to open app and pass parameters with deep linking using Electron (macOS). Project 'electron-deep-linking-mac-win' is on GitHub . Edited package.json , following ‘electron-builder’ quick-setup-guide to produce mac installer: { "name": "electron-deep-linking-osx", "version": "1.0.0", "description": "A minimal Electron application with Deep Linking (OSX)", "main": "main.js", "scripts": { "start": "electron .", "pack": "build --dir", "dist": "build" }, "repository": "https://github.com/oikonomopo/electron-deep-linking-osx", "keywords": [ "Electron", "osx", "deep-linking" ], "author":

Open app and pass parameters with deep linking using Electron (macOS)

南笙酒味 提交于 2019-11-27 13:15:06
问题 I want to open app and pass parameters with deep linking using Electron (macOS). Project 'electron-deep-linking-mac-win' is on GitHub. Edited package.json , following ‘electron-builder’ quick-setup-guide to produce mac installer: { "name": "electron-deep-linking-osx", "version": "1.0.0", "description": "A minimal Electron application with Deep Linking (OSX)", "main": "main.js", "scripts": { "start": "electron .", "pack": "build --dir", "dist": "build" }, "repository": "https://github.com

Android / iOS - Custom URI / Protocol Handling

a 夏天 提交于 2019-11-27 05:58:24
Is there a way to define some kind of handling mechanism in Android and iOS that would allow me to do intercept either of the following: myapp:///events/3/ - or - http://myapp.com/events/3/ I'd like to 'listen' for either the protocol or the host, and open a corresponding Activity / ViewController. I'd like too if these could be as system wide as possible. I imagine this will be more of an issue on iOS, but I'd ideally be able to click either of those two schemes, as hyperlinks, from any app. Gmail, Safari, etc. Update: This is a very old question, and things have changed a lot on both iOS and

Android / iOS - Custom URI / Protocol Handling

为君一笑 提交于 2019-11-26 17:34:20
问题 Is there a way to define some kind of handling mechanism in Android and iOS that would allow me to do intercept either of the following: myapp:///events/3/ - or - http://myapp.com/events/3/ I'd like to 'listen' for either the protocol or the host, and open a corresponding Activity / ViewController. I'd like too if these could be as system wide as possible. I imagine this will be more of an issue on iOS, but I'd ideally be able to click either of those two schemes, as hyperlinks, from any app.

How to map a custom protocol to an application on the Mac?

好久不见. 提交于 2019-11-26 06:30:41
问题 I\'m trying to register a custom protocol to an application on the Mac, i.e: User clicks on link with \"abcdef://some/url/here\" An installed application is launched with the above string passed as the first param I\'ve done this successfully on Windows using the information from this question: how do I create my own URL protocol? (e.g. so://...) I would prefer to find something that is browser-independent, in other words at the OS level. I would also like to automate this registration

How do I register a custom URL protocol in Windows?

余生颓废 提交于 2019-11-26 01:07:46
问题 How do I register a custom protocol with Windows so that when clicking a link in an email or on a web page my application is opened and the parameters from the URL are passed to it? 回答1: Go to Start then in Find type regedit -> it should open Registry editor Click Right Mouse on HKEY_CLASSES_ROOT then New -> Key In the Key give the lowercase name by which you want urls to be called (in my case it will be testus://sdfsdfsdf ) then Click Right Mouse on testus -> then New -> String Value and add