I want to open a share dialog (pick user's to share with and so on, standard Drive share dialog) in my desktop app. I have a browser integrated in my app, all I need is point out a URL to open the dialog. How can I get it? Can find in the doc.
Here is share dialog documentation for you.
Related
We have a macOS app, SheetPlanner, that supports sharing a document with other people for collaboration, via iCloud Drive.
When someone shares a document in Apple Pages, e.g. via email, and someone else clicks the link to open the document, the panel offers to open the document "in Pages", and opens the document directly in the app:
But when we do the same with a SheetPlanner document, it is missing the "in SheetPlanner" part, and instead displays the document in the Finder:
What are we missing? How can we get the iCloud sharing mechanism to offer to open in the app?
Here's a video that demonstrates this.
We have successfully published our app on Google App Marketplace and it can be found when navigating from Google Mail interface, but when I search the Google Marketplace
https://www.google.com/enterprise/marketplace/search?query=upsafe
for our app I don't find anything
Has anyone else come across such issue?
Many thanks
Andrew
That's because that is the old Marketplace. New applications are listed only in the new Marketplace, the one you can access from the Admin Console.
There I was able to find your application easily.
If you need to have a URL redirecting to your app, in the new Marketplace, search for you app and then click on it. You will see the "Install app" button and at the right you will see a button to share it.
Click on it and you can share it with Google+ and with Gmail or Get the Link.
Another way to get the URL is in the Chrome dashboard. There click on edit of your application and at the bottom there is a button that says "Preview Changes", click it and it will take you to the same link.
I hope this helps.
We have a Marketplace app in the new Marketplace that we do not want the universal navigation extension to be visible for.
In the setup you can uncheck "Enable Universal Navigation extension". It then forces you to "Enable Drive extension".
we don't want either of these options. We only want API access, which is granted by installing the app from the marketplace.
Does anybody know the solution to this?
Don't think that there is any solution, either one is required.
Simply point the universal navigation to any HTML page with general info or your company website, it doesn't hurt.
Actually I found a workaround to solve this problem.
I enabled a "Drive Extension" but configured the Drive extension so that it never shows up in Drive by setting a "Default File Extension" that will never occur - eg "neveroccur".
Using this approach there is no universal navigation and my app can access the APIs for the whole organization. Users cannot see a drive extension as it never activates because the file type does not exist.
I am downloading a file from Internet, and I am saving this in IsolatedStorage. and Now I want to Open that file, ie if it is excel we should open a file with excel if excel is installed, or otherwise prompt the user to choose the application to open that file as like in PC windows os, How can we do this.. give me some Idea..
As general rule, there is no way to do what you are describing. The exception to this is for media, for which you can integrate with the Music and Video hub. This would allow you to, for instance, download a movie and then play it in the same way as if it was part of the zune collection, even though it's in IsolatedStorage.
If you want to download office files from the internet you can simply link to them directly by opening them in a WebBrowserTask. The user would then be able to open the file in the relevant office program. So, if you did the follwoing, the file would be opened in Excel:
var wbt = new WebBrowserTask();
wbt.URL = "http://example.com/file.xlsx";
wbt.Show();
This would not allow you to store the file in IsolatedStorage and that may or may not be an issue for you.
Windows Phone applications run in isolation and with very few exceptions cannot interact with other programs. So there's not a way for you to present a program chooser to allow the user to choose another application to launch.
I am pretty sure there are system launchers for different applications. For example, the YouTube application can be launched programatically the way I showed here - basically it is similar to the way Matt showed. Ultimately, each app is launched via a UIX reference (catched here), but there is no public endpoint to open a res URL.
I have written an AppleScript which when supplied with a Windows network link, will convert it to the correct smb:// equivalent for the server in our office, mount the network drive, and open the requested folder in Finder.
I have this built in an application which just takes a pasted network path. Ideally I need this to trigger on clicking a link in a Mail.app email message so that it can check if the link is in the correct format, and if so run the script and attempt to mount the drive and load the folder in Finder.
How would I go about doing this?
In order to do this I think you'd need to create a Cocoa application that was registered with OS X Launch Services as the default role handler for smb:// links.
I've written some stuff about how to do this on another question: How do you set your Cocoa application as the default web browser?
If there's a pure AppleScript solution or a way of only handling links within Mail.app I'm not aware of it.