[Windows Mobile Themes] abumhmmd1:
[MSH3 Widget] WP (with current conditions)

Introducing WP-Activate (v 2.0)

a new, self-updating WeatherPanel widget widget for

Mobile Shell 3.0.

Overview

Displays current weather condition data (and icon) inside Mobile Shell widgets

Weather information is extracted from WeatherPanel (source: weather.com)

The widgets are extensions of the Mobile Shell Link widget

The overall solution is a combination of Mobile Shell, Mortscript, Total Commander and custom code written by me (WP-Activate.exe)

Widget Features

Shows current weather conditions on your Lifestyle screens

Multiple widgets, with different sizes and layouts

Opens WeatherPanel when activated

Configurable widget refresh rate

Uses WeatherPanel's hourly forecast data if current data expires (after one hour without an update)

No need to manually update qa_layouts.dat or the registry (see WidgetInjector)

Works fine with VGA and QVGA (sorry, I haven't tested WVGA or WQVGA)

Prerequisites

Spb Mobile Shell 3.0

WeatherPanel (get it HERE)

Diffuculties/Shortcomings

Currently shows data for only one city (the default city configured in WeatherPanel). Of course, you can always scroll through all of your cities after opening WeatherPanel.

Mobile Shell does not display partial transparency in icons. So basically, most weather icons look like crap. To counteract this problem, I made up a new set (using Yahoo icons) - with backgrounds.

I couldn't figure out how to align the text (it may not even be possible with the link widget). So, it's always centered.

Installation is a two-step process. Adding widgets to Mobile Shell requires the qa_layouts.dat file to be updated. This, as many skinners know, is a password protected zip archive. I used Mortscript and Total Commander to automate this process, but it is a separate step that must be initiated post-install.

Installation Instructions

1. Start in Mobile Shell

2. Download WP-Activate.CAB file, copy it to your device, and install it. 3. Select Launcher, then Menu, the WeatherPanel, then Inject Widget

Sit back and watch Inject Widget work it's magic (

you'll thank storyr later

).

4. From the WeatherPanel, select Configure Widget, then select your desired refresh rate (this is the rate the widget will refresh on the Lifestyle layout).

5. Exit Mobile Shell, then restart it (or soft-reset).

6. Go to a Lifestyle page and select Add Widget. You'll now see WeatherPanel widgets in the Indicators section.

-

Mobile Shell will not display partial transparency in icons (itshows black). To counteract, storyr made this set of cropped Yahoo icons with backgrounds:

​

THANKs & CREDET TO storyr

UPDATES

Code:

May 14, 2009 11:30 PM

Added compact layout. Repackaged widget xml into it's own

standalone xml file (WpWidgets.xml). Injector now has less

work to do.

May 14, 2009 11:20 PM

Updated the WidgetInjector... yes again. Got a little over-

zealous with the "kill FingerMenu" change. This version should

work fine with FingerMenu running, and hopefully will work with

the HTC menu enhancement too.

May 13, 2009 7:48 PM Tweaked the WidgetInjector again. The issues had nothing to do with timing, but rather menu enhancement software. This version kills FingerMenu before starting the widget injection process.

for more information

http://forum.ppcgeeks.com/showthread.php?p=909663

ENJOy!

*