BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-23-2004, 10:00 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2004
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Ticks since last reset

Please Login to Remove!

Do you know if there is a way to get the number of ticks since last device reset? (TrackwheelClick and so on are not acceptable answers ;) )
Offline  
Old 09-23-2004, 03:35 PM   #2 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

What about the timer( ) class found in many implementations of Java environments? Or does it not exist in J2ME?

I seem to remember System.currentTimeMillis() .... Does that provide the necessary information?
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-24-2004, 03:37 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Aug 2004
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

nope :'(
unfortunately, System.currentTimeMillis() provides the number of ticks since january 1,1970
Offline  




Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.