Showing posts with label Developers. Show all posts
Showing posts with label Developers. Show all posts

Try Gadget Designer 1.1

Tuesday, April 29, 2008 10:41 AM



If you've ever thought about creating your own Google Desktop gadget, try the latest version of Gadget Designer, a Windows application that's part of the Google Desktop SDK. You can find instructions for downloading and using this app in a new tutorial, Using Gadget Designer.

Here's what people have to say about latest version of Gadget Designer:

With the designer I have my whole development process in one place and one window: javascript coding, xml editing and buttons arranging. A preview is just an F5 push away and I get the whole thing packed up with F7. It doesn't get any easier than that... errr, okay, it will probably directly parse human thoughts in the future.
- Yannick Stucki

Apart from [an issue in creating packages], I must say that this version of the designer is a perfect tool to develop gadgets, with everything you need in the same window (API reference, preview, sources, debugger, etc.)
- Luca Ongaro

New Blog: Google Desktop APIs

Wednesday, July 11, 2007 7:24 PM



Many Google Desktop users install gadgets and plug-ins to customize and improve their desktop experience. For example, you've likely seen the gadget gallery, which holds all kinds of interesting gadgets, from games to news displays to tools. We're always looking for new ways to support the developers who build these add-ons using our APIs. So, to supplement our Google Desktop Developer Group, we've now created a new blog to open a another line of dialog and provide useful information such as tips, announcements, developer jokes, links to articles and tutorials, and more.

If you're interested in Google Desktop development, check out the Google Desktop APIs blog.

Desktop Gadgets at Developer Day

Monday, June 11, 2007 10:28 AM

On May 31st Google hosted Developer Day events all around the world. The Google Desktop team gave two presentations: one in Mountain View, and another in Tokyo. Mihai gave the Mountain View talk, and James gave the Tokyo talk. The links lead to the YouTube videos, and are great resources for learning about the full potential of the Google Desktop APIs. Here is Mihai's presentation:


Many Google Desktop team members staffed booths and showed off the potential of Google Desktop gadgets. Developers were amazed at how easy it is to do powerful things from gadgets. We would start with a blank desktop and then hit shift-shift to bring up a slew of different and interesting gadgets. Everyone loved this. In particular, there were two gadgets that really piqued user and developer interest, because these gadgets do complicated things with small amounts of easy-to-understand code. Here they are.

Touring Gadget

Have you ever wondered which of your favorite bands are coming to town? The Touring gadget, by Martin Mroz, makes finding out easy. You enter your location, and using a simple Google Desktop API and the music community website JamBase, the Touring gadget shows you which of your favorite bands are coming to your town soon.

Touring gathers your favorite bands by using the Google Desktop Query API. When Google Desktop indexes the user's files, it extracts metadata from music files and stores them. Touring queries for music files and pulls out the artist. It only takes a few lines of code to get this data.

Multiplayer Reversi

Playing a game with your friends around the world isn't hard if the game uses the gadget GoogleTalk API. Multiplayer Reversi, by Turhan Aydin, illustrates this point and received lots of "oohs" and "ahhs" when Mihai presented it in San Jose. You select your friend to play with, they confirm, and you start to play reversi. If this sounds difficult, don't worry, it isn't: look at the code snippets.
Just days after the event, excited developers are submitting gadgets. We hope you developers out there will think about using the power of the APIs to make new and interesting gadgets that look great and empower users. If you're looking for gadgets to use yourself, go here to find all Google Desktop gadgets.

New Improved Desktop Gadget Designer

Thursday, May 03, 2007 11:27 AM



If you're starting to create desktop gadgets, be sure to try out the new and improved Google Desktop Gadget Designer, included with the latest Google Desktop SDK. It makes creating that great gadget idea of yours a breeze, with drag & drop elements, property editors, and built-in script editing. I spent my internship here working with the amazing people on the Desktop team and adding some of the most requested features to the designer.


