• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps upload to youTube?

nivie

Newbie
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.
 
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?
 
Back
Top Bottom