facebook

Need Help With Exit And Share Button On Android : CLOSED

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

    Ang
    Member

    I have a problem with how to build exit and share button on android, can you give me a step by step to build it?
    Because i’m actually newbie for JavaScript. This is my template how i build it.
    Sorry for my English.

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

    Brandon
    Member

    Most apps do not have a share button and leave it to the user or OS to terminate the app.

    I have written a short tutorial on Share buttons link from here: http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6985

    #347755 Reply

    Ang
    Member

    @CincyPlanet wrote:

    Most apps do not have a share button and leave it to the user or OS to terminate the app.

    I have written a short tutorial on Share buttons link from here: http://www.genuitec.com/support-genuitec/viewtopic.php?f=14&t=6985

    Thanks for your answer. But if i still want use it (just for android), how can i make it?
    I’am actually search in this forum and they said use navigator.exit.app() for create button to closes the app but i don’t know what to do with that code. Can you help me with this code to create it?
    For tutorial about share button it actually works, thank you.

    #347766 Reply

    support-michael
    Keymaster

    @Ang

    I agree with @cincyplanet about avoid the app exit. But before further discussion you have 3 of the same post (annoying!). Do me a favor and delete all of your crosspost on this topic and either pick 1 thread for your discussion or start your own thread.

    >they said use navigator.exit.app() for create button to closes the app but i don’t know what to do with that code. Can you help me with this code to create it?

    I built an android app from your Untitled2.mobi example and ran it on the android simulator. The exit action works. What further help are you looking for?

    #347770 Reply

    Ang
    Member

    @support-michael wrote:

    @Ang

    I agree with @cincyplanet about avoid the app exit. But before further discussion you have 3 of the same post (annoying!). Do me a favor and delete all of your crosspost on this topic and either pick 1 thread for your discussion or start your own thread.

    >they said use navigator.exit.app() for create button to closes the app but i don’t know what to do with that code. Can you help me with this code to create it?

    I built an android app from your Untitled2.mobi example and ran it on the android simulator. The exit action works. What further help are you looking for?

    Yes, delete all my post on another thread and i’m so sorry for that. It actually works too in the real device after i deploy it but in the simulator is not working.
    Thanks for your help before i notice my Untitled2.mobi is works.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Need Help With Exit And Share Button On Android : CLOSED

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