BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-28-2007, 05:20 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2005
Model: 8310
Carrier: AT&T
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Push document to blackberry

Please Login to Remove!

I can push icon to blackberry using X-RIM-Push-UnRead-Icon-URL, X-RIM-Push-Read-Icon-URL
BESRequest.Headers.Add ("X-RIM-Push-Read-Icon-URL", iconTypeURL);

How do I push a document ?

Thank you for your help. I'm appreciated.
Offline  
Old 10-02-2007, 04:55 PM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 140
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The method that you are using will work.

You can push it an HTML page that on load re-directs to a URL that has the document you wish to view... The browser will then open the document in its viewer the same as viewing documents attached via an email
Offline  
Old 01-29-2008, 05:43 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2005
Model: 8310
Carrier: AT&T
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Save the file to blackberry memory

can I push html file to my blackberry "hard-drive"? Save the file to blackberry memory. Just in case, I get no service in my area
I don't see a way here. Anyone know a way?


BlackBerry - BlackBerry | Wireless Handheld Devices, Software & Services from Research In Motion (RIM)

thanks
Offline  
Old 01-30-2008, 06:21 AM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 140
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

The site that you have linked in is exaclty how you would do it.. you would do a Browser content cache push.. basically what you are doing is pushing the HTML content into the cache of the browser...

Then when the user goes to view that page, it is pulled from the cache. This viewing from the cache will work both in and out of coverage.
Offline  
Old 01-30-2008, 09:02 AM   #5 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2005
Model: 8310
Carrier: AT&T
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb cache the page

Thank you for your reply.
Is there a way to cache the page without open it? Cause I have to open everypage to let Blackberry cache my page first. Then when I'm out of coverage area, I can view it.

==========
I think I get it. I need to do
X-RIM-Push-Type,Browser-Content

Last edited by tfly : 01-30-2008 at 09:30 AM.
Offline  
Old 01-30-2008, 11:19 AM   #6 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2005
Model: 8310
Carrier: AT&T
Posts: 53
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

1. When I do X-RIM-Push-Type = Browser-Channel, I'll get an icon.
2. When I do X-RIM-Push-Type = Browser-Content. I don't see a link under Blackberry Browser. No icon on my Blackberry wireless device. Do you know where it saves to? I don't see it under Device / Desktop Manager etheir.
3. I have about 50 pages. I can link the file. How do I make it works for offline? I have to open every page to let Blackberry device cache, then it'll work offline.

Thank you for your help. I'm appreciated.
Offline  
Old 02-01-2008, 11:27 AM   #7 (permalink)
Thumbs Must Hurt
 
Join Date: Aug 2007
Model: 8100
PIN: N/A
Carrier: Rogers
Posts: 140
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you send the information as a Browser-Content it simply stores the content you pushed to the device into the Browsers offline cache. If you then browse to the url for the content that you pushed, the browser will pull the content from the cache instead of going over the network.

Not sure about making a 50 page site work offline.. the cache on the device will have its limits in size and length of time it will keep things in the cache
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.