PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Pocket PC Themes (http://forum.ppcgeeks.com/forumdisplay.php?f=31)
-   -   [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions) (http://forum.ppcgeeks.com/showthread.php?t=68289)

storyr 05-15-2009 12:05 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by rebecker (Post 916862)
The new icon is PERFECT! Thanks.

Re: the update of the icon, I guess I'm not quite sure I understand the script. I've turned off the auto update in WP itself. I have the widget set to update every hour (although I tried 15 minutes, without any change) because of the lack of internet I have through most of the day. I usually update the weather in the morning and then again in the late afternoon. No data plan or wireless in the outback ;). However, right now I'm synched to the internet, WP shows Fair and 90; the MS icon shows Clear and 84 (which was the current info an hour ago). If I set the update time in your script to 15 minutes, for instance, and I'm not connected to the internet, will the MS icon still update? Or is there some assumption in your script that "we" are always connected?

Thanks.

-Bob-

The widget refresh script is independent of WP updates, although it does assume you're running the hourly data fix.

Here's how the widget refresh script works (regardless of the schedule):
  1. Look up the default city in the WP settings
  2. Access the current data file for that city (in WeatherPanel\data)
  3. If the data is current, use that
  4. If the data is > 1 hour old, access the hourly forecast data for that city
  5. Traipse through the hourly data until the current hour is found - use that data
One thing I've noticed in my testing:
WeatherPanel has the same feature: It will use hourly forecast data after the current data expires. I've noticed that, for whatever reason, WeatherPanel gets too far ahead in the file - maybe by a couple of hours. Whereas, the widget refresh script is accurate. This can lead to a discrepancy in what WP shows and what the widget shows - as the current data gets older throughout the day...

rebecker 05-15-2009 12:59 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by storyr (Post 916881)
The widget refresh script is independent of WP updates, although it does assume you're running the hourly data fix.

Here's how the widget refresh script works (regardless of the schedule):
  1. Look up the default city in the WP settings
  2. Access the current data file for that city (in WeatherPanel\data)
  3. If the data is current, use that
  4. If the data is > 1 hour old, access the hourly forecast data for that city
  5. Traipse through the hourly data until the current hour is found - use that data
One thing I've noticed in my testing:
WeatherPanel has the same feature: It will use hourly forecast data after the current data expires. I've noticed that, for whatever reason, WeatherPanel gets too far ahead in the file - maybe by a couple of hours. Whereas, the widget refresh script is accurate. This can lead to a discrepancy in what WP shows and what the widget shows - as the current data gets older throughout the day...

Early on in this project I thought I read that the auto update should be turned off in WP. Am I correct? Or can I have WP set to update every hour and your script every 5 or 15 minutes, for instance. I want to avoid WP updating via the internet because IF I'm connected to the internet, I'm usually on a dial up connection, which is very slow; WP disrupts other internet downloads.

Thanks again.

-Bob-

katwalk 05-15-2009 01:09 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
I downloaded and installed the latest cab and ran the Inject Widget. To my amazement, it worked this time - I received the inject widget completed successfully message. I did a soft reset, configured update time in configure widget. Now for the problem - I go to edit layout, add widget, I choose one of the WeatherPanel options, and nothing is added to the layout. What have I done (or not done) to cause this to happen? Thank you!

storyr 05-15-2009 01:11 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by rebecker (Post 917002)
Early on in this project I thought I read that the auto update should be turned off in WP. Am I correct? Or can I have WP set to update every hour and your script every 5 or 15 minutes, for instance. I want to avoid WP updating via the internet because IF I'm connected to the internet, I'm usually on a dial up connection, which is very slow; WP disrupts other internet downloads.

Thanks again.

-Bob-

No - no reason to turn WP's auto-update off. Every hour should be fine.

A couple of questions for you:

You mentioned "outback". Are you down under these days? You used to be in Costa Rica or something like that, right?

I have to ask - what/who is your avatar? :-)

storyr 05-15-2009 01:15 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by katwalk (Post 917020)
I downloaded and installed the latest cab and ran the Inject Widget. To my amazement, it worked this time - I received the inject widget completed successfully message. I did a soft reset, configured update time in configure widget. Now for the problem - I go to edit layout, add widget, I choose one of the WeatherPanel options, and nothing is added to the layout. What have I done (or not done) to cause this to happen? Thank you!

What the!?!

My suggestion would be to reinstall WP-Activate. Shouldn't have to re-inject. Are you familiar with checking things in the registry?

katwalk 05-15-2009 01:55 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
I reinstalled WP-Activate, but still nothing added to the layout after adding one of the WP widgets. Just in case this makes a difference, I should mention that I have WP in a tab in PocketBreeze on my today screen. I am not familiar with the registry settings, but I do have Resco Registry Editor installed on my phone.

rebecker 05-15-2009 03:31 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by storyr (Post 917026)
No - no reason to turn WP's auto-update off. Every hour should be fine.

A couple of questions for you:

You mentioned "outback". Are you down under these days? You used to be in Costa Rica or something like that, right?

I have to ask - what/who is your avatar? :-)

Yes, I tested having WP set at 1 hour and the widget at 5 minutes. It seems to be working fine.

"Outback" is not the correct description; "end of the road" might be more accurate. I'm still on the beach in Costa Rica.

The avatar is "the Jesus" from the movie "The Big Lebowski". John Turturro played the character. He's only in the movie maybe 5 minutes, but definitely one of the highlights. If you haven't seen it, check it out.

Thanks again for your help.

-Bob-

darren.wlsn1 05-15-2009 04:38 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
storyr, do you still use phone alarm? i need some skins.

storyr 05-15-2009 04:41 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by katwalk (Post 917094)
I reinstalled WP-Activate, but still nothing added to the layout after adding one of the WP widgets. Just in case this makes a difference, I should mention that I have WP in a tab in PocketBreeze on my today screen. I am not familiar with the registry settings, but I do have Resco Registry Editor installed on my phone.

If you could verify the following using your Resco registry editor:

Starting at HKLM, drill way down into the Spb stuff to:
HKEY_LOCAL_MACHINE\Software\Spb Software House 2\Spb Mobile Shell\WidgetList\2
There you should see the WeatherPanel widgets in the list:

http://www.venusware.net/images/wpa/screen35d.png

Select one of them, and they should each have two string values, (Default) and Str , like so:

http://www.venusware.net/images/wpa/screen35c.png

The Str value should be pointing to WpWidgets - which is what gets injected into MS.

------------------------------

If this checks out, then the next option would be for you to post your qa_layouts.dat file for examination.

One other thing to verify is: You have exited MS or soft reset AFTER installing WP-Activate, right? I'm sure you mentioned you had, but no harm checking. The behavior you're seeing is what happens when you don't...

-------------------------------

Off topic: While I was testing on QVGA and grabbing the registry screenshots, I grabbed these of PhatPhinger IV. They look pretty sweet, I think:

http://www.venusware.net/images/wpa/screen33a.png-http://www.venusware.net/images/wpa/screen33b.png

Thanks!

storyr 05-15-2009 04:43 PM

Re: [Mobile Shell 3.0 Widget] WeatherPanel (with current conditions)
 
Quote:

Originally Posted by darren.wlsn1 (Post 917374)
storyr, do you still use phone alarm? i need some skins.

sure do. check here - you'll see some of my stuff in there :)


All times are GMT -4. The time now is 07:25 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0