picasa

Retrieve Picasa Image for Upload from Gallery

此生再无相见时 提交于 2019-11-28 19:41:20
I am working on an activity and associated tasks that allow users to select an image to use as their profile picture from the Gallery. Once the selection is made the image is uploaded to a web server via its API. I have this working regular images from the gallery. However, if the image selected is from a Picasa Web Album nothing is returned. I have done a lot of debugging and narrowed the problem down to this method. public String getPath(Uri uri) { String[] projection = { MediaStore.Images.Media.DATA }; Cursor cursor = managedQuery(uri, projection, null, null, null); //cursor is null for

Automatic face detection using Picasa API to extract individual images

你离开我真会死。 提交于 2019-11-28 16:55:16
(A similar question has been asked on superuser for answers related to applications. The question is posted here to gather programmable solutions for the same) At my work place, passport sized photographs are scanned together, then cut up into individual pictures and saved with unique file numbers. Currently we use Paint.net to manually select, cut and save the pictures. Sample Scanned Document Picasa Screenshot: (from: google image search multiple sources, fairuse) For eg. In Picasa 3.8, On clicking View > People, all the faces are shown and I am asked to name them, can I save these

Where is the full size image in GData.Photos query?

好久不见. 提交于 2019-11-28 13:00:10
问题 I am querying a Picasa gallery and when I dig into the entries that are returned, I can't find the full size image. I can only see a much smaller, re-sized image ( data[0].Content.AbsoluteUri ). I know Google retains the full size image because I can see it when I view my Picasa gallery online. Where is the full size image? var picasaService = new PicasaService("Gallery"); var photoQuery = new PhotoQuery(PicasaQuery.CreatePicasaUri("GOOGLEUSERNAME", "GALLERYID")); var photoFeed =

php picasa api show large image

青春壹個敷衍的年華 提交于 2019-11-28 11:46:58
Ok so far I have been able to show thumbnails from user/album using the google feed. Everything displays ok, except when I want to show the thumbnail image larger. I can't seem to get the large image to show, not sure what to use here..here's my code: <?php $user = '100483307985144997386'; $albumid = '5092093264124561713'; $picasaURL = "http://picasaweb.google.com/$user/"; $albumfeedURL = "http://picasaweb.google.com/data/feed/api/user/$user/albumid/$albumid"; $sxml_album = simplexml_load_file($albumfeedURL); echo '<table cellpadding="3" cellspacing="3">'; echo "<tr>"; $i = 0; foreach( $sxml

Create a Picasa album and upload images to it with PHP and cURL

僤鯓⒐⒋嵵緔 提交于 2019-11-28 08:31:33
All of the tutorials I've found for creating Picasa albums and uploading pictures use the Zend Framework which I haven't studied. Is it possible to upload images and create albums using PHP and cURL? My images are stored in the directory e:/images and the image information is stored in a MySQL table like this: SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; CREATE TABLE IF NOT EXISTS `picasaimage` ( `id` bigint(1) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `content` varchar(255) COLLATE utf8_unicode_ci NOT NULL, `tags` varchar(255) COLLATE utf8_unicode_ci

Android image picker for local files only

扶醉桌前 提交于 2019-11-28 08:24:02
I'm using the built in Android image picker as follows: Intent photoPickerIntent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); m_activity.startActivityForResult(photoPickerIntent, PHOTO_PICKER_ID); Is there any way to restrict this to show only locally available files. On my device it is currently picking up Picasa thumbnails and I'd like to exclude all images that are not actually present on the device. Adding intent.putExtra(Intent.EXTRA_LOCAL_ONLY, true); will allow for local files only. It will exclude picasa images. Hope this helps.

How to build a http post request with the correct entity with Java and not using any library?

好久不见. 提交于 2019-11-28 02:17:50
问题 How should I build the entity to achieve this post request? POST https://picasaweb.google.com/data/feed/api/user/userID/albumid/albumID/photoid/photoID <entry xmlns='http://www.w3.org/2005/Atom'> <content>great photo!</content> <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#comment"/> </entry> It's from: http://code.google.com/intl/zh-TW/apis/picasaweb/docs/2.0/developers_guide_protocol.html#AddComments Could someone provide an example or

Picasa access in android: PicasaUploadActivity

浪尽此生 提交于 2019-11-27 21:04:02
问题 I am new to Android, and I'm struggling to figure out exactly what tools are available to me. I am developing for Android 2.0.1 for now, just because that is what my device runs. Specifically, I am writing an app that I would like to upload images to a Picasa album. I am almost sure this is supported; for example, the built in (Google?) photo viewer has a 'share' button with a Picasa option, and even a small bit of sample code, including the snippet [borrowed code! apologies if this is

Automatic face detection using Picasa API to extract individual images

拈花ヽ惹草 提交于 2019-11-27 20:00:19
问题 (A similar question has been asked on superuser for answers related to applications. The question is posted here to gather programmable solutions for the same) At my work place, passport sized photographs are scanned together, then cut up into individual pictures and saved with unique file numbers. Currently we use Paint.net to manually select, cut and save the pictures. Sample Scanned Document Picasa Screenshot: (from: google image search multiple sources, fairuse) For eg. In Picasa 3.8, On

XMLHttpRequest: Multipart/Related POST with XML and image as payload

丶灬走出姿态 提交于 2019-11-27 12:29:43
I'm trying to POST an image (with Metadata) to Picasa Webalbums from within a Chrome-Extension. Note that a regular post with Content-Type image/xyz works, as I described here . However, I wish to include a description/keywords and the protocol specification describes a multipart/related format with a XML and data part. I'm getting the Data through HTML5 FileReader and user file input. I retrieve a binary String using FileReader.readAsBinaryString(file); Assume this is my callback code once the FileReader has loaded the string: function upload_to_album(binaryString, filetype, albumid) { var