yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] kevinpwhite:
Thanks for the reply and additional info.

To answer your question, no I wasn't using a preconfigured state.xml file setup for the locations - just going in and trying to set up from the Start page using MyLocation only.

I have now tried a further completely clean install post HR and have finally achieved a successful installation :) New log file below.

View attachment TRITW.0.zip

I don't know it it had anything to do with initially only trying to set up 'MyLocation'. This time I created a location for London first (with multi-thread OFF) and that worked OK. Then added MyLocation. I have also since turned Multi-thread ON again. Not sure quite how that plays into the mix - perhaps you could clarify please ?

Four specific queries now:

1. How to switch to metric units (currently displaying degs F) ? No doubt obvious but I'm not seeing just now !

2. Is Google latitude available as a location option somewhere as per 5.9.8 ?

3. Where have you specified the X-Y position of the Today overlay icon to enable tweaking ? [see below :confused: ]

4. The 'MyLocation' label in the Titanium plugin appears to be limited to 10 characters - but has then filled in a series of 3 dots before the colon and then temperature. In the particular case it's found MyLoc as a place with an 11 char name - would be neater to just show 'as is'. Also would prefer to loose the colon. Is that behaviour editable ?

:confused:Today Icon X-Y.... somewhere you must have specified TRITW to write the following lines into the PT and LS .cpr files

Portrait
<Image ID="Background" Top="0" Left="320" Width="160" Height="160" Source="\Windows\TRITW.img" />
Landscape
<Image ID="Background" Top="0" Left="534" Width="266" Height="266" Source="\Windows\TRITW.img" />

Is this hard coded ? Or perhaps somewhere in one of the .xmls I've not spotted yet. It would be rather good if that could be specified either from the Settings or perfectly good if in an accessible variables file - it would then give some flexibility to use different icon sets and/or sizes and also tie in more neatly with existing Today themes. [eg. in my ROM theme I would maintain the same size icon in both orientations]

And finally, one additional request - is it feasible to have a switch to toggle the Titanium plugins on a per-location basis please ?

So for example, you could have just the one plugin active but a number of discrete locations set up on the main Tabs ?

Great news that you have a new tools set to help finalise - I'll look forward to trying out the next build - many thaks for your help and support :D

In the meantime, I'll try re-cooking into the ROM and see if I can get to behave as expected.

Best regards,

Kevin
[Windows Mobile Apps and Games] arealityfarbetween:
I think it's a bug in the multi-threading and synchronisation, it's weird that it tends to only occur on the first update. Generally if you can get past that it works ok and makes things a lot quicker. It's really basic, each location's weather update is run in parallel, so download, data processing, and then writing.

That looking like a much happier TRITW :D You can watch out for the line saying "Got x tags..." if you get there that's where data validation is done.

Metric units are selected as part of the feed configuration. This is necessary because worldweatheronline has two sets of tags, named differently. You access the setting through the "View Report" option, so you can only do it after a successful update. I know that seems kind of backwards and tbh the system used for selecting the configuration is quite old now, but it works pretty well and allows minimal configuration for each location before the user sees something. It's the same with the theme as that uses a similar mechanism.

Google latitude support is available, but I think the label for the text entry box went missing... Menu -> Options -> MyLocation, the big white square in the middle is for your latitude id. But, you need to have google maps signed up to latitude on your device, as always.

I think you're referring to the Titanium Overlay, you can tweak the location as you did with the previous version. All that's gotta be there is TRITW.img somewhere in that file. The default should be a sane dimension based on whatever resolution screen you have and in the upper right corner, both landscape and portrait. The Today Overlay can't be tweaked as that's regenerated every time based upon the users today screen image if they have one, or the theme image if not.

If the panel title text is longer than 15 characters then it's truncated to 12, with an elipsis to indicate there was more text in the name of the location. This makes sure that there's plenty of room for the temperature reading for that location. The only change I made with this one was to lowercase the city name. I won't put a setting in because there's a better way to do it, I just haven't gotten round to it yet.

