Search

Project Description

This project will allow you to quickly create Widgets that run on a Windows Mobile 6.5 phone to allow you to view Tweets designated by a hash tag. After you create your widget you can publish it on Windows Phone Marketplace.

Quick start guide:

  1. Download the project files
  2. Unzip the contents of the project files
  3. Create a 32x32 PNG file that will be used as the icon to launch your widget on the Windows Mobile Program Menu, replace favicon.png with your new icon.
  4. Open config.xml with Notepad or your favorite XML editor and make the following changes
    1. Generate a new Guid and replace XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX with your new Guid in the <widget> element
    2. Name your widget in the <name> element. This is the name displayed in the Windows Mobile Program Menu.
    3. Add your widget description in the <description> element, this will be used when installing your widget.
    4. Add your information in the <author> element.
    5. Save the config.xml file.
  5. Optionally create a new logo.png file and copy it to the location where you unzipped your files.
  6. Open index.htm
    1. Do a find and replace for [TITLE GOES HERE] with a title for your widget. This will be in the <title> tag in the header.
    2. Do a find and replace for [HASHTAG] with the tag you want to search for in tweets. It will be on line 35 and is found in the URL used to query twitter.
  7. Save index.htm
  8. Zip up the four files config.xml, index.htm, favicon.png and logo.png
  9. Rename the extension on your file .widget

Testing your widget

  • You will need a Windows Mobile 6.5 emulator or a 6.5 device.
  • If you are using an emulator just copy the file to your emulator and click on it using File Explorer within the emulator, at that point your widget should start and you should see tweets. Remember you need to dock your emulator to get network connectivity, and then click on "Connect without establishing a partnership" if you are using Windows Mobile Device Center.d
  • If you are testing on a device you will need to modify the registry of your device so it will know how to process a file with a widget extension, add the following keys if not present
  • [HKEY_CLASSES_ROOT\riapp] "EditFlags"=dword:00010000
  • [HKEY_CLASSES_ROOT\riapp\Shell\Open\Command] "Default"="wmwidgetinstaller.exe %1"
  • Once you have added the keys, you can copy the widget to the device and click on it with File Explorer.

After you have tested your widget you can submit it to be put on the Windows Mobile Marketplace at http://developer.windowsphone.com

Last edited Mar 9 2010 at 8:04 PM by kevindwolf, version 4
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.1.11.18365