[android-developers] Re: can write youtube api on android?

2010-01-12 Thread tstanly
thanks for your help,
finally I found that I didn't add activation.jar and servelet.jar(from
tomcat),
at first I thought it didn't need to add.


thanks

On 1月12日, 上午6時44分, Kumar Bibek coomar@gmail.com wrote:
 Hey,
 As far as I can remeber, you need to add the following the
 dependencies.
 gdata-media.jar
 mail.jar
 activation.jar
 google.collect.jar

 Kumar Bibekhttp://tech-droid.blogspot.com

 On Jan 8, 7:09 am,tstanlytsai.sta...@gmail.com wrote:



  thanks for your reply,
  however,
  I try the same code and same libs in the Android project and java
  project (within Eclipse),
  and the Android project will get the above problems that I mentioned
  for,
  but int the java project there will not get the problem, it's work
  normally!

  thanks

  On 1月7日, 上午1時49分, Kumar Bibek coomar@gmail.com wrote:

   You can report it in the Issue List of YouTube. I guess, you are
   missing out some dependencies for youtube api.

   You can check the youtube docs to find out more.

   Thanks and Regards,
   Kumar Bibek

  http://tech-droid.blogspot.com

   On Jan 6, 2:11 pm,tstanlytsai.sta...@gmail.com wrote:

hi all,

I use the youtube api and other libs such as 
gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html

