BlackBerry Forums Support Community               

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

Please Login to Remove!

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?
Offline  
Old 04-19-2009, 04:41 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

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.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 04-19-2009, 06:53 PM   #3 (permalink)
New Member
 
Join Date: Mar 2009
Model: 8320
PIN: N/A
Carrier: t-mobile
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

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."
Offline  
Old 04-19-2009, 08:23 PM   #4 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts
Default

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.
__________________
My other Blackberry is a PlayBook.
Offline  
Old 04-22-2009, 11:56 AM   #5 (permalink)
New Member
 
Join Date: Mar 2009
Model: 8320
PIN: N/A
Carrier: t-mobile
Posts: 11
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

FYI, I contacted RIM incident based support and there is no way to get around this error.
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.