Most of the focus of this cycle is to remove complexity for the user and improve workflow. The different sizes you've spotted in the cpr file is actually a mistake, they should both be the same size.

I have been thinking of a method for selecting the different outputs on a per location basis, but that's very low on the list of things to do for now. I've been making some huge swathing shifts to better organise it all, and the GUI still needs more behavioural work and a form or two extra adding. In addition to some background stuff and some of what's mentioned above. But, it's quite a lot more sane now, fancy getting your hands dirty?
[Windows Mobile Apps and Games] kevinpwhite:
Thanks for all that information.... I shall re-read properly this evening and check out properly. Will also try a cooked-in edition.

One thing which did jump out as a query was where you mentioned having 'lower-cased' the panel titles - in my ROM I've gone for Title Case so need the alternative. I know it can be changed manually subsequently, but would be preferable to be able to set at source if poss. Any clue on that one please ?

Best regards,

Kevin
[Windows Mobile Apps and Games] arealityfarbetween:
I'll consider putting in a single panel switch when I get around to fleshing out the options screen a little. It would stop any other panels from being displayed/installed apart from one for the default location set via the drop down list. Panels aren't shared though so it may be more difficult than I imagine to do it... We'll see. I'll look at adding some customisation options for the panel titles at that point too...

I wasn't aware that the display in titanium was that customisable, I know you could change fonts and things of course but didn't imagine it'd allow you to control the case of letters in the plugin. Is that an attribute in the cpr file, where and how is it set?
[Windows Mobile Apps and Games] kevinpwhite:
Keeping this one separate for a quick reply.....

The Plugin Labels are written from the Registry. In this example, I've created a location for London and this is the Key:

[HKEY_LOCAL_MACHINE\Software\Microsoft\CHome\TWrtuzvvtwwu\Weather\CondensedPage]
"PluginLabel"="London: 55°F"

TRITW writes to this Key as "london"; I've manually edited with a capital L and then just refreshed the Titanium interface so it shows up on screen.

I can hazily recall that for some of the other Plugin/Apps I included I ended up editing a .dll in order to get the correct display from square one rather than a 'stable door' change.

.....However, in this case it appears that having edited the Reg Key, it has in some way affecetd TRITW as it no longer recognisies that Location. Having created the same (London) again, it the appears as a new plugin. So I end up with one labelled 'london' and one labelled 'London'. The new one (small l) updates fine (and has changed to deg C, having made the change per your notes above); the original is still displaying temperature and also the saved forecast info but does not appear as a tab in the main menu screen. Slightly odd !

..... Subsequently I have changed a label without getting the above experience, but now find that as soon as TRITW next updates, of course it re-writes the labels with the data and the display is then reverted back to all lower case.

A further anomaly appears to be the current conditions icon which is appearing as an oval rather than circle - squashed widthways (or elongated vertically).

This appears to be consistent on the main Location Tab image, the 1st image on the Titanium Plugin (not quite so obvious as smaller) and the Titanium Overlay image.

It's particularly apparent just now as changed to the Clear Moon icon (33.png) which hould be a neat circle.

regards,

Kevin
[Windows Mobile Apps and Games] kevinpwhite:
It does appear to be on first update; if it can't be simpky resolved, would be good if there was an instruction to clarify.

OK - have now discovered the View Report - wasn't showing up before because of not having got past the first stage until now. Can change to metric. Although does feel a bit back to front, can now understand the rationale !

Hmmm.... I'm happily able to sign in to Latitude (using email address and password) in Google Maps but the single TRITW box doesn't appear to support that combination.

Request clarify - is this meant to be a Google Application-specific password generated on the Google website - or something different ?

Yes, sorry - mistakenly mentioned Today when I did really mean the Titanium overlay:o.

Please see preceding separate post with some more information re the plugin display.....

Would certainly be good to have greater controlability. I'm quite happy to assist with checking out and testing but afraid that I don't have any C# skills to bring to bear if that was what you had in mind !

