0

I am building an Android App using Python and kivy (kivymd), and I want to let the user share a YouTube link directly from YouTube to my app. So when i click share on YouTube my app appears there, with all the other apps like this: enter image description here

And when the user clicks it, it directs them to the app where the program saves the url into a variable, so that it can do stuff with it. How can I do this?

I found an Answer explaining how to do this:

<activity ...>
 <intent-filter>
  <action android:name="android.intent.action.SEND" />
  <category android:name="android.intent.category.DEFAULT" />              
  <data android:host="www.youtube.com" android:mimeType="text/*" />
 </intent-filter>
</activity>

Would i be able to somehow do this in Python? Im guessing maybe i could use pyjnius, but im not sure how.

DXNI
  • 149
  • 14

1 Answers1

0

https://developers.google.com/youtube/v3

Look at there, everything will be here or close to

  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Tyler2P Jul 04 '22 at 15:07
  • 1
    Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jul 04 '22 at 18:56