BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 07-26-2009, 02:22 AM   #1 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BBWeather Experimental with GPS

Please Login to Remove!

Yes folks, it's that time again for me...time to spend way, way too many hours in front of the computer...I found a couple of websites that do reverse geocoding, they take a latitude and longtitude and return a postal code and the result is an experimental GPS enabled version of BBWeather.

Caveats...
1) Only works in the US, atleast for now...The reverse geocoding seems to work for other countries but the postal code value it returns is not compatible with the LocationID needed by the weather server.
2) Currently only compiled for OS4.3 and above. Also, the specialized Storm version is not available (this version might work, though). These will probably be available...sometime...
3) Currently only available as an OTA download.

To use GPS:
1) Add a new location -- Options - Current Profiles - Add
2) Set Location ID: @gps
3) Set the other fields to whatever you want
4) Press "OK" to save it
5) Under Options, look for the first "GPS Type"
6) The default type is "Autonomous + Assisted" but not all phones support that type. The Bold does. The Bold does not support Cellsite. You can try all four to see which one works for your model. This knowledge base article might also help you decide.
7) The second "GPS Type" option is a typo and should be "GPS Server." You can probably leave this as the default, I just put the second server in there because I could. At some point, I may take the option out and just make BBWeather try the 1st one and, if it fails, automatically try the 2nd one.
8) That's it, save the Options and go back to the current conditions screen.

The 1st line on the Weather screens says BBWeather, the 2nd line says the City and LocationID. If the end of that 2nd line says "GPS" it means the GPS coordinates were just updated right now. If it says "GPS*" it means it is using GPS coordinates obtained sometime in the last 10 minutes. If it says "GPS**" it means BBWeather was unable to obtain GPS coordinates and it is using the last known valid GPS location. The GPS Coordinates are normally only refreshed if they are older than 10 minutes but you can force a refresh at any time by choosing "Update" from the menu.

So far, it's only been tested on my AT&T Bold.

http://www.tateu.net/software/dl.php?f=BBWeatherEX
Attached Images
File Type: gif BBW_GPS01_Options01.gif (6.6 KB, 204 views)
File Type: gif BBW_GPS02_Options02.gif (7.1 KB, 147 views)
File Type: gif BBW_GPS03_Found.gif (3.4 KB, 131 views)
File Type: gif BBW_GPS04_ReUse.gif (3.5 KB, 87 views)
File Type: gif BBW_GPS05_Not_Found.gif (3.5 KB, 80 views)
Offline  
Old 07-26-2009, 02:34 AM   #2 (permalink)
Just me
 
fonejunkie's Avatar
 
Join Date: Jul 2006
Model: iFone
OS: iOS4
PIN: Not on my iPhone5
Carrier: iPhone5 on AT&T Mobility
Posts: 2,292
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Another sweet development... downloading now and will play with it... Tateu, you are STILL the man...

Edit Update:

Test findings:

Got the software downloaded and installed. When I started BBW, it prompted me for a setup location, but would not accept @gps... so I cancelled and went back into the menu via OPTIONS / (menu) / ADD and I was able to add the @gps location.

After the initial refresh of weather data, the display shows only the city and zip - Peoria, AZ (85345) instead of the Peoria, AZ (85345) GPS location. Switching between the @gps location and Peoria via shortcuts (g and p) causes NO change on the weather screen.

But if I close the app and return to the icon screen, I see that the locations are, in fact, changing because the shortcut letter is displayed in the application name text...

If I exit BBWeather (actually closed the app down) and then restart it, it shows the GPS* indicator again, until I swap back to Peoria using the short cut key. At that point it behaves as described above.

Last edited by fonejunkie : 07-26-2009 at 03:12 AM.
Offline  
Old 07-26-2009, 04:18 AM   #3 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by fonejunkie View Post
Got the software downloaded and installed. When I started BBW, it prompted me for a setup location, but would not accept @gps
I cannot confirm this...I was able to add @gps when the app first loaded and automatically opened the Profile dialog. Did you leave the description empty the first time? It won't let you save a profile without one.

