title: Google Drive api android how to login and logout from my drive account with hard code without user interaction?
body: <p>In my drive app registration activity  when user put his/her email-id and hit register i want to login to my google drive account i will give email id,password login and share some files with user's given email-id and logout . And then start home activity. </p>
  
  <p>I know about drive account picker but not getting how to login and logout with hardcode. and also to login how to give my password because user will be unaware of all these things i cannot use account picker. After logging out my account details should not be there in user's mobile account manager, gmail or anywhere else. Any one suggest how can i achive this or any alternative way to do it.</p>
  
  <p>In simple words</p>
  
  <ol>
  <li>How to login to drive account using my given email and password with Hard code.</li>
  <li>After sharing files logout from my account with hard code.</li>
  </ol>