Here are some of the new features and fixes in the latest version:
  • Additions to the API, such as listbox and progressbar, are supported.

  • The designer UI is more configurable, with variable-size panes and retained window position/size.

  • You can find and replace text and go to a specific line.

  • The properties list is sorted in alphabetical order.

  • The designer tabs have tool tips and can be closed with a middle-click.

  • You can choose whether to see a web page at startup; the new default home page lets you search Google Desktop documentation or all Google Desktop websites (including this blog).

  • New project files are UTF-8 encoded.

  • You can specify preferences, such as whether to load the most recent project at startup.
For your learning enjoyment, this version of the Google Desktop SDK also includes new samples demonstrating scrolling elements and the XML details view. And if you have requests for the designer or questions about desktop gadget development, check out the Google Desktop Developer Group and the Developer Knowledge Base -- and don't forget to read our online gadget documentation for tutorials, guidelines, and the API reference doc.

Open Source Google Desktop Gadgets

Monday, March 26, 2007 3:04 PM

Sometimes it's good to share. With that in mind, three of our most popular gadgets have been open sourced under Apache License 2.0 and are now hosted at code.google.com:

Moon Phase


Ticker for Trekkers


Wikipedia Search


If you've never visited code.google.com project hosting, you're in for a pleasant surprise. It's a completely free project-hosting solution that features source control, issue tracking, and a simple, clean interface.

So go ahead, jump on board, and start working on that feature you've always wanted. Please contact a project owner to be included in a project.

Even if you don't intend to contribute, please report issues and offer feedback.

We encourage gadget developers to take advantage of the talented Google Desktop development community by open sourcing their own gadgets on code.google.com. More information about project hosting is available at http://code.google.com/hosting.

More gadgets will be open sourced, so stay tuned. But most importantly, have fun!

What's in the updated SDK

Monday, February 05, 2007 11:25 AM



When we published our updated developer doc, we also released a new version of the SDK. Here's why you should download the latest SDK:
New samples!
The SDK has lots more sample gadgets, some of which use new features and APIs such as audio, PNG images, new options methods, and new view methods. You'll also see examples of how to use the Query API and Event API. We've even released several production-worthy samples from which more experienced developers can benefit:

Themeable, LCD-Style Clock

Classic Memory Game

Wi-Fi Network Selector

Fireworks

Rebuilt Gadget Designer
The old Gadget Designer is incompatible with the new API. Get the new Gadget Designer so you can use new features and APIs.

Better organization
We've simplified the directory structure, added a readme file to help you find what you need, and removed some files that were either obsolete or could be easily obtained from the web.
We periodically update the SDK to add samples, improve the documentation, or fix bugs. To see whether you have the latest SDK, look at the date at the top of your SDK's api/readme.html file. (If your SDK has no api/readme.html file or the file has no date, then you definitely have an old copy!) As we write this, the latest SDK date is 24 January 2007. In the future, we'll put the latest SDK date in the News box at the upper right of the Google Desktop developer home page.

Introducing the Developer Knowledge Base

Monday, January 29, 2007 11:00 AM



The good folks over at code.google.com have launched a Developer Knowledge Base, where most of the Google developer products are represented, including Google Desktop Gadgets. There's a series of Getting Started articles, which combined with the improved documentation and new tutorial makes it easier than ever to learn how to create gadgets. And there's a growing collection of How To's and Gadget Best Practices that can help elevate your skills.

This is just the beginning, so please post any suggestions, feedback or article ideas to our Developer Forum.

New Tutorial: Modifying Hello World

Monday, January 22, 2007 11:00 AM



If you're at all interested in writing desktop gadgets, take a look at Modifying Hello World. It's the first of several tutorials we plan to offer. Even if you don't know XML or JavaScript, you can complete this tutorial — it gives you all the code you need. Of course, we hope that you'll go on to write your own code. To encourage that, the tutorial lists a bunch of ideas for what to do next.

