How to load a web page with the Web page class

Hello world

I try my app to display the title and favico starting from a given url without showing the content of the Web page itself using the class bb::cascades:WebPage, but after the constructor method and setUrl, apparently not start the loading content and methods title() both icon give anything (or loading())

Any idea on how to load the webpage using this class?

void handleInvoke (const bb::system:InvokeRequest & request) {}

Web page * bookmark = new WebPage();

Bookmark-> setUrl (request.uri ());

root->findChild ('message')-> setProperty ('text', QString (bookmark-> title()));

}

Thanks in advance

Diego

I have use the class Web page, but the documentation, it seems you should subscribe to the loadingChanged signal and wait for the download to complete. The download can begin asynchronously so loading() might return false immediately after the definition of the URL.

https://developer.BlackBerry.com/Cascades/reference/bb__cascades__webpage.html#loadingchanged

Tags: BlackBerry Developers

Similar Questions

  • How to load a web page

    Hi friends,

    It's my first query on the forum.

    I'm new to Blackberry applications. Basically, I'm a developer of j2me.

    I want to write a small application that loads a Web page.

    I tried a small piece of code:

    Private bs = Browser.getSession (Browser.CID_BROWSERCONFIG);

    bs.displayPage ("http://www.google.com");

    But it did not help me.

    How to load a Web page for blackberry devices.

    Can someone help me please.

    Thank you

    Maury.

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800440/How_To _...

  • How can I create a query with the data control to the web service?

    I need to create a query with the order of web service data, WSDL, it is query operation, there is a message of parameter with possible query criteria and a return message contains the results. I googled but can't find anything on the query with the web service. I can't find a criterion "named" to the data control of web service as normal data control. Blog of Shay, I saw the topics on the update with the data of web service command. How can I create a query with the data control to the web service? Thank you.

    Hello

    This might help

    * 054.     Search form using control data WS ADF and complex of entry types *.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

  • How to start my subscription abroad with the foreign language and writing unknown?

    How to start my subscription abroad with the foreign language and writing unknown?

    These can also be useful:

    FAQ: Is creative cloud available in my country?

    FAQ: Why my purchase showing the wrong currency?

    FAQ: How can I view Adobe web pages in another language?

    FAQ: How can I change the country associated with my Adobe ID?

    FAQ: How can I change the language that appears in my creative cloud app?

  • I need to update the screenshots for a new version of an app existing Itune application to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    I need to update the screenshots for a new version of an existing iTunes Connect App asks me to download a new version. Since I did not create the original version, can you guide me how to create a new version with the new version number?

    You must call the assistance of the company and ask them to help you with this. You can find contact information by logging on http://digitalpublishing.acrobat.com/ and looking at the Middle at the bottom of the page.

    Neil

  • Just bought a new computer. an old crashed. How can I sync my iphone with the new computer?

    just bought a new computer. an old crashed. How can I sync my iphone with the new computer?

    Original title: sync

    Ask the question in the Apple Forums:
    https://discussions.Apple.com/index.jspa

  • How can I share 'My images' with the other user accounts on my computer?

    How can I share 'My images' with the other user accounts on my computer?

    where are the 'experts' on these forums adverstised?  I can't get an answer to a simple question.  Does anyone know how to do this?

    Here we are, ok, I'm not an expert, but try this:

    Right click on 'My images' > share > specific people... > select that you want to share this folder with.

    ...

    After that, try to connect by using a different account. If you will not be able to open C:\Users\"FirstUser"\Pictures, you try to extend the network in the left pane of Windows Explorer > expand ComputerName > expand users > expand "FirstUser" > photos

  • I'd like to edit a PDF secure document did not change the text, or the layout at all I would do is highlight the text.  How can I do this?  With the help of Adobe Acrobat DC 15.9.20077.160923

    I'd like to edit a PDF secure document did not change the text, or the layout at all I would do is highlight the text.  How can I do this?  With the help of Adobe Acrobat DC 15.9.20077.160923

    You know the password? Otherwise, the security policy does not allow adding comments in the file, then there is nothing you can do about it.

  • How do I date stamp photo with the date that it was created?

    How do I date stamp photo with the date that it was created?

    donaldm80418165 wrote:

    How do I date stamp photo with the date that it was created?

    Use the text tool.

    Note that you can select the font, color, size of the pt.

  • How do monitors vecteurscopes and waveform with the new update in first Pro CC?

    How do monitors vecteurscopes and waveform with the new update in first Pro CC?

    Press the COLOR at the top of the interface or go to the window workspace and select Lumetri Scopes.

    If you are a reverence for the old spans: there have been removed in favor of the Lumetri Scopes.

  • How are we supposed to work with the new motion tweens if there is no editor of motion more?

    How are we supposed to work with the new motion tweens if there is no editor of motion more? Without query editor, we can see what kind of key frames are defined and we cannot set acceleration anywhere. Adobe go us back and use the old motion tweens does want now?

    Hi all

    Flash Pro CC 2014 (v 14.0.0.110) is now available for download through the creative application of cloud.

    We have included a whole new motion editor and several other new features with this release of Flash Pro. The new query editor is completely redesigned, intuitive and easy to use while retaining the basic features and backward compatibility with Flash CS6

    To call the query editor, just double-click on your motion tweens on the timeline (or right click and select "Refine the Motion") and the motion Editor opens in the context of the scenario itself. Double click again to collapse once you have made your adjustments.

    Complete list of the new features of Flash Pro CC 2014 is available at these links:

    Overview: https://www.adobe.com/in/products/flash.html

    What's new: https://helpx.adobe.com/flash/using/whats-new.html

    Release notes: https://helpx.adobe.com/flash/release-note/flash-professional-cc-2014.html

    Videos: https://helpx.adobe.com/in/flash.html

    Thank you

    Mabrouk

  • HP Officejet Pro 8610: How can I get a report with the total number of pages printed on my HP Officejet Pro 8610?

    The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610?  And if I can, there are a total of 'resettable' or working capital?  Don't see anything in the user guide and a search gives nothing usable on this blog.

    Wireless printer installed on an old PC with Windows XP SP3.  I also of course install with cable network but so far it works well on my home network without a network cable.  Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.

    Please do not answer I can find total by counting the number of pieces of paper that I have.  Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!

    This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase.  So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.

    Thank you

    Harry

    Hello

    Article #2 of the report printer Ststus will tell you. Please try:

    Printer status report

    The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.

    The printer status report contains also a log of recent events.

    If you need to call HP, it is often useful to print the printer status report before calling.

    To print the printer status report

    1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.

    2. press on printing reports and then tap Printer Status Report.

    Kind regards.

  • How to load a report page, both for the more heavy reports of 100 pages.

    Three banks merged and now my reports to take massive combined data of all 3 banks. Even after the development of queries, the application markings, its takes time to load. A normal report has now more than 100 pages.
    Do you know if I can just load 1 page at a time and show to the user so the user donot have to wait all 100 pages or more to load before they can see the full report...? The type of queue... or something.
    Thank you.

    Published by: Aditi_Seth on July 28, 2010 14:54

    I'm not aware of a simple solution to set the file name. You must define the layout of content, but I don't think this is possible with any of the parameters of the report. One solution is to save to save the report in pdf format (destype = file & desname = myreport.pdf), and then open it in the browser when the report is completed.

    On the timeout: this can be set in the conf RepServer don't (engineResponseTimeOut) file or replace in the url with the parameter ENGINERESPONSETIMEOUT. Everything is in the documentation, so always start your search here!
    http://download.Oracle.com/docs/CD/B14099_17/bi.1012/b14048/pbr_cla.htm#sthref2775

  • How to make a background Center with the rest of the content?

    Hello world

    I was wondering if I could pick your brains! I am new to Dreamweaver, I was taking a course in this and I wanted to see how much I've learned by creating a fictitious Web site.

    I wanted to create a Web site with a background image in it and it brought. Now, I can get everything in the body toward the Center but not the image, so when I check in the browser, the background to the left image stays, while the rest of the site is moving with the browser window as it should. I tried many things to fix this problem and the fear that I have created a mess with the code! Please could someone point me in the right direction?

    I thought I'd post the code here, hope this is ok?

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    < title > Untitled Document < /title >

    < style type = "text/css" >

    {body

    background-image: url(assets/images/Business%20Men%20In%20Reception%20Col.2.jpg).

    background-repeat: no-repeat;

    background-color: #003;

    margin-left: auto;

    margin-right: auto;

    position: relative;

    width: 960px;

    }

    #header {}

    margin-left: auto;

    margin-right: auto;

    position: relative;

    width: 960px;

    }

    {#heading}

    are-family: Georgia, "Times New Roman", Times, serif;

    are-size: 36px;

    make-style: italic;

    are-variant: normal;

    margin-left: auto;

    margin-right: auto;

    }

    {#bodytext}

    are-family: Georgia, "Times New Roman", Times, serif;

    are-size: 18px;

    line-height: 25px;

    are-variant: normal;

    width: 300px;

    }

    #container {}

    width: 960px;

    position: relative;

    margin-left: auto;

    margin-right: auto;

    }

    {.rightimg}

    float: right;

    margin left: auto;

    padding-right: 40px;

    }

    #heading #navbar ul li {}

    padding: 30px;

    }

    < / style >

    < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < body onload = "MM_preloadImages (' assets/images/home 2.jpg','assets/images/contact2.jpg','assets/images/Terms 2.jpg')" >

    < div id = "header" >

    < div id = "body" >

    "< p > < img src="assets/images/header-1.jpg "width ="920"height ="133"alt ="header"/ > < / p >

    "" "" "< p > < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage (" self "", ' assets/images/home 2.jpg', 1) "> < img src="assets/images/home.jpg "alt ="Link to the homepage"name ="Home"width ="303"height ="32"border ="0"id ="Home"/ > < /a > < a href =" # "MM_swapImgRestore" onmouseover = "MM_swapImage (" contact us "," ' assets/images/contact2.jpg',1) "> < img src="assets/images/contact.jpg "alt ="Link to the contact page"name = width 'Contact us' = '299' height =" 32 " "" border = "0" id = "Contact us" / > < /a > < a href = "#" MM_swapImgRestore "onmouseover =" MM_swapImage ('Conditions', ", '2.jpg', 1 assets/images/words)" > < img src="assets/images/Terms.jpg" alt = "Link on the business terms" name = "Terms" width = "311" height = "32" border = "0" id = "Terms" / > < /a > < /p >

    < / div >

    < / div >

    < div id = "topic" >

    < p > welcome < img src = "assets/images/Man In suit crop.jpg" alt = "Man in a suit" width = "281" height = "220" class = "rightimg" / > < / p >

    < / div >

    < div id = "bodytext" >

    < p > here at Alexander Head & amp; Co Ltd that our goal is to provide business service levels, they used to enjoy before the time of consolidator. With the insurance market changes so quickly and more provincial brokers being supported by large organizations, levels of service personnel are disappear. We offer you this service and always offer him < br / >

    competitive premiums that you deserve. Read about < /p >

    < / div >

    < p > < img src = "Images/assets/young businessmen crop.jpg" alt = "young business people" width = "282" height = "216" class = "rightimg" / > < / p >

    < / body >

    < / html >

    Kind regards
    Dave

    Add to your body rule

    background-position: center;

    Gary

  • How to join a network domain with the controller rt PharLab running?

    I have a PXI system that I would like to be able to access anywhere in the corporate network. Currently, I'm access via the IP address, but want to use the host name instead. Unfortunately, I couldn't find a way to join the network with the controller running PharLab area.

    Any suggestions in this regard would be welcome.

    Respect,

    Česlav

    Hello Bob and Česlav,

    I think Česlav was looking for / ask something different. (please tell me if I'm wrong)

    He really wants to do its PXI RT "look-uppable" via its corporate network without necessarily be on the same subnet (and use the IP address).

    In light of the additional information you (Česlav) provide that I would say again that you contact your IT Department first to see how they prefer it.

    They will generally the method of choice to do this. (both for desktop computers with respect to other devices)

    Sometimes it comes down to add to "add your host name and IP address to a list of DNS.

    The page that you link to is a specific way of Windows, adding yourself to a domain.

    Note that add you to a domain should provide you with the ability to use host names.

    However, he also did other things, which may not be possible or even allowed for other types of devices.

    In most companies you don't even have your desktop admin rights necessary to add your own pc (following this way) to the area, as it may cause a lot of security issues and risks.

    Because I don't really know what the establishment IT is by your side I can't really (with certainty) comment on what you should be able to do (and is not).

Maybe you are looking for