Best regards,

Kevin
[Windows Mobile Apps and Games] kevinpwhite:
....... and an unexpected surprise - I just found out that TRITW runs on my PC as well as on the WM6.5 device !

I'd copied the complete ..\Programs\TRITW directory from the phone to my hard drive to delve around the .xmls, etc. and on clicking on the TRITWoptions.exe found it all works ! Well well :cool:

Rgds,

Kevin
[Windows Mobile Apps and Games] nurps:
Doesnt work on my win 6.5, unexpected error. :(
[Windows Mobile Apps and Games] arealityfarbetween:
@nurps:

is there any extra detail to the error message?

What's your ROM/winmo build number?

Do you have version 3.5 of the compact framework? I've attached the extra exception messages in case that will yield some more information...

Thanks for trying!
[Windows Mobile Apps and Games] nurps:
Framework 3.5 is there yes.

I have Win 6.5 Pro (CE OS 5.2.21868) with the German stockrom on a Samsung Omnia Pro.

Details:

ObjectDisposedException

Microsoft.AGL.Common.MISC.HandleAr()

System.Windows.Forms.MessageBox.Show()

TRITaniumWeather.TRITWOptions.Overview.OverviewForm.Main()

Btw uninstalling disables MortScript functionality, thats not very funny.
[Windows Mobile Apps and Games] arealityfarbetween:
Cool, cheers for that. I reckon I might have already sorted the disposed exception in the newest version I'm working on.

Sorry about the mortscript problem-though I'd removed mortscript itself from the cab I must have overlooked the registry entries for file associations. IIRC if you run the mortscript exe in your windows directory or wherever you've got it the reg entries should set themselves back up so you can run scripts from the file manager again.

Thanks again!
[Windows Mobile Apps and Games] arealityfarbetween:
that's because it doesn't install any panels by default. You need to create a panel for your locations in 5.9.4 and up. Read the changelog/manual for details.

Shame about the worldweatheronline bug, I can assure you though-it's just a single comma that's missing. If you go into the file where mortscript tells you to you can insert it and it'll work from then on :)

Working on 5.9.5 atm, we now have Yahoo! support...

EDIT: I've been thinking about dynamic pages for you to select the info you want to see. To make use of all the available space I think it would be good to ignore the lines and just have a "select items" list-then TRITaniumWeather will decide where to put stuff.

We'll need to be sure that we have a set number of characters available, or a way to calculate that-any suggestions on how to do it are encouraged!
[Windows Mobile Apps and Games] arealityfarbetween:
TRITaniumWeather 5.9.5

Hey folks, new version on the front page. See the changelog or the updated manual for details. If you're WM6.5 it'd be a good idea to uninstall the TRITaniumWeather panel as it's no-longer used in the new version.

Major changes in this version:

Yahoo! weather support.

Proper multi-panel support (You can have up to 26 as they're named TRITW{letter of the alphabet})

Basic feed capabilities implemented.

Unfortunately, selecting the elements you want to see in your panels/HTML weather view didn't make it in. I need to know how you want it to work before I start really coding that part. I'm considering taking the "In Development" tag from the title of the thread. What do you think?

Enjoy.
[Windows Mobile Apps and Games] mrvearn:
wow...i'm still using titanium weather untill now....because of Titanium fullscreen weather... are you planning to make it support fullscreen weather as well? if yes...WOWWW!! best weather application for WM!! everr!!

p/s: sorry for my english.
[Windows Mobile Apps and Games] arealityfarbetween:
fullscreen weather? Can you post a screenshot?

Is that the option in TitaniumWeather that allows you to go to the URL of the weather forecast in internet explorer? If so, that option is planned for re-introduction to TRITW, in the meantime though-you've got HTML weather view ;)

EDIT: tis ok, found some info on it. It's just animated graphics and looks pretty cool. I'll pop it on the ToDo list :D
[Windows Mobile Apps and Games] mrvearn:
yeayyyy!! long lived arealityfarbetween!!
[Windows Mobile Apps and Games] claus1953:
Works great for me in both yahoo and accuweather, just checked in explorer as i don't use titanium.

Fullscreen Weather is just the current weather displayed fullscreen as background picture, used in Titanium or in S2U2.
[Windows Mobile Apps and Games] arealityfarbetween:
TRITW 5.9.6 Available

Updated release on the front page everybody. Major updates in this release are the introduction of the Titanium Weather Overlay, Today Background switching and also much better S2U2 support. You should no longer have mismatched icons in S2U2 :D

I've also included some fullscreen packs, they're modified slightly from the ones found at the IPTweather thread-I did a quick job, the transparents are resized up to VGA so if you've a smaller screen it'd be a good idea to grab the originals. Obviously with any of these fullscreen enhancements try and get images which are the same size as your resolution.

As you can see from the updated screenshots on post #1-this was all ready to go yesterday afternoon. It's beginning to take a while to update the documentation. Anyone who wants to help on that side would be really appreciated. It doesn't have to be formatted nicely or anything, just a text file with a section in would be good :)

Anyhoo, I hope you enjoy the new release folks!

EDIT: I've done a few improvements on the code and added support for Google Latitude as a location service. I'm holding back on release though because I'm aware we're nearing the 6.0.0 version numbering but the feed capabilities system is still not fully implemented. Can you guys please give me some feedback on how you want it to work? e.g. Do you want pre-defined lines (e.g. precipitation & humidity, pressure & UV index, sunset and sunrise) that you can select or do you want *full* control over what you see on the panels?

I've also added an extra item to the ToDo list, although I reckon I'll be stepping on michoob's toes a little, do you guys want iPhoneToday support?
[Windows Mobile Apps and Games] arealityfarbetween:
iPhoneToday Support

Evening everybody, despite having no feedback I've implemented iPhoneToday Support. Attached to this post is the addon script for the implementation.

I haven't integrated it into the main TRITaniumWeather routines because I'd consider it beta at the moment, if you want to try it just dump it into the main TRITaniumWeather directory with the rest of the scripts and run it by double tapping it.

It doesn't produce any messages but after a successful run you should have another page in iPhoneToday with a single icon for each of your locations. When you tap the icon-it'll open up the HTMLView for that particular location.

Please feedback and let me know: if it works, if it doesn't, what you think of it, etc etc...

Cheers.
[Windows Mobile Apps and Games] muradmohdzain:
Great works!!

but Yahoo feed throw exceptions in my winMo 6.5.3

kindly can u fix this?
[Windows Mobile Apps and Games] arealityfarbetween:
you need to tell me what the exception is before I could even hope to fix it ;)

EDIT: If the error message mentions missing brackets, don't worry about it. I just took a look and I spotted a few careless errors that have crept in. Going to do some testing and integrate the IPT support to the main script then I'll put out 5.9.7.

Any other errors, let me know.

EDIT2: Fixed the problems with the Yahoo! feed, will be producing another release this afternoon.

Cheers!
[Windows Mobile Apps and Games] muradmohdzain:
here are the steps to reproduce :-

1. Main Menu --> Location Options --> Create New Location --> Select Database : Universal --> Search Location : Melaka

2. Completed : 0 results

3. Manual Setup? Yes

4. Select Yahoo

5. Enter Location Code : 75260

6. Update this location

7. throw exception :

Sub 'Get' not found.

Line 132 (\My Storage\Program Files\TRITaniumWeather\LocationService.mscr): CallFunction(service, location)

My country is Malaysia. My hometown is at Melaka. Dont know your program covered my country area or not.

i wish your program can include my country as i like your program very much. i'm also a die-hard-fan of weather apps.

hopefully the error exceptions can help u to improve your program. :)
[Windows Mobile Apps and Games] arealityfarbetween:
5.9.7 Released

