Archived:PlatformRequest fails to make a phone call on Series 40 3rd 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}}.
Article Metadata
Tested with
Devices(s): Nokia 6280
Compatibility
Platform(s): Series 40 3rd Edition
Article
Created: User:Technical writer 1
(19 Dec 2006)
Last edited: hamishwillee
(28 Jun 2012)
Description
On the Series 40 platform a MIDlet trying to initiate a phone call with platformRequest() has to exit before the call can be placed. However, if the MIDlet calls notifyDestroyed() immediately after the platformRequest() method call on the Nokia 6280 device, the phone number will not be called.
Solution
The workaround is to insert a sleep() method call after the platformRequest() call but before the notifyDestroyed() method call. A short sleep of 2 seconds (2000 milliseconds) is usually enough to make the phone call to happen.


(no comments yet)