Press again to exit the Application - Example

3 posts, 0 answers
  1. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 08 Nov 2013 Link to this post

    Good day to all of you 

    I have some apps that will display a message- Press again to exit the Appclication - when using the back putton on the Android phones.

    Can I catch the press of that button with cordova and if so anyone has an example of an implementation.

    Kind regards
    Markus
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 12 Nov 2013 Link to this post

    Hi Markus,

    Yes, you can catch the back button of Android devices, for more information refer to the Cordova API documentation. It contains a sample code snippet that shows how it is accomplished.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
  3. Markus
    Markus avatar
    205 posts
    Member since:
    Nov 2005

    Posted 12 Nov 2013 Link to this post

    Dear Steve

    Once more thank's for pointing me in the right direction.

    Is the back button in the simulator working? Because it works when published to phone but not in simulator.

    Markus
Back to Top