1. Download our Official Android App: Forums for Android!

Apps 'Back' button sequence issue?

Discussion in 'Android Development' started by coolmama0405, Jan 10, 2012.

  1. coolmama0405

    coolmama0405 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Jan 10, 2012

    Jan 10, 2012
    2
    0
    5
    Web developer
    Santa Barbara, CA
    We have developed a mobile website that includes a search feature. When the user inputs a keyword to search, javascript displays a 'loading' DIV overlay during the search before rendering the results on a new page. When the user hits the device 'back' button they should go back to the previous page.

    In Android 2.1 (and iPhone), this process works.

    But in later versions of Android (and later versions of BB), when the device 'back' button is hit, the loading DIV overlay appears and the process ends there. So the sequence of events for the back button seems to be related to the previous EVENT, not the previous PAGE.

    Any ideas how I can get it to go to the previous PAGE instead?

    Thanks!
     

    Advertisement

Share This Page

Loading...