Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Create icon to display locally saved web page on Blackberry

Posted on 2006-07-14
3
Medium Priority
?
385 Views
Last Modified: 2010-05-18
Is there a way to make an icon that when clicked will open up a locally saved web page? For example, if you save a web page, that page can be accessed in the Messages application with your email. If I have a frequently used, locally saved web page, it would be handy to have an icon that I could click that would open that locally saved web page, instead of going into Messages, finding the saved web page and opening it there.

I have seen examples of how to make an icon open a regular web page but anyway to open a saved page?

Any ideas?
0
Comment
Question by:9thTee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
bhinshawnc1 earned 2000 total points
ID: 17189653
Here's a link to RIM dev journal on how to push web content. Check out the browser content cache push section. This would allow you to create an icon and put the content into cache.

http://www.blackberry.com/developers/journal/jan_2005/push_me.shtml

http://www.blackberry.com/developers/journal/july_2005/net_a_simple_push_application.shtml

Another option would be invoking the default browser through a basic app:

v3.7 systems

boolean retval = true;

int handle = CodeModuleManager.getModuleHandle("net_rim_bb_browser_daemon");

if (handle <=0 ) {
     retval = false;
} else {
     ApplicationDescriptor[] browserDescriptors = CodeModuleManager.getApplicationDescriptors(handle);

     if (browserDescriptors == null ) {
          retval = false;
     }
     else
     {
          if ( browserDescriptors.length <=0 ) {
               retval = false;
          } else {
               String[] args = {"url", "http://URL2LAUNCH.COM"};

               ApplicationDescriptor descriptor = new ApplicationDescriptor
               (
                    browserDescriptors[0],
                    "url invocation", args,
                    null, -1, null, -1,
                    ApplicationDescriptor.FLAG_SYSTEM
               );

               try
               {
                    ApplicationManager.
                    getApplicationManager().
                    runApplication(descriptor);
               }
               catch(ApplicationManagerException e)
               {
                    retval = false;
               }
          }
     }
}


v4.0 systems

//Get the default session
BrowserSession browserSession = Browser.getDefaultSession();

//now launch the URL
browserSession.displayPage("http://www.BlackBerry.com");


Depending on your needs it might be easier to go to the browser,bookmark the page  into a folder and save for offline content. Then when you want to access it go browser, k and then you're right at the bookmark screen
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help those of you having problems with the Nextel Blackberry 8350i.  Recent Software updates cause the problems issues described below, and this article will help you revert back to the older software. As we know, Nextel has alw…
I felt secure communicating on the BBM... Till some time back!! It was probably the fact that the BBM messages do not travel over the internet was making me feel 'secure' about it, or was it the fact that BBM only works on a BlackBerry Devices a…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question