I am trying to fetch photos from a Picasa album in Android.
I have used following link as a reference:
http://gdata-java-client.googlecode.com/svn/tags/2.2.1-alpha/sample/picasa/picasa-atom-android-sample/instructions.html
But in the above example I think the user can only access albums, whereas I want to access photos also, which might need PhotoEntry Class, so can anyone suggest to me what files I need for Android previously to get photos from Picasa?
I've come across this source code for a widget that uses picasa api. It uses the older gdata api libraries. I have been unable to get the new libraries to work for downloading.
http://droidphotoframe.svn.sourceforge.net/viewvc/droidphotoframe/trunk/
Related
I am developing a hybrid application using Ionic Framework for Android and iOS platforms. Currently I am stuck at a stage where I want the users to add an attachment to their post. For adding particular type of attachments I am using:
cordova-plugin-camera: for photos and videos
cordova-filechooser(https://github.com/don/cordova-filechooser): for documents and files
Now, I want the user to add files(images, videos, documents etc.) from their Google Drive Account using Storage Access Framework. Currently, from my FileChooser plugin I can only see the files that are on my device. How can I achieve this?
I am attaching an image with this post so as to make it more clear.
I am designing an web application that will allow applying for the jobs we post in our career page. The application will use responsive design and should make it easy for mobile users (iOS and Android initially) to upload their resumes. I read something about uploading files to Google Drive or MS Onedrive using their corresponding APIs. However, I am trying to do the opposite; browse files, select a resume, perhaps download it locally, and finally upload it to my web application.
Do you know if this is possible? If so, what would be your recommendation?
Thanks in advance!
First you can ask the user to authorize to use their Google Drive Data using OAuth2.0. The below two reference links from the Google Drive API will be useful
1.Get the list of filenames using the filelist option in the api and fetch the filename from the list https://developers.google.com/drive/v2/reference/files
2. Download the file directly to your server using the Downloads feature of the API
https://developers.google.com/drive/web/manage-downloads
I hope this gives you enough direction to proceed further.
I have a cloud storage website and I want to create an Android application for that website.
I tried 2 methods.
First Method
Using Phonegap to open a remote website which handles everything and its built-in PHP so everything works fine. But a Cloud Storage app must allow uploading and downloading. In Phonegap I can upload through the website but can't download directly to local storage. It can only be done locally if my website is in the local www folder. Also in this way API of Phonegap can't be used either. If I download any file the browser opens up, in this case.
Second Method:
I tried to use Phonegap locally and just create an API of my cloud storage website so that locally with the help of jQuery ,Ajax so that I can post data to the remote URL, but that can't be done due to the Same Origin policy. I may receive the JSON data of files and show but can't log the user in and other features. :( Again a problem.
What else can I do? Is there any other method or solution you can provide me regarding these two methods or any alternative method I can use?
Depending on the kinds of data you're talking about there are several alternatives.
You're describing a cloud storage app (I'm assuming like drop box or Google drive right).
Therefore you'll want to write to the file system instead of some kind of database (locally ofc)
I would therefore check out the following api docs;
http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#File
Examples are there too.
PS ive had same origin problems in development, but they seem to go away in production, try testing there too.
I would like to show Picasa images in my Android app.
I've read about some incompabilities with PicasaWebService so i need a way to login and get images list to show.
Has anyone found some good library/example?
If anyones looking for an answer.
Android sample using Picasa web album API. Sample uses OAuth for login, creates and updates albums as well as uploading of photos to Picasa web album:
http://gdata-java-client.googlecode.com/svn/tags/2.2.1-alpha/sample/picasa/picasa-atom-android-sample/instructions.html
I know that the native Gallery application of Android can display pictures stored from a Picasa Web account. I have searched the SDK but could not figure out if there is a way to make media rss available in the native gallery applications (and ideally would work with any gallery application).
I thought of creating a ContentProvider, to make these available but the gallery seems to only display what is added through the MediaStore.
If you have any idea, let me know.
Thank you very much.
Unfortunately it is not possible to add Media RSS in the native gallery without modifying its source code. No API allows that.