Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

Learning is a never ending thing and just one life is not enough to learn all the things you want to learn. The ocean of knowledge is very, very deep. This blog has been created for the same objective. I write on things which I come across in my daily life and feel to share it with the people across the world. The blog publish articles on SQL Server, SSIS 2005, SSIS 2008 alongwith other useful stuff which are good to know for the professional life.
Browse by Tags · View All
Google SpreadSheet API 12
YouTube API with .NET 7
PEGA Tutorials 6
PRPC Tutorials 6
Google BigQuery 6
Google Analytics API in .NET 6
Google Cloud Services 5
Core Reporting API with C# 4
Good Data API with Picasa 4
Ms-Excel function 4

Archive · View All
June 2012 17
October 2012 12
May 2012 12
August 2012 11
March 2013 10
July 2012 10
December 2011 9
January 2012 7
September 2012 6
February 2012 6

SinghVikash Blog

How to create new Picasa Web Album with Google Data API – Part 4?

May 7 2012 12:00AM by Vikash Kumar Singh   

This post is in continuation to my earlier post How to use Picasa Web Album with Google Data API – Part 3. Till this point we learn what Google Data API is and what is needed to get started with it in first part. In second part we learn how to read Album titles from Picasa Web with Google Data API. In third part of the series we learn to read interesting attributes of Albums such as number of photo stored in each web album, author of the each of the album and data size of each album.

In this post we will use Googe Data API i.e. GData to create a new web album thorugh our .NET client interface. To continue our example, I have added one label, one text and one button control to create a new web album to our .NET client form which we are using in this series.

This time in our .NET code snippet we are referencing Google.Picasa namespce. We are creating the instance of Album class. We are setting the title of the Album to the value we entered in our text box. We are setting the summary as well. You can create a separate textbox to the form interface to get the summary value.

    private void button2_Click(object sender, EventArgs e)
    {
         PicasaService myPicasa = new PicasaService("Vikash-Test-Picasa");
         myPicasa.setUserCredentials("abc@gmail.com", "abc");

        AlbumQuery myAlbumQuery = new AlbumQuery(PicasaQuery.CreatePicasaUri("abc"));
         PicasaFeed myPicasaFeed=myPicasa.Query(myAlbumQuery);

         Album newAlbum = new Album();
         newAlbum.Title=textBox1.Text.ToString();
         newAlbum.Summary="This Album has been created through .NET ";

         PicasaEntry newEntry = (PicasaEntry) myPicasa.Insert(myPicasaFeed, newAlbum.PicasaEntry);

         System.Windows.Forms.MessageBox.Show("Your New Album has been created");
}

After setting up the code, I connected to the internet and run the form. I entered the value Google is the best as new Album title. After clicking on Create button; I got a message stating that the New Album has been created.

I went to my Google Picasa web account and sure enough the new web album was there to see.

I clicked on Get Picasa Albm Name button and sure enough the new album title and its details were pulled. Currently there is no image in the new album so the number of photos are showing 0.

The objective for this post has been achived. The next target is to upload some images from our .NET interface to the new Web Album we have created in this post.

Thanks for reading till this point.


Republished from Blog by Vikash Kumar Singh [46 clicks].  Read the original version here [5 clicks].

Vikash Kumar Singh
279 · 0% · 152
1
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

Your Comment


Sign Up or Login to post a comment.

"How to create new Picasa Web Album with Google Data API – Part 4?" rated 5 out of 5 by 1 readers
How to create new Picasa Web Album with Google Data API – Part 4? , 5.0 out of 5 based on 1 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]