Hi, I am looking samples to upload a selected picture from my device
to Picasa Album. Is there any way?
I tried this snippet:
Intent temp = new Intent(Intent.ACTION_SEND);
temp.setType("image/png");
temp.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
temp.putExtra(Intent.EXTRA_STREAM, fileUri);
temp.setComponent(new ComponentName(
"com.google.android.apps.uploader",
"com.google.android.apps.uploader.clients.picasa.PicasaSettingsActivity"));
try {
startActivity(temp);
} catch (android.content.ActivityNotFoundException ex) {
Log.d(TAG, "Errore upload Picasa");
}
which works, but in this way I can't insert a comment (only a legendy
that will be displayed above the pic), while to insert a comment I
have to do it manually from browser (after upload).
I'd like to know if there's a way to get the image URL after uploading
it.
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-picasa-data-api?hl=en.