Categories: Known Issue | Java ME | Scalable 2D Vector Graphics API (JSR-226) | S60 3rd Edition, Feature Pack 1
KIJ000731 - JSR-226: SVGSVGElement.setCurrentTime() does not allow to set the animation time backwards
From Forum Nokia Wiki
| ID | KIJ000731 | Creation date | August 31, 2007 |
| Platform | S60 3rd Edition, FP1 MIDP SDK | Devices | |
| Category | Java | Subcategory | Scalable Vector 2D API |
Overview
The method SVGAnimator.stop() does not reset the animation time. The only way to start the animation from the beginning is to call <tt<SVGSVGElement.setCurrentTime( 0f );</tt>
Detailed description
Resetting the animation or setting the animation backwards does not work. This also means that playing the animation backwards is not supported.
How to reproduce
This issue affects JSR-226 when running on the emulator.
Stop the animation and call SVGSVGElement.setCurrentTime( time ), where time equals 0f or less than the current time retrieved with SVGSVGElement.getCurrentTime().
Solution
For resetting the animation, recreate the SVGAnimator object. Resetting the animation time back to zero will be fixed in S60 3rd Edition, FP2 MIDP SDK.
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Looking for info on Java compatibility/types | markpw1 | Mobile Java General | 3 | 2007-03-12 23:54 |
| Location api jsr 179 and Bluetooth GPS | prategiov | Mobile Java General | 21 | 2007-12-04 23:36 |
| Test certificate for single mobile phone | masterfu | Mobile Java General | 6 | 2007-01-22 09:35 |
| JSR-179 Emulator Help | NuclearTonic | Mobile Java Tools & SDKs | 0 | 2006-02-05 19:47 |
| 6800 firmware bug in DateField? | bubbasbits | Mobile Java General | 0 | 2004-09-30 00:00 |

