YouTube URL Scheme - url

I am trying to open youtube via a url scheme from web.
test
This doesn't launch the youtube app on Android or iOS.

From this pdf from apple, you should write normal urls to launch youtube on ios. Like so: "http://www.youtube.com/watch?v=VIDEO_IDENTIFIER".
For the Android part, I haven't found out more than this stackoverflow answer.

Related

Opening file in an app from URL

I'm trying to create a link that, if clicked on a mobile device (ios), will open a PDF in a FileExplorer mobile app (or the App store if they don't have one installed). I've tried finding apps with their own URL scheme (similar to Facebook's "fb://" or YouTube's "youtube://"), but I'm not having any luck.
I've reviewed the content in the following pages and still have not found an answer:
iPhone apps: Can I open an app from a link in a website?
How to open ios app using url?
Opening an app from URL schema
There is the option to open the Files app at a specific location using the shareddocuments:// URL scheme, as described in this article.
There's no direct solution. Your best best is to let the user decide what to do with the PDF. Use a UIActivityViewController setup with the PDF. Then the user can choose. Typical options will be email, print, iBooks, Preview, other apps that handle PDFs, and as of iOS 11, the standard Files app.
You are not going to find URL schemes for "file explorer" apps in general. And there's little point to finding URL schemes to a few specific such apps. Any such apps the user may already have should appear in the activity view.

How to open an app with the iOS11 integrated qrcode reader

I want to use the new in-build qrcode reader in the iOS camera to open an app.
I cannot find the right documentation in the API.
Thanks for your help
Best Regards
Christian
I'v just tested with various URLs. It seems if the URL is http the Camera app opens Mobile Safari. If you know the target app URL (which is declared in the Info.plist) you can open the app with QR codes.
(ex) youtube://user/Apple --> Opens Youtube app

NSExtensionActivationRule for iOS Share Extension is not working

I am working on an app extension, that should help me to get the article URL via the sharesheet in the amazon app or in safari when surfing amazon.
For safari, I receive the info as type kUTTypeURL. From Amazon, I get the URL as type kUTTypeText. As long as I haven't set up the NSExtensionActivationRule in the info.plist, it worked fine. Now it only works for Safari, but not for Amazon. This is my current plist:
I added the DictionaryVersion as I want to avoid that it is not working because Amazon doesn't provides URL and Text - but my App is not showing up any more in the sharesheet for Amazon.
I already checked help on stackoverflow, e.g. IOS Share extension: how to read from notes posts, and also the apple documentation here: https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/AppExtensionKeys.html.
It works for me when setting up the plist like this:

Can I upload video from iphone app to twitter?

I create a video using images and audio file. Now I want to upload it on Twitter, YouTube and Facebook. I successfully uploaded it on Facebook.
I haven't found any exact link for uploading videos on Twitter and YouTube through my iPhone app.
I use xcode 4.6.
Take a look at ShareKit it's the simplest way to add social media support to your apps. I don't think it has YouTube support of of the box, but I have seen folks talking about adding it.

How to force an iTunes URL to open in Safari on the iPhone?

I have the following URL which links to the product page of a Mac app. I'd like to provide this URL inside my iPhone app. However, it always launches the App Store and subsequently can't display the product because it's not an iOS app. How would I tell it to open in Safari? Is this even possible?
http://itunes.apple.com/us/app/appname/idxxxxxxxxx
Haven't found an answer, so opted for directing to Appshoper URL instead.

Resources