Afternoon everybody, 5.9.7 is now available for download along with the updated manual. Please see the changelog for details as there are some major changes, the two new features are:

Support for Google Latitude so you no-longer need a location service installed to use MyLocation.

iPhoneToday Support.

And the two major bugfixes/improvements are:

Yahoo! feed definition fixed.

You no longer need to mess with the fullscreen icons you get from elsewhere. You do, however need to tell TRITaniumWeather what kind of icons they are via a simple text file in the same directory as the images, download the fullscreen pack from post #1 for examples. Existing users please note, the old fullscreen pack will no-longer work so well-please download the updated version (it's the same link on post #1)

EDIT: @muradmohdzain: That's a _very_ weird error message! Sounds like you tried to do an update on MYLOCATION without a location service defined. Are you sure at the top of the screen that the new location was showing? It'll have a number instead of a name (and that number will _NOT_ correspond to the location code) when you manually create a new location.
[Windows Mobile Apps and Games] muradmohdzain:
good evening,

i have downloaded the latest version (5.9.7) but still i cannot get my location up and running.

it would be great if you can give me step by step how to configure my location.

location name : Melaka

country : Malaysia (MY)

feed : Yahoo

i have downloaded the Fullscreen Weather Pack but dont know where to ue it.
[Windows Mobile Apps and Games] tito12:
Congratulations again:)

