In iOS 8 is it possible to invoke extension menu from a button on website (i.e. using javascript) in safari ?
I am able to invoke the extension menu from a password field in one of my iOS APP. Like in image below.
http://blog.agilebits.com/wp-content/uploads/2014/09/Instapaper-1Password-extension.png
I want to do the same when i open my website in safari. So when user selects 1Password button from website page it should open this menu or share menu with 1Password extension. Not that user go and select share menu then 1Password.
This is not possible in Safari currently. What you are seeing in the Instapaper application is only possible using iOS SDK.
If you write a thin app around your website, this is also possible. You can signal from Javascript to your app that you want the activity used, and when the user finished, signal your website the information with Javascript.
Related
I'm looking to control another app from my macOS app.
I want to
check tab' URL in a browser (Safari, Chrome)
change tab' URL from my app
I noticed an app got Automation permission.
Use AppleScript to get and control browsers and other apps.
AppleScript can get the URLs a browser have been opened and change the tab's URL to what you want.
This is for an Android app that I want to develop using App Inventor, to read the content of a web page when a user decides to share it to my app.
When you are on a web page, in Chrome, you have the option to "Share" it. If you click this option, you get a list of available apps on your Android device to pick from. How can I make my app appear on that list?
How do I make my app read the web page that is shared by the user to my app? I want to read the text, not render the web page.
Thanks.
This is not possible with App Inventor, unfortunately.
I'm building an app, and I was curious if there's a way to open the app when you're on the website through the iOS Safari extension. So, if I'm on a post I'd tap the app icon in the share sheet and I'd pass that to the app to load the post in the app.
I know the Bing app can translate the current website and inject directly into the DOM, so I was wondering what custom logic you can implement.
There's really no way to open the app from this kind of extension. Extensions can't access [UIApplication sharedApplication], so they can't call openURL:. There's an openURL:completionHandler: method on NSExtensionContext, but it only works in "today" extensions. Share extensions can display a fully custom UI and can save data that's available to their containing app, but they can't actually open that app.
I'm trying to do what is simple in iOS, redirect from the browser to my app (I am authenticating via a website which then loads the url that switches back to my app via appreferencename:/) in Mango.
Is there a way to switch to an app from a browser via a link?
Thanks!
It's not possible, unfortunately. You are able to link to a marketplace page, but that's only useful if you want to download or update an app.
Open Windows Phone 7 App from URL
I'm trying to find out about the Extras menu on windows phone. Extras.xml. Here is what I've found (there isn't much out there)
Adding extras.xml to your app will put it into the 'extras menu'
Extras menu is available in your media library
you can send media to your app via extras menu
What else is this used for? Where else can it go? Can you use extras menu in your app or is it an OS only menu? Is it limited to media?
You can use Extras in order to further integrate your app into the OS. For example, a user can view a picture from the Pictures Hub. If your app uses the Extras file, then it'll appear as an option from within the Pictures Hub. The user can then tap on your app (from the picture's menu) and your app will launch, with the OS passing the picture to your app as a parameter. Your app reads in the image and performs some sort of function on it. Using the Extras file is very easy as demonstrated on this MSDN page.
The Mango update will further enhance this by providing the Extras menu from within Bing search results. The demo shown recently showed the user searching for a movie in Bing. Straight from the results, the user can launch the IMDB app (or any other app that uses Extras) and have the system automatically send in the details of the movie they searched for. Within the IMDB app, they could see trailers, info etc...