On Mon, Jun 22, 2009 at 7:32 PM, RS <rajeshs...@gmail.com> wrote:

>
> Sure sujay some sample code would be very helpful.

//src here...
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....

>
>  - I don't mind uploading it to any user's account .. would it still
> be accessible from other users' accounts?

provided the photo is uploaded to a public album.

>
>  - Does downloading again need a login .. do you have any sample code
> for that?

downloading actually opens the browser.. i didn't want that... so i'm still
trying to find a workaround...

>
>  - After uploading would it return an URL for my app to use .. for
> downloading or emailing to others?

 U'll hv 2 explore to get it... but as far as i no, u can get the token
id...

>
>  - And is there a possibility of tagging the photos?

Commenting is very much possible... n geotagging is automatically done if u
r using the in-built camera app...

>
>
> Thanks,
> -RS
>
> On Jun 22, 2:32 pm, Sujay Krishna Suresh <sujay.coold...@gmail.com>
> wrote:
> > I havent found any docs, but u can make use of the built-in picasa app
> (if u
> > r workin in 1.5) to upload ur photos to picasa web albums, but one
> > limitation is that u dont hv the control of signing in and signing out...
> it
> > uses the google account registered with the phone curently... if ur
> > interested i can give u sm sample codes...
> >
> > On Mon, Jun 22, 2009 at 6:57 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
> > Laurence J. Peter<
> http://www.brainyquote.com/quotes/authors/l/laurence_j_peter.html>
> > - "If two wrongs don't make a right, try three."
> >
>


-- 
Regards,
Sujay
Casey Stengel<http://www.brainyquote.com/quotes/authors/c/casey_stengel.html>
- "All right everyone, line up alphabetically according to your
height."

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