1. Are you ready for the Galaxy S20? Here is everything we know so far!

upload to youTube?

Discussion in 'Android Development' started by nivie, Dec 29, 2011.

  1. nivie

    nivie Newbie
    Thread Starter

    Hi,
    I am using the code provided by google to upload videos to youTube. It is giving a null pointer exception in this line:

    I have searched in google. Everywhere they are using this code only.
    I dont know how to remove this exception.

    service.insert(new URL(VIDEO_UPLOAD_FEED), newEntry);

    Thanks in advance.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. miXer

    miXer Android Enthusiast

    Have you added the permission for internet in your manifest file?

    Can you post the stack trace of your exception along with the line causing the problem?
     
Loading...

Share This Page

Loading...