Even if you're an experienced developer, you might learn something here. (OK, maybe you won't, but you'll almost certainly have ideas for improving this tutorial or writing new ones, and we'd love to hear from you.)

This tutorial covers everything you need to create your first gadget, from downloading the SDK to editing a gadget's code and packaging the gadget so other users can run it. Along the way, you'll add a bit of pizazz to the SDK's Hello World sample, in the form of animated text.

Snapshot: Hello World with boring dialog Snapshot: Hello World, upside down
The original Hello World gadget The improved Hello World gadget (with rotating text!)

And make sure to check out our Developer Forum to share your thoughts about creating desktop gadgets.

Developer doc updated (more to come!)

Monday, December 11, 2006 12:08 AM



Take a look at our updated developer documentation — pages aimed at anyone who uses the Google Desktop SDK. Of course, the new doc describes the API changes in our latest release, but we've made other changes, too. The top-level and gadget doc has been reorganized, looks more like other Google API doc, and has some new navigational aids such as simplified side links and hierarchical links at the top.

We're still working on the doc. One of our short-term plans is to post code examples, so you won't have to download the SDK to see some source code. Another is to post a tutorial that leads you through writing your first gadget.

If you miss the old doc — maybe we removed a mostly obsolete or confusing page that you still find useful — you can download an archived version. See Using the Gadget API for details.

What else should we do? Please post your suggestions to the Developer Forum.

Helpful resources

Monday, October 09, 2006 2:15 PM



With new versions of Google Desktop frequently being released, we've really been adding to the feature set. To help you navigate this maze of features and improve your experience with Desktop, here are two help resources you may want to check out.

U2U Groups

U2U (User to User) groups are official Google Groups that enable users to post feature requests, suggestions, bugs or problem reports, and general questions about Google products and services. What's unique about a U2U group is that not only do experienced users weigh in on your feedback, but an official Google presence, our very own Google Desktop Guide, regularly participates in the discussion. Expert feedback combined with the ability to search over all group posts provides a powerful resource. In addition to the Google Desktop Help and Enterprise U2U groups, groups are also available for other products like Toolbar, Picasa, Maps, Calendar, and more.

Help Center

We maintain a Google Desktop Help Center in 12 languages to help you use Google Desktop. You can browse the content or search the Knowledge Base to find an answer to your inquiry. If you're unable to find your answer on the Help Center or the U2U group, or you would like to leave us feedback or suggestions privately, you can, through the Help Center.

And if you have questions about other Google products and services, bookmark the general Google Help portal: http://www.google.com/support

Sharing Gadgets

Monday, July 31, 2006 9:35 PM



Some gadgets are simply better when you share them, and if you're thinking of creating such a gadget, you're in luck. By means of the Communication API, Google Desktop allows a gadget to exchange data with another instance of the same gadget on a friend's computer. Through Google Talk, you can send and receive short strings (up to 2 kilobytes) of anything you want -- text snippets, chess moves, whatever.

You start by setting a handler for incoming data. Then you can list the user's Google Talk friends and even determine if that friend is idle or busy. By knowing this, you can then send data to this friend and be certain that it will be received by your gadget. On top of that, you can ask Google Talk to open a conversation window with that same pal for those times when you just have to gossip.

There's already TicTacToe, a sample in the SDK that uses the Communication API. We've just added a new sample, TalkTester, which shows you how easy it is to use this seemingly limitless API.

Hybrid scripting

Monday, July 24, 2006 3:30 PM



So you're writing a gadget for the contest and you've come on something simply impossible to do using the existing Script API. Say, for example, you need a more advanced message box that has "Yes", "No," and "Cancel" buttons, while our API only gives you a message box with just an "OK" button. Instead of redesigning your application to avoid this, you can write a hybrid script gadget to add the desired functionality. A hybrid script gadget has an <object> tag in its gmanifest file that specifies a COM component which implements features we never imagined you'd want to do.

I've written up a simple example (HybridYesNoCancel) for those of you wondering how to do this. Included with the sample is a readme file which describes, step-by-step, exactly how to do it. You can get everything in the Google Desktop SDK.

