BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-28-2005, 09:50 AM   #1
nightwing36
New Member
 
Join Date: Feb 2005
Location: FL
Posts: 3
Default BB today and location ID for weather

Please Login to Remove!

How in the world can I find my location ID. I tried to select lookup location ID on my blackberry but it does nothing.


Im on OS 4.0 and have 1.4.1 BBtoday
Offline  
Old 02-28-2005, 11:32 AM   #2
Mike Stich
New Member
 
Join Date: Feb 2005
Location: Toronto, Ontario
Model: 7130g
Carrier: rogers
Posts: 10
Default

It worked for me when I entered my city into the lookup area and selected 'lookup'.

You could always just go to weather.com and search for your city there. For instance, Toronto's page is:
http://www.weather.com/outlook/trave...om=search_city
so the location ID is CAXX0504.
Offline  
Old 02-28-2005, 11:46 AM   #3
nightwing36
New Member
 
Join Date: Feb 2005
Location: FL
Posts: 3
Default

thanks soo much.. that did the trick
Offline  
Old 03-08-2005, 10:25 AM   #4
cbandler
Knows Where the Search Button Is
 
Join Date: Mar 2005
Model: 7100g
Posts: 29
Default

You can also do this:

Quote:
How It Works:
You first ask Weather.com for your city's location ID. This city can be any known city in the world. In order to get the location ID, we first need to search for the city's location ID. This can be done by accessing this url: http://xoap.weather.com/search/search?where=[city name] and providing the city as the query for the variable "where".

For example: Lets say we wish to know the weather in...Tokyo! The url would look lik this: http://xoap.weather.com/search/search?where=tokyo. Weather.com would now present us with an XML feed which basically includes the name of requested city/cities along with their state or country and the location id of the listed cities.
Here's how the output looks like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--This document is intended only for use by authorized licensees of The Weather Channel.
Unauthorized use is prohibited. Copyright 1995-2004, The Weather Channel Enterprises, Inc.
All Rights Reserved.-->
<search ver="2.0">
<loc id="JAXX0085" type="1">Tokyo, Japan</loc>
</search>

From the above XML output, we can see the city along with the country and the location id! It's located between the <loc> tags. From the location id, we can use it to rertrieve the current/latest weather for the city. The location id for our city (Tokyo) happens to be JAXX0085. Now that we have our city code, we can now obtain the weather forcast.
In order to do that, we need to request another XML feed from weather.com with this url: http://xoap.weather.com/weather/local/[loc id]?cc=*&prod=xoap&par=xxx&key=xxx&un it=m.
__________________
Cingular 8700C
Offline  
Old 03-08-2005, 04:34 PM   #5
pdutta2000
Thumbs Must Hurt
 
Join Date: Jan 2005
Model: 9530
Carrier: Verizon
Posts: 152
Default

I just entered my zip code and it worked perfectly.
__________________
Verizon 8130 - Back in Prime Time!!
Verizon Storm - gone
AT&T/Cingular 7280,7290,7130c,8100, 8310 - gone
Offline  
Old 03-15-2005, 05:05 PM   #6
MorningZ
Thumbs Must Hurt
 
MorningZ's Avatar
 
Join Date: Mar 2005
Location: Ft Lauderdale, FL
Model: 8100
Carrier: T-Mobile
Posts: 66
Default

I'll put another "me too" for the zipcode thing...... as i went nuts last night mucking around weather.com's site looking for a tool to do the lookup.. just tried the Zip and it worked find (i read somewhere afterwards that this only works for America locales)
Offline  
Old 03-27-2005, 08:17 PM   #7
buttbutt
Thumbs Must Hurt
 
buttbutt's Avatar
 
Join Date: Feb 2005
Model: 8300
Carrier: Cing
Posts: 49
Default zip

another me too in a way. If you look through the above posts, and do go to the weather.com site and punch in the zip rather than finding a city, the zip is what shows up in the locale id anyway. It works.
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


1pcs used TSXMFPP128K Memory Card picture

1pcs used TSXMFPP128K Memory Card

$175.00



Full size Mattresses, Memory Foam Hybrid Queen Mattresses in a Box, Comfortable picture

Full size Mattresses, Memory Foam Hybrid Queen Mattresses in a Box, Comfortable

$195.00



Lot Of 2 Samsung ESD DIMM DDR Memory Tray 25 Pcs DDR2 DDR3 DDR4 w/ Original Box picture

Lot Of 2 Samsung ESD DIMM DDR Memory Tray 25 Pcs DDR2 DDR3 DDR4 w/ Original Box

$10.50



Green Tea Infused Memory Foam Full Mattress, 8 inch Gel Memory Foam Mattress picture

Green Tea Infused Memory Foam Full Mattress, 8 inch Gel Memory Foam Mattress

$244.00



WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card picture

WIFI Audio Voice Recorder Live Real-Time Audio Thru App | Charger & 32GB SD Card

$129.00



Modicon Memory Card AS-ME85-000 picture

Modicon Memory Card AS-ME85-000

$225.00







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.