Quote:
Originally Posted by fonejunkie View Post
After the initial refresh of weather data, the display shows only the city and zip - Peoria, AZ (85345) instead of the Peoria, AZ (85345) GPS location. Switching between the @gps location and Peoria via shortcuts (g and p) causes NO change on the weather screen.

But if I close the app and return to the icon screen, I see that the locations are, in fact, changing because the shortcut letter is displayed in the application name text...

If I exit BBWeather (actually closed the app down) and then restart it, it shows the GPS* indicator again, until I swap back to Peoria using the short cut key. At that point it behaves as described above.
I can confirm this. It is actually switching to the GPS profile, it's just a bug that keeps the "GPS" text from displaying once you load a non GPS profile. If you choose Update from the menu, after pressing the shortcut key for the GPS profile, you will see that the "GPS" text comes back, proving that you are actually on a GPS profile. I haven't figured out how to fix it but I know what's causing it so expect that, at some point, it will be fixed.
Offline  
Old 07-26-2009, 09:19 AM   #4 (permalink)
BlackBerry Master
 
MrKyoo's Avatar
 
Join Date: Oct 2005
Location: Los Angeles
Model: 4s
OS: iOS
PIN: 79B32491
Carrier: AT&T
Posts: 4,546
Post Thanks: 1
Thanked 4 Times in 3 Posts
Default

Device: 8900

No @gps locations
Offline  
Old 07-26-2009, 10:06 AM   #5 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

I wonder how a semi-GPS locked Verizon phone will do with this?
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 10:12 AM   #6 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by MrKyoo View Post
Device: 8900
No @gps locations
I'm not sure exactly what that means. It won't allow you to enter @gps in the LocationID?

Quote:
Originally Posted by akosnitzky View Post
I wonder how a semi-GPS locked Verizon phone will do with this?
I was hoping the "Cellsite" gps type would handle this but I don't know.
Offline  
Old 07-26-2009, 10:24 AM   #7 (permalink)
BlackBerry Master
 
MrKyoo's Avatar
 
Join Date: Oct 2005
Location: Los Angeles
Model: 4s
OS: iOS
PIN: 79B32491
Carrier: AT&T
Posts: 4,546
Post Thanks: 1
Thanked 4 Times in 3 Posts
Default

Aah I see, I manually typed in "@gps" for the Location ID and typed in "gps" for the Description.

Testing now..
Offline  
Old 07-26-2009, 10:27 AM   #8 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, sorry about that..."manually type in @gps for the Location ID" is a much better way to word it...Lack of sleep slows my brain down and I wasn't too clear...it's 7:30am and I still haven't gone to bed.
Offline  
Old 07-26-2009, 10:30 AM   #9 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

I will test
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 10:54 AM   #10 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

I inputted @gps and received back after attempting to retrieve for @gpsnull
invalid location provided
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 11:05 AM   #11 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wirelessly posted

And you tried all 4 GPS Types? Then I venture to guess that it doesn't work on a Verizon phone. Either that or I screwed something up.
Offline  
Old 07-26-2009, 11:09 AM   #12 (permalink)
CrackBerry Addict
 
Join Date: Nov 2007
Location: Greensboro, NC, U.S.A.
Model: 8530
OS: 5.0.0.459
PIN: N/A
Carrier: Verizon Wireless
Posts: 523
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by akosnitzky View Post
I wonder how a semi-GPS locked Verizon phone will do with this?
I'm sure my Verizon 8130 won't be able to use the GPS option--I'll try it out with the cell-site option. Thanks, tateu.
Offline  
Old 07-26-2009, 11:14 AM   #13 (permalink)
Just me
 
fonejunkie's Avatar
 
Join Date: Jul 2006
Model: iFone
OS: iOS4
PIN: Not on my iPhone5
Carrier: iPhone5 on AT&T Mobility
Posts: 2,292
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by tateu View Post
I cannot confirm this...I was able to add @gps when the app first loaded and automatically opened the Profile dialog. Did you leave the description empty the first time? It won't let you save a profile without one.
I honestly don't recall. When adding a new location, typically I enter the zip code and hit MENU / LOOKUP LOCATION ID. It is possible that when I entered @gps in the location ID that I did the same thing and that was what caused the error. I don't recall (it was late)... but I just retested and the LOOKUP LOCATION ID does fail if location is @gps... so that that makes total sense... this was most likely a PEBCAK error.


