I'm having an issue when watching a movie in roVideoScreen. If the user presses the "Home" button while the movie is playing, the XML file (that contains the movie data and start position) gets overwritten with an empty file. If the user backs out of the movie properly and goes back to the roSpringboardScreen, the XML file is updated with the current start position and is correctly saved.
Is there a way to detect the home button (or a way to detect every other event and use an ELSE to not execute the servlet to update the XML) so this issue doesn't occur?
If you are trying to save the current position in playback, just save the position every 5 or 10 seconds to the registry or to your server. That way, even if playback is interrupted by the home button, you'll always have a recent saved position.