Archived:MIDI sounds from MIDlets in background not stopped on S60 2nd Edition (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The article is believed to be still valid for the original topic scope.
The article is believed to be still valid for the original topic scope.
Article Metadata
Tested with
Devices(s): Nokia 6600
Compatibility
Platform(s): S60 2nd Edition
Article
Created: User:Technical writer 1
(20 Aug 2007)
Last edited: hamishwillee
(28 Jun 2012)
Description
The MIDI sound playback is not stopped if the MIDlet is moved to the background. If the Application key is pressed while the MIDlet is running, the MIDlet is left in the background. If a MIDI sound has been playing, it continues playing even if the MIDlet is not visible. There seems to be no easy way to track if any of the Displayables are visible or not.
Solution
This problem exists in Screens such as Form and List, but not in Canvas. In Canvas it is easy to track whether the Canvas is visible or not by using the hideNotify() and showNotify() methods. Such methods don't exist for Screens.


(no comments yet)