Hi,

I integrated the youtube live stream in my project. This is the sample code 
to access the youtube data API,

GoogleCredential credential = new 
GoogleCredential.Builder().setTransport(transport)
        .setJsonFactory(jsonFactory)
        .setServiceAccountId("[email protected]")
        .setServiceAccountScopes(Arrays.asList(Utils.SCOPES))
        .setServiceAccountPrivateKeyFromP12File(new File("youtube.p12"))        
        .build();


YouTube youtube = new YouTube.Builder(transport, jsonFactory,
        credential).setApplicationName(APP_NAME)
        .build();


Here problem is, above code will always asking the user permission to accept or 
deny. I want to be the application access the youtube without asking any kind 
of permissions. Is it possible?


Thanks in Advance.


-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/034e560e-a5fd-41a0-9282-422763186b6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to