"Dhir Pratap" wrote:
is there any way we can prevent our app from being killed on pressing home?
Nope. And there shouldn't be.
However: it makes sense for Roku to
notify the app it's in the process of being closed (foreclosed? :)), so it has a few deciseconds to save the family jewels.
That does not exist yet - but would be easy for the Co. to implement. Say by something like
roDeviceInfoEvent^ that the app can listen for and if received, panic as appropriate.
(^) except maybe a "
roAppInfoEvent"? Doesn't matter much as long as it exists. Could be even ECP /input, though that'd be probably slightly unclean (unexpected input, potential collisions... )