X
點擊此處開啟此網站的行動版。

技術支援討論區

How do applications save their state when they are put in the background and how when they are killed?

已張貼

I would like to know how web apps in Firefox os save their state when they are put in the background and when they are killed.

I was reading this very nice article about application performance here: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Performance when the question came to mind but couldn't find any answers.

I would like to know how web apps in Firefox os save their state when they are put in the background and when they are killed. I was reading this very nice article about application performance here: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Performance when the question came to mind but couldn't find any answers.

額外的系統細節

應用程式

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20130612 Firefox/24.0

更多資訊

mluna
  • Administrator
70 個解決方法 486 個答案

Hi,

Thanks for this question, I don't know if this article has the exact answer, but maybe it will help you on the trail: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Resources

Here is an index of all articles tagged Firefox OS, to browse for other topics: https://developer.mozilla.org/en-US/docs/tag/Firefox%20OS

Regards! Michelle Luna

Hi, Thanks for this question, I don't know if this article has the exact answer, but maybe it will help you on the trail: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Resources Here is an index of all articles tagged Firefox OS, to browse for other topics: https://developer.mozilla.org/en-US/docs/tag/Firefox%20OS Regards! Michelle Luna

提出問題者

Hi Michelle,

Thank you for your answer but that wasn't what I was looking for. I checked all these Firefox OS resources before posting my question and couldn't find anything related.

hunterst

Hi Michelle, Thank you for your answer but that wasn't what I was looking for. I checked all these Firefox OS resources before posting my question and couldn't find anything related. hunterst
FredMcD
  • Top 10 Contributor
949 個解決方法 13988 個答案

I think the answer you are looking for is; When a program shuts down, it will save any current information for later.

I think the answer you are looking for is; When a program shuts down, it will save any current information for later.

有幫助的回覆

Hi fredmcd,

Your answer is more like a simplified version of my question. I appreciate that you are trying to help, but it's not really constructive to answer if you don't know.

To make my question more specific, I would like to know if something equivalent to "onSaveInstanceState" for Android, exists in Firefox OS.

hunterst.

Hi fredmcd, Your answer is more like a simplified version of my question. I appreciate that you are trying to help, but it's not really constructive to answer if you don't know. To make my question more specific, I would like to know if something equivalent to "onSaveInstanceState" for Android, exists in Firefox OS. hunterst.