I am not very sure. This code works fine for me.

Error connecting with login URI I guess, is probablty because of not
having the internet permission. If you already have that, I have no
idea.

-Kumar Bibek
http://techdroid.kbeanie.com

On Sep 27, 2:17 am, android_developer <[email protected]>
wrote:
> I am trying to log into you tube using the following code
>
> mService = new YouTubeService("Nothing", developer_key);
>
>               //Authentication
>                 try
>                 {
>                         mService.setUserCredentials(mUsername,
> mPassword);
>                 }
>                 catch (AuthenticationException e)
>                 {
>                         Log.v(TAG, e.toString());
>                 }
>
> but I am getting:
> ConnectYouTube: com.google.gdata.util.AuthenticationException: Error
> connecting with login URI
>
> This code seems pretty basic to me and I can't figure out what mistake
> am I making here.
>
> I imported gdata libraries

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to