Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Weather Codes

OP simplicity05

25th May 2014, 06:17 PM   |  #1  
OP Senior Member
Thanks Meter: 0
 
253 posts
Join Date:Joined: Nov 2007
I'm using the yahoo weather provider, and I want to rewrite all the descriptions to a max of 10 character spaces to fit my current theme. Problem I'm facing is the code being returned isn't matching up to the list found HERE.

When using #W1COND#
it returns "Scattered Thunderstorms"

but #W1CODE# returns "2"
which matches to the Hurricane code on that list from yahoo.

I do not want to use the truncate feature of rich text, because "Scattered T..." pales to "Sct TStorm" in my opinion.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes