Picasa access in android: PicasaUploadActivity
        Posted  
        
            by Glyptodon
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Glyptodon
        
        
        
        Published on 2010-02-03T16:57:48Z
        Indexed on 
            2010/05/21
            9:10 UTC
        
        
        Read the original article
        Hit count: 540
        
I am new to Android, and I'm struggling to figure out exactly what tools are available to me. I am developing for android 2.0.1 for now, just because that is what my device runs.
Specifically, I am writing an app that I would like to upload images to a picasa album. I am almost sure this is supported; for example, the built in (google?) photo viewer has a 'share' button with a picasa option, and even a small bit of sample code, including the snippet
[borrowed code! apologies if this is against the rules..]
temp.setComponent(new ComponentName 
("com.google.android.apps.uploader", 
"com.google.android.apps.uploader.picasa.PicasaUploadActivity")); 
startActivityForResult(temp, PICASA_INTENT) 
which looks like exactly what I want.
But I can find no documentation anywhere.  I am in fact quite unclear how to use this type of resource.  From within eclipse, do I need to include another project, com.google.android.apps.uploader?  If so, how do I get it? How do I include it? Is there any working sample code provided for me to peer at?  
© Stack Overflow or respective owner