You Are Here:

Community: Developer Discussion Boards

#1 Old memory limits on J2ME on a 6310i - 2002-11-08, 00:43

Join Date: Mar 2003
Posts: 2
kniteshade
Offline
Registered User
How extnesive is the persistant storage stuff ya can do for the 6310i? would it be possible to store a call date and time and duration in memory for lots of calls, and then have an app go thru and determine what your bill will cost - you'd have to manually add the call durations - but i think you can determine the date/time automatically

is the persistent storage stuff big enuf to be able to log this much information? or is it only good for storing a single game hi-score etc ???


related to what i said above - IS it actually possible to determine the current date/time? i know ya can do System.currentTimeMillis() to get that - then its simple from then on


Cheers
Reply With Quote

#2 Old RE: memory limits on J2ME on a 6310i - 2002-11-08, 06:53

Join Date: Mar 2003
Posts: 419
Location: Irving, Texas, USA
pbergius
Offline
Regular Contributor
Hello,

1. The size of RMS is 20KB. Date (and time) is stored as long (64 bits or 8 bytes). Zero is 0:00:00 January 1, 1970. Taking into account some record overhead that would mean that you can save more than 1,000 calls. Your money will probably run out before RMS storage space. :)

2. The date and time is received from System.currentTimeMillis(). It's as accurate as the date and time you've set in your phone. Some operators send time info, which many phones can use to update internal clock.

Regards,

Petteri / Forum Nokia
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia