My Issue
In Windows, u can open links on ur desktop app like with spotify:track:trackname.
I wanted to use this to opn a track on a sandboxed spotify app, but instead it just opens the normal spotify app
To Reproduce
Have Windows
Download Spotify Open Spotify in a Sandbox Open
spotify:track:trackname in ur desktop
See that it opens the normal Spotify
Expected behavior
It should open the track on all Spotify instances
Note
This can of course be used with all links of this type. The behaviour is not restricted to Spotify
Related
I am looking for a solution that will allow me to create a desktop icon that when clicked will open a url in the user's default browser.
The solution should work for mac & windows (or alternatively will need a separate solution for windows and mac).
For this situation, creating a webpage shortcut from the browser is not enough. It needs to be an .exe or app.
I remember being able to do this with Flash back in the early 2000's.
I have a scenario where I have users accessing our company application either via Citrix or RDP.
The app needs to make a call from within the session to the client pc so it can open a browser for credit card entry.
This is all working okay as I'm using COM to make the call on Windows clients, however I'm not exactly sure how to approach this for Mac.
I believe a start might be able to use AppleScript to open the browser, but not sure on the best way to call the AppleScript. Should I create a C++ app written in xCode.
I'm new to any apple development, so any help or direction would be helpful.
If you have access to the shell on the remote Mac all you need to do to open Safari (or other default browser) is to execute open <URL>, for example:
open http://example.com
I have a perfect developer account now, copied the 32bit file libspotify.dll to SYSWOW64. I have the developer menu in my spotify client. When I try to open the inspector, a blue message appears: "choose the app you wanna inspect". I try to inspect a random app, but nothing happens. To develop my own, or try the examples I need an application key. But the form doesn't seem to do anything: https://developer.spotify.com/technologies/libspotify/#application-keys
Am I missing sth.?
Spotifiy client version: 0.8.2.610.g090a06f8
The console does not reveal anything. Hotkey for the console: CTRL+ALT+HOME
libSpotify is for embedding Spotify tech into your own standalone application. If you're developing a HTML app to go inside the Spotify client, you don't need libSpotify or a libSpotify application key.
As for inspecting apps, you're only allowed to inspect your own applications. To get started, check out the documentation here and the tutorial here.
I'm trying to understand how an app like 1Password can be on the Mac App Store and come with a Safari extension (and most importantly, how can the extension communicate with the app) because I'd like to do the same.
Is the native app running a server as a subprocess that get's called by the safari extension?
I'd like to know if it's possible to do that and still be Mac App Store + Sandboxing friendly.
1Password uses an agent to communicate between the Mac App and the Safari Extension. The agent is most likely a small server process that can receive RESTful calls from the extension(s). This mechanism allows the synchronization between all the different extensions (Safari, Chrome, Firefox, etc), the client and the main database.
The Safari extension is no longer installed directly by the 1Password app, by the way. Instead, you are directed to a web page that contains the Safari extension download, thus making the App sandbox-friendly.
I believe it's a regular .app that has a Safari extension inside it as a resource.
The app will check for the existence of the Safari extension on application launch, and if it doesn't find it in the default locations it will prompt the user to install it. If the users chooses to install it, the app copies the extensions to the Safari extensions folder.
I know that on the iPhone you can register a URL prefix such as myapp://blah which, when opened in safari, will open up your application.
Is there anything like this for Windows Phone 7?
Unfortunately not, applications can only be launched by the user from the application list or home screen. I suspect that the hooks are there in the operating system because the YouTube application is launched when attempting to view a video on the YouTube website from the browser and the user is prompted to install the app if they haven't already got it installed. But unfortunately, this approach isn't publicly available.
You may give Receive Push Notifications in an Application for Windows Phone http://msdn.microsoft.com/en-us/library/ff402556%28v=VS.92%29.aspx a try.