3 questions:

In what way iPhoneToday Support is implemented?

Is it possible to reduce the number of days in the forecast (so update takes less time)?

Can I make the icons less fuzzy? Edit, found the answer (HTC icons are very small, better use another set)

Thank you
[Windows Mobile Apps and Games] arealityfarbetween:
@muradmohdzain: I generally won't help with location codes as they're pretty easy to find. This once, the Yahoo! location code for Melaka is 115490. You might not have noticed since the status message disappears after an update (whether errors were encountered or not) but the 7xxxx location code you were trying to use yields an "Invalid Location" from Yahoo! I've done a couple of extra mods today to prevent the bug you described earlier and to keep the status screen open if there's an error which I'll put out in a zip sometime soon.

The fullscreen weather pack goes wherever you want it or have space-when you enable one of the fullscreen options TRITW will ask you what directory to look in for the images. The animated images are 480x640 (or thereabouts) and if I remember rightly that directory is about 22mb so I didn't want to restrict where you placed them.

@tito12: The iPhoneToday support is something I knocked up in an hour or so. I didn't fancy trying to calculate how many icons there were on every resolutions' screen and how many were left on each iPhoneToday page so instead I opted for simply creating a new page in the iPhoneToday "icons.xml" for TRITW's weather info-not a bad approach I thought because then we should have plenty of room to put in a few days forecast for each location in future.

Since it's a new feature, I wanted to get the functionality out there for you guys to try and let me know whether you like it or if you want it changing in some way-e.g. another way I considered was to have a single icon for TRITW on the standard iPhoneToday screens and then when you tap it, it'll generate the weather page so the icon will act like a folder for your weather.

There is no option at present to set the number of days although that would be pretty simple to implement-it is done dynamically atm, if you disable status from showing it'll work fine, just in the background and you won't notice the slowness. When designing, I took the view that since you used the data (and some people get charged for that) to download the information it was folly not to use _all_ of it.

One of the things on the ToDo list is to optimise the feed processors, I've got a few methods for getting that done and I'd like to have a bash at that first. If you still think it's too slow, after the next release, I'll add the option to limit the number of days.
[Windows Mobile Apps and Games] tito12:
Thanks for the detailed answer.

IPT: I didn't see any difference in its behavior, so I kept the same setting, that is I created icons pointing to every htm report, an icon for quick update of all the 6 locations (that's why it takes so much time too) and an icon for the general menu.

Number of days forecast: it'll be great if it can be in settings (I also think the accuracy of prediction after 3 or 4 days is questionable ;))
[Windows Mobile Apps and Games] sernam:
arealityfarbetween great!

Think you can make it compatible with SpbMobileShell?

tx!