Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:38, 23 August 2007.

KIJ000207 - Resources cannot be prefetched after deallocation

From Forum Nokia Wiki


Resources cannot be prefetched after deallocation
KIJ000207
Overview
If you have released resources by using the deallocate() method, you cannot use the prefetch() method anymore to get the player to PREFETCHED state.
Reported against
S60 1st and 2nd Edition
Date identified
April 21, 2005
Symptoms
-
Detailed description
A Player has five states: UNREALIZED, REALIZED, PREFETCHED, STARTED, and CLOSED. If the player is in PREFETCHED state, you can release the reserved resources by calling the deallocate() method. After that you cannot prefetch the resources anymore. If you call the prefetch() method after calling the deallocate() method, you will get MediaException. Note that this concerns S60 devices. Calling prefetch() is working in Series 40 devices with the MMAPI implementation.
How to reproduce
If your player is in the PREFETCHED state, call deallocate() and after that call prefetch().
Solution
If your player is in the PREFETCHED state, don’t call deallocate() and after the prefetch() method.
Related Discussions
Thread Thread Starter Forum Replies Last Post
Nokia Firmware a_n_k_u_r General Discussion 1 2006-02-02 20:23
Howto convert to ushort_4444-files? Quart02 Mobile Java Media (Graphics & Sounds) 8 2003-10-21 17:37
Beginning SMS Development inspirational General Messaging 2 2002-11-22 10:24
CreateIconL() call crashes for SVG icon Rajani_sp Symbian User Interface 16 2007-11-05 09:39
Error in resource file Sharmilasrjasthi General Symbian C++ 3 2006-04-23 09:34
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX