View State Animations & the Back button (on Android)

Hello, everyone!
Is it possible to animate between view states when developing for mobile devices (like Android)?
And if so (and the bigger question for me), when you transition from one state to another, can you use the Back button on the Android device to transition back to a previous state?

Hi, Jason,
First and foremost, thank you for your timely response, and for your well-received advice!
After reading the posts from the MAX Beta link your provided, it is my understanding that if you disable the default back button handling, that the button itself would no longer function in the application.
I still want to use the back button, but I want to add the back button's popView function to states as well as Views.
If I missed anything, please let me know.
And thank you, once again!
PS-I don't know if this makes a huge difference, but I'm using the latest pre-released version of Flash Builder 4.5 with AIR 2.6 (released 2 weeks ago).

Similar Messages

  • How do i get the back button on my android device to function right?

    How do i get the back button to got back to the previous screnn I was on?

    I usually use a code such as...
    stage.addEventListener(KeyboardEvent.KEY_DOWN, backKeyGo);
    function backKeyGo(e:KeyboardEvent):void
        if(e.keyCode == Keyboard.BACK)
         e.preventDefault();
         if(options_mc.visible == true){
           //i use the above line in case the options menu has been clicked
             options_mc.visible = false;
             //them i remove any event listners that the options menu may have added  
            }else if(options_mc.visible == false){
             //add your code here to go back to previous page , frame etc
             //remove any eventlistners

  • My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is a

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [/forum/1/688252]
    Thanks - c</blockquote>
    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    My back button and refresh button and my yahoo tool bar are dimmed a lot when I open up firefox. So as a result, I cannot use the back button nor my refresh button AND my yahoo toolbar disappears a lot. I have tried to get on your chat session but it is always closed. I need one on one help. Please reply with resolution.
    == This happened
    ==
    Every time Firefox opened
    == two or three months ago
    ==
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 (BT-canvas) Firefox/3.6.3 GTB7.0 (.NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-npdnu
    *npdnupdater2
    *Coupons, Inc. Coupon Printer DLL
    *Coupons, Inc. Coupon Printer Plugin
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *6.0.12.448
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *BrowserPlus -- Improve your browser! -- http://browserplus.yahoo.com/
    *Shockwave Flash 10.0 r45
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *My Web Search Plugin Stub for 32-bit Windows
    *Google Updater pluginhttp://pack.google.com/
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll

    * If the menu bar is hidden then press and hold the Alt key down, that should make the Menu bar appear (Firefox 3.6 on Windows) (see [[Menu bar is missing]]).
    * Make sure that you have the ''Navigation Toolbar'' and other toolbars visible: View > Toolbars .
    * If items are missing then see if you can find them in the View > Toolbars > Customize window.
    * If you see the item in the Customize window then drag it back from the Customize window to the Navigation toolbar.
    * If you do not see that item then click the Restore Default Set button in the View > Toolbars > Customize window.
    See also [[Back and forward or other toolbar buttons are missing]] and [[Navigation Toolbar items]]
    See http://kb.mozillazine.org/Toolbar_customization

  • Zoom following use of back button on Android

    Hi,
    On Android Firefox, say I an on a web page and either zoom in using double tap or pinch and then click a link on the page. Firefox displays the page. All good.
    If I then use the back button to return to the previous page, Firefox will not display the page as it was previosly zoomed in. It requires me to either zoom in again by double tap or pinch.
    Is the a setting or add-on that will preserve the zoomed in state after returning to a previous page using the back button?
    Thanks in advance.

    Dito- in the past "the browser resets the zoom and scroll positions when navigating to a new page, and this can happen while the old page is still visible. The old page does not actually reload; it just scrolls to the top before the new page loads."
    The only current bugs I find are: [https://bugzilla.mozilla.org/buglist.cgi?quicksearch=zoom%20reflow&list_id=10103041]
    So, I can recommend filing a bug on this in Firefox for Android Zoom [https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox%20for%20Android&component=Graphics%2C%20Panning%20and%20Zooming]

  • ADF Faces (JDev 10.1.3): How to support the Back Button

    Hi,
    when I scroll through a result set, rendered as a input form with navigation buttons, then use the browsers back button and then try to go to the next row using the 'next' navigation button, I always get an exception: JBO-29000, JBO-35007, JBO-25013
    The sample application was build using JDev 10.1.3, ADF Faces and Business Components.
    I have read through the new Oracle Dev Guide and found some parameters concerning state management and tested different settings. The most promising setting:
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CLIENT_STATE_METHOD</param-name>
    <param-value>all</param-value>
    </context-param>
    Regardless of which setting I used, an exception was prompted.
    My questions:
    Are there addtional settings to configure to make an ADF Faces app 'back button' agnostic?
    Is it an ADF Faces or a JSF problem?
    What are your experience and how do you solve the problem?
    I have no idea how to solve the problem.
    Any hints are welcome!
    Thanks,
    Markus

    Hi Marcus,
    we had the same problem in UIX (JDeveloper version 10.1.2) and the official stance of Oracle (we had created a TAR on metalink) was that it was a general webapplication problem and not 'supported' by ADF.
    We created a solution by creating a filter that checks a sequence number in the pages. Each page request was checked and the sequence was increased. The <form> on the pages needed to send the sequence with each request.
    If the user used the backbutton then the sequence would be out of order. We would redirect the user to an error page and rollback the complete model.
    This was our base solution. What we also tried was to use the passivation mechanism of the application module (of Business Components) we would save a snapshot after the rendering of each page and if the user used the back button and the sequence was out of order we would rollback the application module to that snapshot. However after a COMMIT you cannot rollback ofcourse and it gave us some troubles.
    We finally sticked with the base solution and gave the user buttons in the application to go 'back'.
    Regards,
    Robert

  • Why do google search results reset to match the search bar terms when i use the back button?

    Since the update to FF 23, the list of Google search results clears and the on-page search box is reset to match the address bar search box when I hit the back button to re-view the results list after checking a result.
    To see this issue for yourself, set your search provider to Google and make sure Instant is on. Type a search term into the search bar and press enter. A google page appears with your results list. Now, change your search terms or conduct a new search directly from the google page (without using the FF search bar). Click on the first result in the search list, then click the back button to return to the search results so you can check a differest result. As FF goes back to the google page, it will reset the on-page search box to match the FF search bar (although you were no longer on this search) and all search results will disappear, replaced by the message "Press enter to search". Pressing enter reconducts your old search, not the one you were on.
    This is incredibly maddening since searching for something requires frequent use of the back button to check through the list of search results, and then frequently trying the search again with slightly different terms. Although it sounds like a Google issue, it did not occur on the old firefox and has me wanting to revert. I tried to revert to the old search function via the "keyword search" addon, but this did not fix my issue. Is there a way to force FF to go back to the actual google search page I was just on instead of conducting a new google search from the FF search box when I hit the back button?

    In Firefox 23 versions and later the keyword.URL pref is no longer supported and it is no longer possible to specify the search engine for the location bar via the keyword.URL pref.<br />
    The search engine that is used on the location bar and on the about:home page is the search engine that is selected in the search Bar on the Navigation Toolbar.<br />
    Current Firefox versions do not update the about:home home page until you refresh the page (future versions will do this automatically without a refresh) and that is what happens if you use the Back key.
    You can install the Keyword Search extension to specify with search engine to use for the location bar and which search engine to use for the about:home page via the Options/Preferences windows of this extension, accessible via the about:addons page.
    * Keyword Search: https://addons.mozilla.org/firefox/addon/keyword-search/

  • Is there a way to control the "back button"?

    i've got a simple animation intro, ending with the very last
    key frame being static with links. then the links will bring up
    another page in the same window. but i was wondering if there was a
    way in flash to control the back button to bring the user to that
    very last key-frame, at the end of all the animation. thereby
    skipping over the intro-animation.
    also:
    i have an html intro page, where you can go to the flash
    introduction, or the peoples' old website, or to a Flash-Player
    download window. i was wondering if there was a way to create a
    link to that end key-frame in order to by-pass the animated flash
    intro.
    thanks for your help

    gotoAndPlay(32) if you have a continuos animation after that
    frame and you want to continue it; the number within the brackets
    is the number of the frame you want to go to. Or else if you want
    to go to a particular frame and stop there, gotoAndStop(32);

  • The back button doesn't work on some pages

    I go to bookmarks and navigate to a page, when I use a link on that page to go to another part the back button on the tool bar does not become active to I can go back. This seems to be happening on all web sites.

    There used to be a very useful down arrow button next to the back button which brought up recent history, but it was removed in Firefox version 4. For the life of me, I don't understand why. If you have an older version, just click the down arrow button and select the page you were at before you loaded the offending page.
    If you have Firefox v 4 or 5, the best workaround I know of is to do an <alt-s> from the keyboard, which will bring down a history list from which you can select the page you were at before you got trapped. Alternatively, you can bring up the old style menu bar by pressing either Alt or F10, and then drop down the history menu by clicking on it with your mouse. If you want to make that menu bar permanent, you can select View -> Toolbars -> Menu Bar.

  • How to get the back button if we to go the 2nd drill down report??

    Hi,
    I have a drill down report for the main report. And have detailed drill down as in 1st report>2nd report>3rd report.
    But once i goto drill down, the return button is there which directs to main report i.e. 2>1,
    But once i goto 3rd, i do not get the back button so that i can access reports in 3>2>1, instead its going directly to 1st from 3rd.
    hope i have made the point clear.
    Someone suggest me how do i get the back button??
    Thanks!!

    use the below code in Narrative view
    <script&gt;
    function goBack()
    window.history.back()
    </script&gt;
    <input type="button" value="Back" onclick="goBack()"&gt;
    If helps mark
    Edited by: Srini VEERAVALLI on Feb 13, 2013 12:08 AM

  • Branching and Using the 'Back' button

    I have created a branching program that is essentially a
    "choose-your-own-adventure." There is no quiz, b/c there is no
    right or wrong.
    However, when you begin you have three choices. The user
    selects one of those choices and goes to Slide A, Slide B or Slide
    C depending on their choice. There, they have more choices to make.
    From Slide A, their choices would take them to Slide D, Slide E or
    Slide F. If they originally chose Slide B, the next set of choices
    would also be Slide D, as well as Slide G or Slide H.
    (And so on and so forth)
    It has been recommended to me that I create a way for users
    to simply hit the playbar's "back" button if a user is on Slide D,
    and wants to go back to Slide A. However, under my current set-up,
    I have two problems: The first: if they simply hit the back button
    on the slidebar from Slide D, they will go to Slide C--a
    acompletely wrong choice. Secondly, if I put a "Jump to" button on
    the page, I actually have to put 2 on (one that will bring them to
    Slide A and another that will bring them to Slide B) since you can
    get to Slide D from both A and B.
    This is a simplified version of my branching, and creating a
    button for each page that a slide could go back to isn't feasible
    and would probably be more confusing to the user than anything.
    Please tell me if this doesn't make sense, or if there is a
    way that I can do this.
    To see the project and see what I'm talking about, you can go
    Here,
    and then choose the "Is My TV Ready?" option.
    Thank you,
    Rob

    Hi Rob
    Had a look at your program and think it is a great use of
    Captivate.
    Regarding the "back" functionality, I would recommend to
    custom build a button on each slide where you wish to go back. The
    reason is that the back button on the play bar will always go back
    1 slide in the actual slide sequence and does not take branching
    into account i.e. it is a pure linear back 1 button. To make life
    easier, I would suggest giving each of your important slides a
    unique label, which would then make it a lot easier to:
    Specify where the individual "back" buttons would jump to
    View the actual branching in teh Branching view of Captivate.
    Good luck mate
    Andrew

  • Jdev 11.1.2 - Getting view state of the page has expired. Reload the page.

    Hi All,
         I am Using Studio Edition Version 11.1.2.0.0 (11g Release2).
         Whenever I do some changes to Jspx file and
         trying to perform some operations in the Form Session got Timeout.
         In the JDEV Log recorded the message as:
         Do we need to do any changes in settings?.
         [01:23:15 PM] Updated /C:/Users/arenuk/AppData/Roaming/JDeveloper/system11.1.2.0.38.60.17/o.j2ee/drs/TestSample/ViewControllerWebApp.war
         <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1
         javax.faces.application.ViewExpiredException: viewId:/view/src/jspx/Countries.jspx - ADF_FACES-30107:The view state of the page has expired. Reload the page.
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._restoreView(LifecycleImpl.java:718)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:341)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         And in one of my earlier threads I got solution (fast-swap Option need to be selected)
         for Null Pointer exception after Recompilation of Java classes in Debug Mode.
         Durga.

    Hi Arun,
         The word Form misleads you i think so its not Form. Jspx only.
         I have created a small sample application using HR database.
         Created CountriesEO using countries table.
         Created Countries.jspx, in that created one filterable table using CountriesVO.
         Run the Countries.jspx page is rendered on the Browser.
         Now if I do any change say for Ex: Given editingMode="editAll" to the Table Save and
         now come to the page already Running on the Browser and applied Filter for
         Country Name column this Error comes.
         1. Are you running the App in Debug mode? -- In Both Run & Debug Modes it comes.
         2. Is there any backing bean for the jspx page? -- no backing Bean created.
         Durga.
    Edited by: Durga on Aug 26, 2011 3:22 AM

  • I don't have the Firefox button feature on my browser. The one above the back button.Why not?

    I've downloaded Firefox 4 on both hard drives and the Firefox button feature that is suppose to be located above the back button is not there on either browsers! This feature is mentioned first on the "Getting Started" tutorial and I'd like to have it. How do I get it to appear?

    Usually you have either the orange Firefox button or the classic menu bar, but not both at the same time.
    You should be able to switch back and forth this way:
    If the classic menu bar is not displayed, tap the Alt key to display it and then use
    View > Toolbars > Menu Bar
    to make it persistent. It should replace the orange Firefox button. To switch back, uncheck
    View > Toolbars > Menu Bar
    Does that work??
    Also, the Mozilla ActiveX plugin is defunct and should be uninstalled ASAP. It isn't reliable above Firefox 1.5, and may have unpatched security problems. [http://kb.mozillazine.org/ActiveX#Uninstalling_the_ActiveX_plugin_on_Windows How to uninstall].

  • Send Request to servlet every time with the back button

    Hi,
    We are designing a web site in which all the pages are dynamic depending on what he does with his ordering system. Problem is when the uers request a change to the orders (eg deletes) the page is generated again. But the user can use the back button to see the deleted order.
    Question. Is there any way to send a request to the server everytime the back button is pressed.
    I have already added this to the top of my generated pages.
    response.setHeader("Cache-Control","no-cache"); // HTTP 1.1
    response.setHeader("Pragma","no-cache"); //HTTP 1.0
    response.setHeader("Expires" , "0");
    I tried both the POST and GET request too.
    Any help would be appreciated.
    Thanks.

    This is an issue of never ending discussions. If you did a search for similar topics in this forum, you'd encounter various opinions including examples of suggested solutions.
    You can also see various real life behaviors on various real web sites.
    Personally, I don't want to put too much effort in disabling the back button. The back button is a mere display of the previous page and not the state of the application. As a user I like websites which do not mess with the browsers back button and let me see what I did on the previous page.
    If the user tries to do something with this deleted order, you should be able to track that and display a suitable error message.
    BTW, those headers do not have any effect on browsers back button. They merely control caching of pages.

  • Sometimes the url's don't update so when you press the "back button" it sends you to the home page instead of the last page visited

    A friend of mine has this webblog and I have never had problems viewing it before I downloaded the new version of firefox. However, once I downloaded the new version, I noticed that every time I press the "back button" after viewing a picture, it sends me back to the blog home page instead of the last page I was on or that I viewed. This also happens with some of the standard websites I visit not just the blogs.

    Right click the Back button and select the page you want to go back to.

  • IE and the back-button

    Hi all...
    I've used JHeadstart 10.1.2 to build a fairly simple UIX based web application. This application is completely a read-only view of some data, layed out as master-detail-detail over a few screens.
    As such, I followed the directions in the JHeadstart Dev Guide to disable back-button protection, since my application didn't need to be protected against misuse of the browser back button.
    Everything works fine in Firefox... users can query the master screen and drilled into details, and use the browser back button to back out of the details to the master page.
    However, IE does not like this at all. It intercepts this back-button use with pages that employ POST form submissions by throwing the following rendering when navigating back up from my app's details pages:
    ================
    Warning: Page has Expired The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
    To resubmit your information and view this Web page, click the Refresh button.
    ================
    What kind of mods in my UIX/Struts JHeadstart code can I make in order for IE to accept use of the back-button in this scenario?
    I realize I can add breadcrumbs to my application, but that doesn't necessarily mean that the users will use this instead of the back button (especially since the users will be public anonymous Internet users -- training is not an issue)?

    Timothy,
    If you google on "how to prevent Warning: Page has Expired" you will find lots of useful links. You nee dto set your caching policy on the http header. You can do this by overriding JhsActionServlet.process, and register your custom action servlet in web.xml.
    You can add calls like this to set caching strategies:
    response.addHeader("Cache-Control", "max-age=3600");
    response.addHeader("Cache-Control", "private");
    Google on "response.setHeader" or reponse.addHeader for more examples.
    Steven Davelaar,
    JHeadstart Team.

Maybe you are looking for

  • Cannot transfer files to and from WebDav server

    I having much difficulty transferring files to and from our new WebDav server when using Finder's Connect to Server. I am able to connect and authenticate just fine. Although, when dragging and dropping to a mounted drive, I receive the following err

  • Windows 8.1 and ADE 4.0.

    using windows 8.1 and ADE 4.0.  ADE stops working when minimize to taskbar.  Have uninstalled and reinstalled.  did not solve problem.  Please help as this is very annoying.

  • Oracle 8.1.6 on Corel Linux

    Hello! Can`t install 8.1.6 on Corel Linux 1.0. The runInstaller can`t start. It terminates with an "Memory Access Failure". Do I have the wrong distribution? Monika

  • Installation Problems of SAP CE 7.1 SP3 (Dev. Ed.) "well-known groups"

    Hi, I tried to install NW CE on XP prof. (german), I received an error while doing the "Prerequisite Checker" : Checking the names of selected well-known groups. The following names were expected:      "everyone, users, guests, power users". The foll

  • Delivering on your top feature requests!

    Dear Adobe EchoSign community -- As Fall starts to settle in, [at least in the Northern Hemisphere], I wanted to share progress we've made on your feature requests.  As context, our team sits down weekly to review your top feature requests that come