facebook

Backbutton! Please help!

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #349503 Reply

    jackhorror
    Member

    Hallo there! I have the trial version of mobione, i am about to buy it but i have question..

    I made an apk, i install it on my android it is working perfectly, the only problem is with the backbutton (mobile), when i press it i closes the app, i need it to go back to the previous page..

    (genuitec send me a msg on facebook telling me that i could do that with this http://docs.phonegap.com/en/2.9.0/cordo … backbutton
    but it doesn’t support ios as i see + i don’t know where to put the code

    Could someone please explain me step by step on how to do it?

    #349504 Reply

    Hi,

    Here is a quick start guide to use Cordova (Phonegap) API: http://www.genuitec.com/mobile/docs/usingCordovaAPI/usingCordovaAPI.html

    Note that this require basic-medium javascript skills.
    If you get stuck in any step please let us know, sharing what code you’ve got so far will make easier to understand and not to start from the beginning.

    #349506 Reply

    jackhorror
    Member

    hallo! 🙂 i need a code for the hardware backbutton to go to the previous page (i don’t need a graphic button)

    #349509 Reply

    Hi,

    I shared that guide with you so you could learn how to integrate cordova functions in your mobione apps, I hope this very sample project would be more helpful.

    Attachments:
    You must be logged in to view attached files.
    #349542 Reply

    jackhorror
    Member

    Hallo! Thank you for your help, but i need the mobile backbutton, not graphic button/widjet.
    When i press the mobile backbutton, i doesn’t show me the previous page but it closes the app

    #349556 Reply

    Hi,

    I tested the sample project before sharing and it was working fine. Could you share your device model and android version? Also, please try modifying the onBackKeyDown function in the home_custom.js file, and add an alert to confirm that it’s being fired.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Backbutton! Please help!

You must be logged in to post in the forum log in