BlackBerryForums.com : Your Number One BlackBerry Community
     

»Sponsored Links


BlackBerryApps.com Best Sellers



Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
arthomas73 Offline
New Member
 
Posts: 11
Join Date: Mar 2009
Model: 8320
PIN: N/A
Carrier: t-mobile
Default Browser not rendering local files with radio off - 04-19-2009, 04:36 PM

I have an application that uses the browser to display local files that have been pushed to the phone.
Here is the code I am using to call the browser:
browserSession = Browser.getDefaultSession();
browserSession.displayPage(localFile);

It works fine except when the radio is off. It gives this error:
"The radio on the device is currently turned off or the battery is too low for the radio to be used. As a result the Browser cannot retrieve any web pages.

Please turn the radio on or recharge the battery and try again. Contact your service provdier if this problem persists."

Any ideas how to bypass this error?
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
hrbuckley Offline
CrackBerry Addict
 
Posts: 831
Join Date: Jan 2006
Model: 9000
OS: 4.6.0.303
Carrier: Rogers CA
Default 04-19-2009, 05:41 PM

No experience with this but I ran a quick test. I can view MDS Browser Push data with the radio and WiFi off if it is in the cache. For pages I have book marked it complains that the radio is off but asks if I want to look at an older page.

This implies a couple of things you might try: MDS Browser Cashe Push, if your target users are on BES; try to have your data loaded into the browser cache. No idea how to do that without more research.


BPS/Zarafa
   
  (#3 (permalink)) Old
arthomas73 Offline
New Member
 
Posts: 11
Join Date: Mar 2009
Model: 8320
PIN: N/A
Carrier: t-mobile
Default 04-19-2009, 07:53 PM

The cache is an interesting idea, but I am concerned the user would be able to clear the cache and delete the content. However, I will look into it more.

I have done more testing and I get a similar problem when there is no signal. The error message is:
"You are currently in an area that cannot handle data communication. As a result, the browser cannot retrieve any web pages.

Please try again when you are in a different location or contact your service provider if the problem persists."
   
  (#4 (permalink)) Old
hrbuckley Offline
CrackBerry Addict
 
Posts: 831
Join Date: Jan 2006
Model: 9000
OS: 4.6.0.303
Carrier: Rogers CA
Default 04-19-2009, 09:23 PM

I like your idea. It would be nice if there was a way to do that. If I come up with any ideas I will post them.


BPS/Zarafa
   
  (#5 (permalink)) Old
arthomas73 Offline
New Member
 
Posts: 11
Join Date: Mar 2009
Model: 8320
PIN: N/A
Carrier: t-mobile
Default 04-22-2009, 12:56 PM

FYI, I contacted RIM incident based support and there is no way to get around this error.
   
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-2009 BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.