I'm a new programmer in Android studio.
I am trying to create a button that gets a file location and uploads it to my youtube account:
I succeeded to get a video file's directory in my android code:
File mediaFile =
new File(Environment.getExternalStorageDirectory().getAbsolutePath()....)
I added a button that calls UploadToYoutube
function.
Now I would like to upload it to my youtube account through the file path I have.
Can someone direct me?
Any help appreciated!