Quote:
Originally Posted by tateu View Post
I can confirm this. It is actually switching to the GPS profile, it's just a bug that keeps the "GPS" text from displaying once you load a non GPS profile. If you choose Update from the menu, after pressing the shortcut key for the GPS profile, you will see that the "GPS" text comes back, proving that you are actually on a GPS profile. I haven't figured out how to fix it but I know what's causing it so expect that, at some point, it will be fixed.
Thanks for the information, and I have confirmed that doing as you suggest does resolve the display issue.

Looks like the start of something good!
Offline  
Old 07-26-2009, 11:37 AM   #14 (permalink)
CrackBerry Addict
 
Join Date: Nov 2007
Location: Greensboro, NC, U.S.A.
Model: 8530
OS: 5.0.0.459
PIN: N/A
Carrier: Verizon Wireless
Posts: 523
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here's what I set:
Location ID: @gps
Description: GPS
Forecast Days: 10
Hourly Forecast Count: 24
Units: Standard
Shortcut Key:

Pressed OK and now I have a profile called "GPS."

I set GPS Type to Cellsite (I tried all of them but I'm sure Verizon would only work with the cell site)


After trying to retrieve the weather I get the following:
Error - Current Conditions
Thread (@gpsnull):
Invalid location provided.

I added my location by ZIP (27410) and that profile works as expected.
Offline  
Old 07-26-2009, 11:43 AM   #15 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

Quote:
Originally Posted by scottjb View Post
Here's what I set:
Location ID: @gps
Description: GPS
Forecast Days: 10
Hourly Forecast Count: 24
Units: Standard
Shortcut Key:

Pressed OK and now I have a profile called "GPS."

I set GPS Type to Cellsite (I tried all of them but I'm sure Verizon would only work with the cell site)


After trying to retrieve the weather I get the following:
Error - Current Conditions
Thread (@gpsnull):
Invalid location provided.

I added my location by ZIP (27410) and that profile works as expected.
Same issue
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 03:16 PM   #16 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

Its now working on my Tour. Verizon Tour users can use this app. I get ** to show its the GPS field
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 04:35 PM   #17 (permalink)
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2005
Location: Los Angeles, CA USA
Model: 9000
OS: 4.6.0.247
Carrier: AT&T
Posts: 209
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm...GPS** means that it was unable to get a GPS location at this time and is using the last known good GPS location...which means it was atleast able to get a good value sometime previously.
Offline  
Old 07-26-2009, 04:49 PM   #18 (permalink)
BBF Moderator
 
akosnitzky's Avatar
 
Join Date: Jul 2005
Location: Southern Florida
Model: 9650
OS: 6.0.0.333
Carrier: Verizon BIS
Posts: 14,484
Post Thanks: 6
Thanked 7 Times in 7 Posts
Default

I did a previous run from the highway. I know it will be a work in process but it is doing what you intended it to do. You are brilliant.
__________________
------
Follow @akosnitzky on Twitter

LET'S GO CANES!
Offline  
Old 07-26-2009, 08:21 PM   #19 (permalink)
Just me
 
fonejunkie's Avatar
 
Join Date: Jul 2006
Model: iFone
OS: iOS4
PIN: Not on my iPhone5
Carrier: iPhone5 on AT&T Mobility
Posts: 2,292
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just wanted to say that the GPS function works great while "on the move". I had several stops today while out and about... and each time BBWeather updated, it selected the correct location via GPS as I moved around the city.

Excellent job, Tateu...

I'd also like to make a request... several releases back, you added the Homescreen Text Color... could we also get a Homescreen BG Color?

Last edited by fonejunkie : 07-26-2009 at 08:26 PM.
Offline  
Old 07-26-2009, 08:52 PM   #20 (permalink)
CrackBerry Addict
 
Join Date: Nov 2007
Location: Greensboro, NC, U.S.A.
Model: 8530
OS: 5.0.0.459
PIN: N/A
Carrier: Verizon Wireless
Posts: 523
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess the Verizon Tour supports GPS in some fashion. My Pearl can only use the cell site method. I still get the error I mentioned above.
Offline  
Closed Thread


Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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