but I always get the verify error:
==
E/dalvikvm(  749): Could not find class
'com.google.gdata.data.media.MediaStream
Source', referenced from method
com.google.gdata.client.media.MediaService.getMe
diaResource
W/dalvikvm(  749): VFY: unable to resolve new-instance 538 (Lcom/
google/gdata/da
ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/
MediaService;
W/dalvikvm(  749): VFY:  rejecting opcode 0x22 at 0x0013
W/dalvikvm(  749): VFY:  rejected Lcom/google/gdata/client/media/
MediaService;.g
etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/
google/gd
ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource;
W/dalvikvm(  749): Verifier rejected class Lcom/google/gdata/client/
media/MediaS
ervice;
D/AndroidRuntime(  749): Shutting down VM
W/dalvikvm(  749): threadid=3: thread exiting with uncaught exception
(group=0x4
000fe70)
E/AndroidRuntime(  749): Uncaught handler: thread main exiting due to
uncaught e
xception
E/AndroidRuntime(  749): java.lang.VerifyError:
com.google.gdata.client.media.Me
diaService
.

==
so I want to confirm whether Android can integrate gdata and youtube
api(lib)?
or is there have mailing list for gdata that I can serach for
problems?

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

[android-developers] Re: can write youtube api on android?

2010-01-11 Thread Kumar Bibek
Yes, A Java project will work. Android is a stripped down version of
JDK. So, in Android, there are a few classes removed on which Youtube
API depends. I guess, the awt package, java.awt.datatransfer is
missing on Android, and Youtube API uses this class in it's code.

Kumar Bibek
http://tech-droid.blogspot.com

On Jan 8, 7:09 am, tstanly tsai.sta...@gmail.com wrote:
 thanks for your reply,
 however,
 I try the same code and same libs in the Android project and java
 project (within Eclipse),
 and the Android project will get the above problems that I mentioned
 for,
 but int the java project there will not get the problem, it's work
 normally!

 thanks

 On 1月7日, 上午1時49分, Kumar Bibek coomar@gmail.com wrote:

  You can report it in the Issue List of YouTube. I guess, you are
  missing out some dependencies for youtube api.

  You can check the youtube docs to find out more.

  Thanks and Regards,
  Kumar Bibek

 http://tech-droid.blogspot.com

  On Jan 6, 2:11 pm,tstanlytsai.sta...@gmail.com wrote:

   hi all,

   I use the youtube api and other libs such as 
   gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html

   but I always get the verify error:
   ==
   E/dalvikvm(  749): Could not find class
   'com.google.gdata.data.media.MediaStream
   Source', referenced from method
   com.google.gdata.client.media.MediaService.getMe
   diaResource
   W/dalvikvm(  749): VFY: unable to resolve new-instance 538 (Lcom/
   google/gdata/da
   ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/
   MediaService;
   W/dalvikvm(  749): VFY:  rejecting opcode 0x22 at 0x0013
   W/dalvikvm(  749): VFY:  rejected Lcom/google/gdata/client/media/
   MediaService;.g
   etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/
   google/gd
   ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource;
   W/dalvikvm(  749): Verifier rejected class Lcom/google/gdata/client/
   media/MediaS
   ervice;
   D/AndroidRuntime(  749): Shutting down VM
   W/dalvikvm(  749): threadid=3: thread exiting with uncaught exception
   (group=0x4
   000fe70)
   E/AndroidRuntime(  749): Uncaught handler: thread main exiting due to
   uncaught e
   xception
   E/AndroidRuntime(  749): java.lang.VerifyError:
   com.google.gdata.client.media.Me
   diaService
   .

   ==
   so I want to confirm whether Android can integrate gdata and youtube
   api(lib)?
   or is there have mailing list for gdata that I can serach for
   problems?

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

[android-developers] Re: can write youtube api on android?

2010-01-11 Thread Kumar Bibek
Hey,
As far as I can remeber, you need to add the following the
dependencies.
gdata-media.jar
mail.jar
activation.jar
google.collect.jar

Kumar Bibek
http://tech-droid.blogspot.com

On Jan 8, 7:09 am, tstanly tsai.sta...@gmail.com wrote:
 thanks for your reply,
 however,
 I try the same code and same libs in the Android project and java
 project (within Eclipse),
 and the Android project will get the above problems that I mentioned
 for,
 but int the java project there will not get the problem, it's work
 normally!

 thanks

 On 1月7日, 上午1時49分, Kumar Bibek coomar@gmail.com wrote:

  You can report it in the Issue List of YouTube. I guess, you are
  missing out some dependencies for youtube api.

  You can check the youtube docs to find out more.

  Thanks and Regards,
  Kumar Bibek

 http://tech-droid.blogspot.com

  On Jan 6, 2:11 pm,tstanlytsai.sta...@gmail.com wrote:

   hi all,

   I use the youtube api and other libs such as 
   gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html

   but I always get the verify error:
   ==
   E/dalvikvm(  749): Could not find class
   'com.google.gdata.data.media.MediaStream
   Source', referenced from method
   com.google.gdata.client.media.MediaService.getMe
   diaResource
   W/dalvikvm(  749): VFY: unable to resolve new-instance 538 (Lcom/
   google/gdata/da
   ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/
   MediaService;
   W/dalvikvm(  749): VFY:  rejecting opcode 0x22 at 0x0013
   W/dalvikvm(  749): VFY:  rejected Lcom/google/gdata/client/media/
   MediaService;.g
   etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/
   google/gd
   ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource;
   W/dalvikvm(  749): Verifier rejected class Lcom/google/gdata/client/
   media/MediaS
   ervice;
   D/AndroidRuntime(  749): Shutting down VM
   W/dalvikvm(  749): threadid=3: thread exiting with uncaught exception
   (group=0x4
   000fe70)
   E/AndroidRuntime(  749): Uncaught handler: thread main exiting due to
   uncaught e
   xception
   E/AndroidRuntime(  749): java.lang.VerifyError:
   com.google.gdata.client.media.Me
   diaService
   .

   ==
   so I want to confirm whether Android can integrate gdata and youtube
   api(lib)?
   or is there have mailing list for gdata that I can serach for
   problems?

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

[android-developers] Re: can write youtube api on android?

2010-01-07 Thread tstanly

thanks for your reply,
however,
I try the same code and same libs in the Android project and java
project (within Eclipse),
and the Android project will get the above problems that I mentioned
for,
but int the java project there will not get the problem, it's work
normally!


thanks

On 1月7日, 上午1時49分, Kumar Bibek coomar@gmail.com wrote:
 You can report it in the Issue List of YouTube. I guess, you are
 missing out some dependencies for youtube api.

 You can check the youtube docs to find out more.

 Thanks and Regards,
 Kumar Bibek

 http://tech-droid.blogspot.com

 On Jan 6, 2:11 pm,tstanlytsai.sta...@gmail.com wrote:



  hi all,

  I use the youtube api and other libs such as 
  gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html

  but I always get the verify error:
  ==
  E/dalvikvm(  749): Could not find class
  'com.google.gdata.data.media.MediaStream
  Source', referenced from method
  com.google.gdata.client.media.MediaService.getMe
  diaResource
  W/dalvikvm(  749): VFY: unable to resolve new-instance 538 (Lcom/
  google/gdata/da
  ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/
  MediaService;
  W/dalvikvm(  749): VFY:  rejecting opcode 0x22 at 0x0013
  W/dalvikvm(  749): VFY:  rejected Lcom/google/gdata/client/media/
  MediaService;.g
  etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/
  google/gd
  ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource;
  W/dalvikvm(  749): Verifier rejected class Lcom/google/gdata/client/
  media/MediaS
  ervice;
  D/AndroidRuntime(  749): Shutting down VM
  W/dalvikvm(  749): threadid=3: thread exiting with uncaught exception
  (group=0x4
  000fe70)
  E/AndroidRuntime(  749): Uncaught handler: thread main exiting due to
  uncaught e
  xception
  E/AndroidRuntime(  749): java.lang.VerifyError:
  com.google.gdata.client.media.Me
  diaService
  .

  ==
  so I want to confirm whether Android can integrate gdata and youtube
  api(lib)?
  or is there have mailing list for gdata that I can serach for
  problems?

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

[android-developers] Re: can write youtube api on android?

2010-01-06 Thread Kumar Bibek
You can report it in the Issue List of YouTube. I guess, you are
missing out some dependencies for youtube api.

You can check the youtube docs to find out more.

Thanks and Regards,
Kumar Bibek

http://tech-droid.blogspot.com

On Jan 6, 2:11 pm, tstanly tsai.sta...@gmail.com wrote:
 hi all,

 I use the youtube api and other libs such as 
 gdata_client...http://code.google.com/intl/zh-TW/apis/youtube/getting_started.html

 but I always get the verify error:
 ==
 E/dalvikvm(  749): Could not find class
 'com.google.gdata.data.media.MediaStream
 Source', referenced from method
 com.google.gdata.client.media.MediaService.getMe
 diaResource
 W/dalvikvm(  749): VFY: unable to resolve new-instance 538 (Lcom/
 google/gdata/da
 ta/media/MediaStreamSource;) in Lcom/google/gdata/client/media/
 MediaService;
 W/dalvikvm(  749): VFY:  rejecting opcode 0x22 at 0x0013
 W/dalvikvm(  749): VFY:  rejected Lcom/google/gdata/client/media/
 MediaService;.g
 etMediaResource (Ljava/net/URL;Lcom/google/gdata/util/ContentType;Lcom/
 google/gd
 ata/data/DateTime;)Lcom/google/gdata/data/media/MediaSource;
 W/dalvikvm(  749): Verifier rejected class Lcom/google/gdata/client/
 media/MediaS
 ervice;
 D/AndroidRuntime(  749): Shutting down VM
 W/dalvikvm(  749): threadid=3: thread exiting with uncaught exception
 (group=0x4
 000fe70)
 E/AndroidRuntime(  749): Uncaught handler: thread main exiting due to
 uncaught e
 xception
 E/AndroidRuntime(  749): java.lang.VerifyError:
 com.google.gdata.client.media.Me
 diaService
 .

 ==
 so I want to confirm whether Android can integrate gdata and youtube
 api(lib)?
 or is there have mailing list for gdata that I can serach for
 problems?

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