语言

Menu
Sites
Language
Callback app from background via push notification

Hello,
I'm developing  a TV Web application. My TV is running on Tizen 3.0. I want to callback my app from background when I click the button on the push notification I receive. Currently I am using "eventTypeClickOnButton1=connect". Is there any way to just callback application in a state that I left in the background, instead of relaunching the whole app?

All the best,
Kuba

编辑者为: Inwebit 05 11月, 2018

响应

2 回复
André Reus

Hi, If you write an operation in the app-control section of the Tizen tab of config.xml, you will be able to directly come to that page/ launch particular task directly of an app. 

https://developer.tizen.org/development/guides/web-application/application-management/application-information-and-controls/application-controls#handle

Exporting operation:- 

https://developer.tizen.org/development/guides/web-application/application-management/application-information-and-controls/application-controls#exporting

Inwebit

Thanks, I will check this out.

Just to clarify, I've got login and dashboard view. I want to hide my app in dashboard view, and then, when I click the "Open" button on push notification, generated by attached request, I want to open my app on dashboard view. Currently it happens, but after 1 second application refreshs and I am again on login view. Is this problem described in link you gave:

https://developer.tizen.org/development/guides/web-application/application-management/application-information-and-controls/application-controls#exporting

in subsection "Preventing Page Reloads for Incoming Requests"?

Thank you for your response.

(the request I am generating push notification)