And now that the deadline has been extended, it's not too late to create something new and exciting for the contest!

More time and tips for creating gadgets

Thursday, July 20, 2006 12:00 PM



Due to user feedback, we've decided to extend the deadline for the Google Desktop Gadget Contest by two weeks. You now have until Monday, August 14, to submit your gadget. Winners will be announced on September 5. For more details, check out the contest homepage.

And for those of you thinking about the look and feel of your gadget, here are some general tips:

1. Buttons, checkboxes, and tabs should look clickable. Mouseover, mousedown, and disabled states are needed to inform users that the button is active or inactive, and also to confirm interactions.


normal state
mouseover
mousedown
Checkbox (To-do checkbox)
Button (Remove button)
Tab (Playlist tab)


2. Create selected and unselected states for your tabs. The usual UI design that defines a selected tab are 1) removal of any lines that separate the tab and its content area (a la the Windows tab UI), and 2) matching the color of the selected tab to its content area.

My Music tab is selected Playlist tab is selected


Live tab is selected Matches tab is selected



3. Use a gentle, light color for backgrounds. When selecting backgrounds, avoid intensely bright colors that can cause eyestrain. (These kinds of colors should be used very sparingly in general.)



The left image shows good color usage, while the one on the right is harder to read.



4. Take advantage of a "details" or "expanded" view. If the gadget is info-centric and primarily text-driven, try to offer "details" or "expanded" views, like news and web clips. These views allow you to display a lot of information in an efficient way.

5. Group similar items together. When there are many buttons or links, try to group relevant buttons and links together. This not only makes it easier for people to find the functions they're looking for, but it also helps them remember where things are.

6. Follow conventions. If a button is commonly used in a UI--like the close, remove, and OK buttons in Windows or Google Desktop--try to follow the conventions associated with those buttons and place them accordingly.

For example, a close button is always on the upper right corner.

Details view Options window

Personalize your gadget

Wednesday, July 12, 2006 12:00 PM



Now that the Google Desktop Gadget Contest is running, I have a tip for how to personalize your gadget: make it react to what the user's doing. For example, I buy books on Amazon a lot, and I realized that I was doing a very similar query over and over -- looking up reviews for the books I found interesting. I realized that I could create a Google Desktop Gadget that watched for when I was visiting Amazon, and then performed a query on the title of the book I was looking at. Voila, the gadget then displays those Google search results in the Sidebar.

The source code for this gadget (named I'm Feeling Lucky) can be found in the samples section of the Google Desktop SDK.

Here are some other ideas for personalizing that might inspire you:
  • When someone is reading blogs, show the top posts from Technorati or Digg or another popular aggregator.

  • Silly pictures! When someone is reading an email message, find a picture online, or on their computer, to associate with the sender -- and whenever the gadget sees that person's name, show the picture. Add some utility by making the picture respond to clicks.
You get the idea! Make the experience more personal. And have fun doing it!

Let's get it started

Tuesday, June 27, 2006 11:00 AM



We're post-beta! Google Desktop 4 is available in English. Plus there are now beta versions of Google Desktop in 27 languages (up from 16). So now just about everyone will be able to use the latest and greatest Google Gadgets.

And if you're a developer, more power to you. Check out the Google Desktop Gadget Designer, a new developer tool for creating, maintaining and debugging gadgets faster than before. You can now easily manage your projects and files, visually design your gadget UI (no need to handcode the xml), edit your script code and preview changes instantly (no more restarts), view debug messages with the built-in debug console, automatically generate the gadget package and manifest and much more in an integrated development environment. The designer is available for download as part of the latest Google Desktop SDK.

But wait, there's more! We're announcing a Google Desktop Gadget Contest for developers, with $8,000 in cash prizes. The contest is only open for the next month, so put on your coding hat and start churning out those cool gadgets you've always wanted. Good luck and have fun!