[ANSWERED] Hosted App Termination

Technical | Application Development | Atma Ram | Just now | 4 Replies | 825 Views

*

Atma Ram

  • *****
  • 1,978
  • 28305 Points
    • View Website
[ANSWERED] Hosted App Termination
« On:October 07, 2015, 09:19:47 AM »
Hi,

I am developing a self hosted app, I would like to know how can I terminate an hosted app using the back key.

Please help me out.

Thank you!
« Last Edit: November 05, 2015, 02:19:47 PM by Zed Zapped »



*

mohit

  • *
  • 5
  • 250 Points
Re: Hosted App Termination
« Reply #1 On:October 07, 2015, 10:22:29 AM »
Hi,

You can use below code in config.xml to enable backbutton, hwkey event & other settings:

<tizen:setting backbutton-presence="enable" hwkey-event="enable" install-location="auto" encryption="disable" background-support="disable" context-menu="enable" screen-orientation="portrait"/>

*

Atma Ram

  • *****
  • 1,978
  • 28305 Points
    • View Website
Re: Hosted App Termination
« Reply #2 On:October 08, 2015, 05:40:04 AM »
Thank you Mohit. This helped me.

*

Atma Ram

  • *****
  • 1,978
  • 28305 Points
    • View Website
Re: Hosted App Termination
« Reply #3 On:November 04, 2015, 02:54:29 PM »
Not working Mohit. I thought this should work. But instead it is showing error.

*

Atma Ram

  • *****
  • 1,978
  • 28305 Points
    • View Website
Re: Hosted App Termination
« Reply #4 On:November 04, 2015, 03:02:29 PM »
Actually this thing worked.... <tizen:setting backbutton-presence="enable" />

Instead of <tizen:setting backbutton-presence="enable" hwkey-event="enable" install-location="auto" encryption="disable" background-support="disable" context-menu="enable" screen-orientation="portrait"/>

I dont know how, but this thing works.

 


Facebook Comments




anything