WebView vs native browser

Hello

I'm testing the WebView stunts and I noticed that scrolling and zoom performance is not as good as the native BlackBerry browser (which I assume is written in Cascades). The problem is that the native browser turn off rendering of page (I guess backup store) when scrolling is started and activate when they are arrested. Now, how can I get the same performance with WebView waterfalls? Is it possible to control the rendering of the Web mode?

It's quite possible. Although I pointed out in my last post, that the rendering engine and the user interface in a browser are not the same thing, in fact there are three separate pieces on a browser that are often considered one and the same... the rendering engine, the user interface and the JavaScript engine. One of the three can be changed without affecting the other two.

It is possible that the BlackBerry has been tweaking the JavaScript engine in the browser of BB app for better performance since the original version of BB10, while leaving one intact WebView to avoid breaking third-party applications. Don't forget that there's code in WebView JavaScript engine to allow native code to interact with it, and it probably does not exist in the full browser engine, so I expect both engines at least a little different.

Tags: BlackBerry Developers

Similar Questions

  • Call the native browser blackberry OS6 does not work when you use this line Browser.getDefaultSession () .displayPage (url);

    Hello

    I need to invode a native browser showing a Web site using the code below

    Browser.getDefaultSession () .displayPage (url);

    She works in OS5, but does not work for the OS6. Please, someone knows how to solve this problem, too much to guide me

    regards + thank you

    codemobiles.com

    Oh, thanks for your response. (the browser is not called, there is nothing happen)

    Hoowever, the problem is resolved. That's my problem forget to add the "http://" in the url.

    regards + thank you

  • Mobile Smartphones blackBerry OS6 native browser display

    Hi, I used to have OS5 for my Curve 9300 and there, my browser, I have an option to have the page or column mode. Now when I've upgraded to OS6, I thought having lost this option and all the site I go is not on mobile view, but rather on the layout of the web page view/normal. Is that how it really is for OS6 native browser?

    In BlackBerry® Device Software 5.0, in the browser Options > General Options > default view, there is an option to select the column or Page.

    This feature has been removed in BlackBerry Device Software 6.0 due to improvements in browser.

    This information can be seen on this Article ID: KB23994

    Ron

  • turn off native browser shortcuts

    Hi all

    Are native browser shortcuts (e.g. CTRL + T opens new tab) enabled be default? How can I enable/disable them?

    This is possible thanks to Javascript using Event.preventDefault () if Flash is unable to intercept the key. Not sure if your users would be happy if you do this, but that's another story

  • Can I open a window in the native browser to an application and how?

    Hello everyone,

    I am currently on an application for the Playbook project and I am a bit stuck, I need to get the answers to these two questions:

    -Can I open a window in the native application browser and if so, how?

    -Can I I raise the bridge event to open an email in an application as it happens in a Web site after clicking on a link with a "mailto:" address and how?

    Thank you in advance!

    Kilian KLEIN.

    NavigateToURL to use for both.

    navigateToURL (new URLRequest ("http://google.com' "));
    navigateToURL (new URLRequest ("mailto:[email protected]"));

    http://help.Adobe.com/en_US/FlashPlatform/reference/ActionScript/3/Flash/net/package.html

  • How to open a link in the BB native browser from an application with a browser.field on OS 4.6

    Hi all

    I hope this is the right place for this question.

    I develop a widget that works fine on OS 5, but my client requested a 4.6 devices of the OS, so the easy way for us was to make an application that calls a browser.field and load the widget inside files (make some improvements on the css and JS). It works very well.

    Our problem now is that we have a list of items that contains some information like telephone numbers, address and link to a Web site. How can we open this last link on the native blackberry browser? I mean, close the application and open the browser. I need to do it in an html tag, because the link to the web site is located on the page that appears on the browser.field. (just like the tag such for example.)

    I hope that I have explained to me very well and you can understand my problem.

    If anyone has an idea on how to solve this problem, let me know, I'll be really happy.

    In BrowserField, you are notified whenever a user requests a new resource such as browsing to a URL.  You can detect when there is a full qualified URL that is being requested, and then call the BlackBerry browser rather than provide the data flow for the return URL to BrowserField.  At this point, you may also close your application if you wish.

    If the rest of your assets is local, you should probably receive a complete style from the URL for them as an external link and so be able to detect an external link.

  • Is it possible to organize the bookmarks into folders? Is it possible to import bookmarks from another browser (by default) (not counting the native browser or Chrome)?

    I have some Favorites in my default browser (browser CM) and not savor the idea of manually re-create all. I also want to keep them organized by categories. -File system is very useful.

    The model of authorisation for Android does not access other apps to their settings. Chrome and the stock Android browser have some special access rules that allow to see the bookmarks of other applications. Also, is it possible to import bookmarks from Chrome or the stock Android browser.

    Bookmark management can be done in Firefox via Firefox Sync Office. See https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync

  • Change the default search for small native browser (Lollipop) engine

    It does not seem possible to change the default search for the small browser engine.  I would like to change from the current, Google, DuckDuckGo or similar.  Anyone know how?

    FYI: the 'small' browser is the first reached by pressing the button of the Application selector and selecting the browser available by default in the list of small applications at the foot of the screen.

    1. open the small browser
    2 menu
    3 settings
    4 Advanced
    5. set map search engine
    6. Select a different search engine

  • How to report bugs of rendering CSS browser WebView/BB?

    I have an app that bypasses the normally difficult radio button style html5 by cutting the real radio inside a rectangle 0,0,0,0, then using the CSS: before Pseudo selector to create a substitute radio button image using nothing more than CSS attributes. It works perfectly on every single desktop browser, I tested against (Chrome, Firefox, IE, Opera), each Android browser, I've tried (Chrome, Firefox, Opera) and the same Android browsers running on my Z10 via Cobalt (Chrome, Firefox, Opera), but on the browser BB10 and WebView (so-called WebKit based as Chrome and Opera) does not support the CSS style the : Pseudo-selector update to show that when the Group of option buttons has focus.

    This is an example of what a couple of radio buttons by using this technique looks like when they have not developed in the...

    When option buttons have the focus, it should look like this...

    But as I said, on the browser BB10 or WebView even with the development of radio buttons always look like the first example. On all other browsers (except iOS/Safari, which proves defective as browsers BB10) favouring option buttons look like the second example.

    Anyone where I can tell you something like that?

    In the immortal words of Emily Littela... never mind. Since the BB10 and WebView browser seem to ignore the: pseudo-selector developed, I thought that it was a CSS rendering problem, but it is not. The idea that led me to a solution, is that the same problem occurs on iOS Safari too. A little Google search on the oddities of Safari has revealed the real cause.

    It turns out that even if Safari, as the browser BB10 and WebView, are Webkit based, he manipulates not the focus of the element like all the other funds or Android mobile WebKit browsers. Based on certain types of HTML elements is not automatically set focus to this element. One of the element types that it affects is the radio input element that I use. Some devs online are speculating that avoids unnecessary popups of the keyboard to the iOS screen by typing some controls on a form, but does not say Apple.

    The solution is quite simple, just set the focus in the OnClick of the radio input element explicitly. In this way, by tapping the control will force the browser to focus control and if necessary: focus CSS will be applied...

    myRadioButton.focus();
    

    I use jQuery so my generic code to manage all the radio buttons to a page looks like this...

    $('input[type="radio"').click( function() {
        $(this).focus();
    });
    

    It is clear that BlackBerry browser and WebView work in the same way as iOS Safari because this code sets things there also. I don't know if someone else is bickering with this problem when you target the WebView or BB10 browser, but I thought I would post the solution, just in case.

  • URL during extraction from open tabs browser native... possible?

    Hi guys,.

    It is a long shot, but nobody knows if it is possible for an application to access the current location of browser? I mean, read the URLS of all currently open tabs from the native browser?

    Thank you

    Fred

    Hi Fred,.

    Unfortunately reading open the tab URL is not supported. It should be a platform-specific API (i.e. WebWorks), and my bet for its exclusion would be security implications.

    Erik Oros

    BlackBerry Development Advisor

  • Native Blackberry blackBerry Smartphones web browser

    Hello

    I am Nishant Potdar, I am owner of Blackberry 8520 curve, and very often I use the native browser of bb instead of any other third-party browser.

    I have a question about this browser. Whenever I want to open multiple windows (tabs) in the only browser, so I can't do so, as I do the same with the native browser of android phone with which I'm much more comfortable than blackberry.

    So, I would ask you to get rid of it as soon as possible and provide us with an update of the latest browser soon.

    I hope that you understand my problem and waiting for your solution of expertise sooner.

    Thank you and best regards,

    Nishant Potdar

    Hello, Nishant.

    Having several tabs open on your browser is a feature of the OS 6.  Unfortunately, your phone is running OS 5, which does not allow for this.

    Some people have attempted to upgrade to OS 6 on their phones of 256 MB, but I would strongly recommend against this; your phone's internal memory is not OS 6 work correctly and you would run only in delay and freezing constantly.

    When the time comes for you to upgrade, I highly recommend an OS 6, 7 OS or QNX telephone (when available) as your next choice.

    I hope that helps you.

  • problems with WebView

    Hello Devs

    His first question as im a newbie asks BlackBerry waterfall...

    I have a site HTML5 (reactivity), I created a native application of cascade to preview the site using WebView method, as you can see below

    Page {
        ScrollView {
            id: scrollView
            scrollViewProperties {
                scrollMode: ScrollMode.Both
                pinchToZoomEnabled: true
            }
            layoutProperties: StackLayoutProperties { spaceQuota: 1.0 }
    
            Container {
                background: Color.LightGray
    
                WebView {
                    id: webViewScrollable
                    url: "http://website.com"
                }
            }
        }
    }
    

    the problem is when I navigate the website using the browser native blackberry that it seems fine (I can preview the images correctly and I can upload photos). but when I navigate using the application of the cascade that I created, it does not display images of the site in the manner appropriate, also unable to download any photo! Ive checked everywhere and all other smart phone browser! the site looks very good! is that all I have to add to my code to get the same preview in the native browser? is there something wrong with my simple code?

    Uh, try to activate the permissions of shared files?

  • Thumb browser controls

    I remember seeing references and the screen capture on the "thumb controls" in the browser. However, I don't seem to be able to determine whether they are there yet, or how to access. Is this something he does in this nest construction, bee, and if so how access us them.

    They are referenced in this story: http://www.techrepublic.com/blog/hiner/first-impressions-of-the-motorola-xoom-five-quick-insights/77...

    Somebody posted a thread on these here. You can activate it from the native browser by going to Menu > settings > Labs > Quick commands.

    I had trouble with mine but have not spent a lot of time with them. It changes some of the controls that you might expect to see.

  • Browser can make a difference with Flash

    With the new update installed Flash, I can't video to work on ESPN (like many of you report) through native browser of the Xoom. However, when I use Dolphin HD (also currently installed on my Xoom), videos on ESPN playing very well through the new Flash Player! This next test tells me that some browsers can handle the new Flash function differently. I couldn't find all the sites that Dolphin HD would work with and that's smoother playback of Flash than the native browser.

    Which did not have the video play, but ESPN then gives me the mobile web browser and let's me know it's not optimized for mobile! I get back to "iPad" UAString normal when ESPN site, but will not play the video. The Flash video will play on other sites with the UAString defined as "iPad." In the Dolphin browser, it behaves quite differently, all sites are not mobile and play videos.

  • Launch of the URL in the browser of the Playbook

    I must say, this complete package of the Playbook is a fascinating move by RIM. Seems really captured some interest. He certainly got I'm working on my application that I've been a bit lax to watch for a while! Also forced me pick up cocos2d-x in my todo list, as my android app used native code for graphics, so thanks for the help I needed

    In any case, a question which I hit to date can come from my lack of understanding of the Playbook as a device. Is it possible (and it's a workflow accepted) for launching native browser of the Playbook since an application SDK? So if I want to link my dev blog / facebook page / G + page / whatsoever of in app I just wish I could call some URL launches the function. If it's in the docs I apologize, but I look through and cannot see an obvious reference to this type of action.

    Function called navigator_invoke draws bps

    See docs here

    https://bdsc.webapps.BlackBerry.com/native/beta/reference/com.QNX.doc.bps.lib_ref/com.QNX.doc.bps.Li...

Maybe you are looking for

  • After the last update problems

    Since the last update, I got very annoying problems of towing. Firefox continues to change my homepage Homepage of Mozilla. So am I looking for new ighome! and then reset the home page. Then it also changes my appearance to the default page. I like t

  • OSX Apache Server: how to redirect the http request?

    Hi all I have a Mini Mac OSX Server El Capitan running. It already serves some sites. Normal Server Web sites: -site1.example.com -site2.example.com Now, I have installed an application that has its own built-in web server. This application would be

  • Cannot install Java version 6

    I have a windows vista with internet Explorer 8 operating system is installed and I can't install java jre version 6 update 18 on my computer, it does not show in the under products and features Control Panel. It shows on the part of the control pane

  • USING A PFD OPTIONS PRINTERS

    How do you use the PDF personally which is supplied with a HP9050dn printer?

  • Slot memory cracked when inserting RAM on area 51 R2

    Hi, I replaced the RAM on my area 51 r2 and broke free of the snares (clips which push in RAM).  Now, I can't insert RAM into this slot. Whereas he fell when I replaced RAM, is this to say that I would need to buy a new motherboard, or would be - it