- This topic has 4 replies, 3 voices, and was last updated 10 years, 8 months ago by Ang.
-
AuthorPosts
-
AngMemberI 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.
BrandonMemberMost 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
AngMember@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.
support-michaelKeymasterI 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?
AngMember@support-michael wrote:
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. -
AuthorPosts