I want to retrieve the photos from built-in Android gallery calling ACTION_PICK
Intent.
I have a problem with Picasa's images.
I have used the code to this link, but it don't work (the File object don't exist).
Any idea, please.
After Picasa retired, its Web Albums are no longer available. But if you want to find old Picasa photos in Web Album, recover from Google Photos. Simply log in to your Google Photos and view the album archives. You will find your old Picasa photos but their tags, comments, and captions might be missing.
Picasa stores data about pictures in 3 locations: the photo files themselves, inside . picasa. ini files, and in the Picasa database. In the photo files themselves: if there exists standards how to put the data in the photo file (.
Picasa Web Albums. Each Google account has a web album attached to it. You can get to it via Picasa Web Albums or via the albums in your Google+, as they are the same photos and albums.
ACTIVITYRESULT_CHOOSEPICTURE is the int you use when calling startActivity(intent, requestCode);
public void onActivityResult(int requestCode, int resultCode, Intent data) {
if(requestCode == ACTIVITYRESULT_CHOOSEPICTURE) {
BitmapFactory.Options options = new BitmapFactory.Options();
final InputStream is = context.getContentResolver().openInputStream(intent.getData());
final Bitmap bitmap = BitmapFactory.decodeStream(is, null, options);
is.close();
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With