Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development > Developer 101

Developer 101 101 Tutorials



Reply
 
LinkBack Thread Tools
Old December 29th, 2011, 12:21 AM   #1 (permalink)
New Member
 
Join Date: Nov 2011
Posts: 10
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default upload to youTube?

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.

nivie is offline  
Reply With Quote
Sponsors
Old December 29th, 2011, 03:21 AM   #2 (permalink)
Member
 
Join Date: Aug 2010
Location: Norway
Posts: 308
 
Device(s): Samsung Galaxy Nexus
Thanks: 0
Thanked 52 Times in 51 Posts
Default

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?
__________________
Android: Personal Storage, Lars Monsen Facts(Norwegian)
miXer is offline  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Development > Application Development > Developer 101 User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 08:20 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo