This is the src...
Intent temp = new Intent(Intent.ACTION_SEND);
  temp.setType("image/jpeg");
  temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
  temp.putExtra(Intent.EXTRA_STREAM, imageURI);
  temp.setComponent(new ComponentName(
  "com.google.android.apps.uploader",
  "com.google.android.apps.uploader.picasa.PicasaUploadActivity"));
  startActivityForResult(temp, 0);
since i did this long time ago, i sont remember the exact permissions
required...
<uses-permission android:name="android.
permission.GET_ACCOUNTS"></uses-permission>
<uses-permission
android:name="com.google.android.googleapps.permission.GOOGLE_AUTH"></uses-permission>
but its either both or one of the above....


On Fri, Jul 10, 2009 at 2:25 PM, Wouter <wouterg...@gmail.com> wrote:

>
> Hey,
>
> Is it possible to send me some code from Twitli to upload picture! I
> can use it too in my application!
>
> Thank you,
>
> Wouter
>
> On Jul 8, 12:04 am, Christine <christine.kar...@gmail.com> wrote:
> > Sure. This is the best location to start:
> http://code.google.com/apis/picasaweb/developers_guide_protocol.html
> >
> > it's an API like any other, which allows you to upload pictures,
> > create albums, anything. Authentication is like in any Google app, you
> > will need an API key. I can send you sample code that's in Twitli, if
> > you like. Twitli uploads pictures to Picasa.
> >
> > On Jun 22, 3:27 pm, RS <rajeshs...@gmail.com> wrote:
> >
> > > Is it possible to upload/download files (photos) from android to
> > > Picasa using our own apps.
> > > Is the content provider detail documented somewhere. Any API hint?
> > > Or is it just a closed component that can't be used outside google?
> >
> > > Thanks
> > > RS
> >
> >
> >
>


-- 
Regards,
Sujay
Jack Benny <http://www.brainyquote.com/quotes/authors/j/jack_benny.html>  -
"I don't deserve this award, but I have arthritis and I don't deserve that
either."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to