title: Upload recorded video directly from my android app to my youtube channel
body: <p>I am making an android app which required recording video and uploading it to Youtube.</p>
  
  <p>Now I am able to record the video but I am unable to figure out how to upload it to Youtube . Also all users will upload the video but it should be uploaded to my channel on Youtube . I searched on S.O. but I am getting obsolete results which are not useful now.</p>
  
  <p>I tried using Youtube data v3 api but there is no sample code for video upload on the website to use it in Android. I tried to use the java code (<a href="https://developers.google.com/youtube/v3/docs/videos/insert" rel="nofollow noreferrer">this</a>) but there are imports like AuthorizationCodeInstalledApp and LocalServerReceiver which are not imported and when I searched for it on internet, I found people saying that we should not import it in android.</p>
  
  <p>These imports are required:
  import com.google.api.client.extensions.java6.auth.oauth2.AuthorizationCodeInstalledApp;
  import com.google.api.client.extensions.jetty.auth.oauth2.LocalServerReceiver;
  Am I doing something wrong here or missing something really important?</p>
  
  <p>** Please explain how to implement the functionality of uploading video to Youtube from my android app. thanks **</p>