I am trying to use YouTubeData API in my android app. (My app need to show the youtube vedio in a part of the screen, then below other widgets). I tried to follow the Google IO 2012 training session on New Youtube Android Player Tools but I failed the following errors occured.
YouTube.initialize(this, DeveloperKey)
The 'YouTube" class is not available in my app, I have already added the library 'YouTubeAndroidPlayerApi.jar' to my lib folder. Does the YouTube class is depricted? I searched it in the google api reference but I cant find any trace of it.
My bad luck is when I tried to run the sample program provided by the google YouTubeAndroidApiDemo it return Class not found exception !!
here is the logcat
Do I have any solution? I want to implement youtube in native api, I have already done this using webview and embedded vedio link.
Thanks in advance. :)