Support HTML5 history component BrowserField?

Hi all

I use BrowserField component to display external views in my HTML application using AJAX technology in navigation. I've implemented HTML5 history (http://www.w3.org/TR/html5/history.html) in order to manage requests for return. I know that the BlackBerry native browser supports HTML5 history because my back implementation works fine when I use the native browser directly to test my Web site.

In my BlackBerry app I implement the "back" button to call browserField.back () like this:

protected boolean keyCharUnhandled(char key, int status, int time) {
        switch (key) {
        case Characters.ESCAPE:
            field.back();
            return true;
        }
        return super.keyCharUnhandled(key, status, time);
    }

This rear implementation does not work.

I assumed that field.back () is not compatible with HTML5 history because the BrowserFieldHistory component only stores the queries of navigation and not AJAX queries (is that a request for the resource recovers in the background).

Is there a solution to implement AJAX applications back to BrowserField?

Thank you!

The solution is:

protected boolean keyCharUnhandled(char key, int status, int time) {
        switch (key) {
        case Characters.ESCAPE:
            field.executeScript("window.history.back()");
            return true;
        }
        return super.keyCharUnhandled(key, status, time);
    }

Tags: BlackBerry Developers

Similar Questions

  • Msg says error browser does not support HTML5 video. My FF and Flash to date. Now what?

    To access the cam on the site Web of Cornell bird's nest. Plays fine on PC. For my Samsung phone error says "== browser does not support html5" FF for Android and Flash for Android updated, rebooted the phone and got the same error message. The parameters defined for tap to play. Help

    It seems that YouTube provides no content in h264 or webm for this video. https://www.YouTube.com/embed/Q4iKJIiYRek breaks for me on any Firefox or chrome without Flash.

  • Cross Browser Support HTML5 forms

    Hello

    Is there a bootstrap available from adobe that I'm missing that will make it so all the HTML5 form fields works with all browsers?

    HTML5 form fields also have little support, but it is available in the form of insertion.

    Right now I use an open source uniform HTML5 form "bootstrap" called Polyfiller

    Just seems like Dreamweaver must have something to take care of this atomically if they add weak support HTML5 form field inserts.

    Thank you

    rodgerp38690554 wrote:

    I wish good dreamweaver to have some kind of entry widget "bootstrap" HTML5 for use directly with their forms of insertion.

    It's nothing I need or want personally. I use my own form of validation as relief (only PHP or jQuery Validate).

    Feel free to CREATE ONE IDEA for her.  You can find it under ACTIONS in this forum.  If your idea is enough "the voice", the development team can be added in a future version.

    Nancy O.

  • Adobe dreamweaver which version supported html5 tags

    Hello

    Each Body.My name Junaid. & my question is shown above.if you know then reply me soon?

    Concerning

    M.Junaid Azam

    Dreamweaver CS5 with the 11.0.3 update supports HTML5, and Dreamweaver CS5.5, Dreamweaver CS6.

  • When inDesign/DPS for an Andriod to support html5 localstorage? IOS is already supported.

    We have InDesign buttons pointing to local URLS that use html5 localstorage. This works very well in the IOS.  When is that going to work (using InDesign and DPS) on an Android?  Pls.Advise, thank you.

    Local storage support on Android applications:
    In previous versions, Android viewers don't support local storage. Exit an application leads to lose the read position or fill in form data. With Android v25 applications, this information is now stored, as in iOS apps.

    Find this online at: http://helpx.adobe.com/digital-publishing-suite/help/history-new-feature-release-notes.htm l

  • Does Firefox support HTML5 and CSS3?

    All the HTML5 and CSS3 specifications are implemented by FIrefox? If this is not the case, what is the level of support for this specification is implemented? Also if no, is supported in near future?

    See also http://html5test.com/

  • Firefox 3 does support HTML5?

    I wanted to know if FF3 supports ALL the features of HTML5. I know it takes in charge some because I can view some HTML5 websites, however, I don't really know what is degrading on these sites and what is not.

    I've probably never will modernize FF until Ubiquity is scope. Which is probably never so I will probably never improve.

    See also https://developer.mozilla.org/en/HTML/HTML5

  • Does Dreamweaver CS6 Retail Boxed Support HTML5 < video > Tag?

    Hello:

    Retail in box 6 Dreamweaver (not CC) supported inserting video in pages using the tag < video > HTML5?  My client cannot use Flash.   I found conflicting information on the Web.

    Thank you

    Rich Locus

    Perpetual license of the CS6 version does not have the

    Here's the Basic code that I use for html5 video in older versions of DW (with emergency Flash)...

    Paste this code into your source view highlight it, then click on the + button on the bottom of your Snippets window and give it a name. From here out, you just double click on this snippet to add the video. Make sure you have at least two extensions of video source to cover all browsers and're you good to go.

    HTML tag video

  • What support HTML5 extension for Dreamweaver should?

    I was wildly excited know CC allowing extensions to HTML5, until I noticed that Dreamweaver does not support this yet.  Doesn't make sense to me as Dreamweaver is designed for the code for the web.  Any idea when the support can be added?  I want to go to work making extensions!

    HTML5 support introduced in Dreamweaver CC2015 with 6 VINE. Please try one of our samples to see what features are supported: Adobe-CEP/Samples · GitHub

    Kind regards

    LEA

  • How to call the method of bean of support on the component date. MinValue

    Hello

    I have a method in bean

    {} public void sample()

    Set the entry code

    }

    I want to call the sample method when I click the date component. MinValue in .jsff

    Right now using the < af:clientListener method = 'onClick' type = "click on" / > inside the < af:inputDate > element

    < af:resource type = "javascript" >

    function onClick (clickEvent) {}

    Alert ("hiii");

    Here, I want to call the sample method by clicking on date. MinValue

    }

    < / af:resource >

    Any Solution would be Appreciable

    Try to follow this:

    -Inside af: inputDate add clientListener and serverListener

    
         
         
    
    

    The serverListener method must map to a function in backbean

    -in java script method write this

    function onClick(event)
    {
      var source = event.getSource();
      AdfCustomEvent.queue(source,"serverListenerOperations", {}, false);
    }
    
  • Support HTML5 &amp; Vector?

    It would be great.  Get the pixel thing more!

    In addition to the export of the image, please add vector and export of HTML5 feature and it will go away!

    Hi davemez! I will add your request to our list. Thanks for the comments.

    Meredith

  • Content supported HTML5 without Pinwheel?

    I have a few relatively simple happy HTML5 web I created on the edge and wonder how I can get it to load on iPad without showing the small grey roller.  I tried more to simplify the content, but no matter how large or robust, the content is, I always get this reel for a second before loading animation.

    Thank you.

    You can not, this loading indicator while we load the content.

    Neil

  • Microsoft will support the Component HD cables?

    I was a BIG fan of XBOX from day one and I am owner of 11 original XBOX and has 4 360 working and 2 or 3 deaths.  I have countless games XBOX 360 games, and held 14 Halo tournaments, etc..

    However, I bought my TV some time ago and it does not support the DVI and HDMI.  I am VERY happy with my TV and it has served me well.  I see no need to upgrade forever, he looks and plays very well.  However, without component cables, or at least HDMI with optical, I won't be able to play an XBOX.

    I hope that Microsoft execs reading this post and realize that a lot of people will be alienated if you stubbornly REFUSE to include support for the component.  Most of the 2010 TV and a decline supported or two HDMI from best.  So basically, if you arrogantly proceed with HDMI only, you tell consumers that if they bought their TV four years ago is a chance, they should not be able to play an XBOX and must either A) stick with the 360 B) buy a PS4.

    So I am well want to ask Microsoft to listen this time as well and include the ability of component HD.  It is a simple and reasonable decision and alienates so no.

    This is peer-to-peer forums.

    In all cases,.
    FOR ANY XBOX PROBLEM:

    XBox - Support
    http://support.Xbox.com/en-us/pages/default.aspx

    XBox - Contact us (support)
    http://support.Xbox.com/en-us/contact-us

    XBox - Support Forums - and my XBox (top-right)
    http://forums.Xbox.com/

  • What version of Cs of dreamweaver inludes html5 video support

    What version of Dream Weaver Cs includes support html5 video

    Technically, anything other than in code hinting.

    The first version with HTML5 video as "Insertable" part was DWCS6 cloud (the first version available by subscription). The older DWCS6 perpetual license has never been put to level up to now.

    You can still use html5

    Included 2 video types to cover all browsers. You can use the converter here to make...

    Free online WebM / VP8 converter

  • How does the new HTML5 video Support? and what are the limits?

    If the new benefit has been relased as well as many new features, including the video support HTML5 then with the new feature, here are a few new questions!

    How Edge to load the video? It is fully preloaded before Edge shows the content? Or is it more of a pregressive 'youtube' loading while playing?

    Or can choose us?

    What is the example of recommended video file size 4 MB?

    How does edge deal with browsers that only support .ogg or .webm instead of mp4?

    What about ISO & tablets support? loading time, 'delay', etc.?

    When you import an audio or video file, a group is created for you. You can import media with the same name (videosample.ogv; videosample.mp4) this group for compatibility with browsers. The corresponding format is chosen according to the browser which is in charge of the composition.

    About the WebM format - you can also add a webm file in your publication. However since it is a format of royalty, Animate will not display a live preview in the authoring tool. If your browser supports this then it will definitely play fine on the browser preview.

    You can take a look at the video lesson In - app, which is available in the Panel of lesson for more details on how it works.

    And Yes, you have options to preload for HTML5 video too, however progressive download is not available. You will need to use scripts using JS to achieve this functionality.

    Hope this helps and try this out.

    -Reynaud

Maybe you are looking for