google-photos

bulk join json with jpg from Google Takeout

a 夏天 提交于 2019-11-29 02:40:29
I wish to leave Google photos, and I have downloaded all my photos using Google Takeout. Now I have a boatload of folders containing both json files (that I think contains exif data) and images. The structure looks like this: home/user/Billeder/Takeout/Google Photos/2011-06-09/file.json. home/user/Billeder/Takeout(2)/Google Photos/2011-07-09/file.json. I want to join the json data with the correct images and organize the images in folders that correspond to their creation date. I have been looking at Exiftool, but all answers found so far only shows how to do this for a single image. What I'm

Is there an upload API for Google Photos (photos.google.com)?

别说谁变了你拦得住时间么 提交于 2019-11-28 15:08:01
Does the Google Photos app, released on May 28, 2015, have an API which allows uploading of photos? The app seems to build on Picassa and Google+. Can one of their APIs can be used to upload into Google Photos? Thor77 There's an official API for Google Photos now. It contains an upload media endpoint. That section mentions that all photos uploaded through that endpoint are counted towards the user's storage limit: Note: All media items uploaded to Google Photos through the API are stored in full resolution at original quality. If your uploads exceed 25MB per user, your application should

Download image from new Google+ (plus) Photos Application

风流意气都作罢 提交于 2019-11-28 08:03:39
Recently Google added the Photos app for Google+ (plus) and it shows up when you launch an Intent to choose an image. However, if I select an image from Google+ Photos and try to use it in my application none of my current logic is able to return a usable URI or URL to actually get an image that I can download and manipulate. I'm currently using the "common" methods to try to manipulate the URI that can be found here on Stack Overflow and elsewhere. I can provide code if needed, but at this point I think it's kind of irrelevant since it works well for everything else except this new app. Any

Using data from context providers or requesting Google Photos read permission?

大城市里の小女人 提交于 2019-11-27 20:07:28
My app allows users to import their photos and videos from other apps. Now that Google replaced Google+ Photos with Google Photos, couple of things broke for me. One of these things is re-using imported files after app restart. I have a feeling they've tightened up the permissions given out when Google Photos returns the intent with the image URI, so after my app gets killed it no longer has the permission to access the uploaded file. I'm getting the Security expection: java.lang.SecurityException: Permission Denial: opening provider com.google.android.apps.photos.contentprovider

bulk join json with jpg from Google Takeout

女生的网名这么多〃 提交于 2019-11-27 17:11:30
问题 I wish to leave Google photos, and I have downloaded all my photos using Google Takeout. Now I have a boatload of folders containing both json files (that I think contains exif data) and images. The structure looks like this: home/user/Billeder/Takeout/Google Photos/2011-06-09/file.json. home/user/Billeder/Takeout(2)/Google Photos/2011-07-09/file.json. I want to join the json data with the correct images and organize the images in folders that correspond to their creation date. I have been

Download image from new Google+ (plus) Photos Application

北慕城南 提交于 2019-11-27 02:03:23
问题 Recently Google added the Photos app for Google+ (plus) and it shows up when you launch an Intent to choose an image. However, if I select an image from Google+ Photos and try to use it in my application none of my current logic is able to return a usable URI or URL to actually get an image that I can download and manipulate. I'm currently using the "common" methods to try to manipulate the URI that can be found here on Stack Overflow and elsewhere. I can provide code if needed, but at this

Choosing photo using new Google Photos app is broken

ε祈祈猫儿з 提交于 2019-11-26 21:40:58
My app has ability to select photo from library. Exactly I want file path from this selection. This is the code to create intent for selecting photo: Intent photoPickerIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.EXTERNAL_CONTENT_URI); photoPickerIntent.setType("image/*"); startActivityForResult(photoPickerIntent, INTENT_REQUEST_CODE_SELECT_PHOTO); This is the code that gets file path from URI: Cursor cursor = null; String path = null; try { String[] projection = { MediaStore.Images.Media.DATA }; cursor = context.getContentResolver().query(contentUri, projection, null, null,

Using data from context providers or requesting Google Photos read permission?

天涯浪子 提交于 2019-11-26 20:11:24
问题 My app allows users to import their photos and videos from other apps. Now that Google replaced Google+ Photos with Google Photos, couple of things broke for me. One of these things is re-using imported files after app restart. I have a feeling they've tightened up the permissions given out when Google Photos returns the intent with the image URI, so after my app gets killed it no longer has the permission to access the uploaded file. I'm getting the Security expection: java.lang