|
How to generate performance parameter for your mobile application |
|
|
The J2ME illustrates a method for generating the performance parameter
of the mobile application. The stopTimer() method is called from destroyApp().
It cancels the TimerTask and the Timer by calling the Timer's cancel()
method. Thus whenever destroyApp() is called time is returned.
// Stops the timer
private void stopTimer( ) {
if (timer != null) {
System.out.println("Stopping the timer");
timer.cancel( );
}
}
|
Related Tips
|
Page 1 of 0 ( 0 comments )
You can share your information about this topic using the form below!
Please do not post your questions with this form! Thanks.