// FIXME: use J2ME RecordStore here
long lastTimestamp = 0l;//this is 0L (long 0)
mailStore = PersistentStore.getPersistentObject(MAIL_LAST_TIMESTAMP_KEY);
if (mailStore.getContents() != null)
{
StringVector data = (StringVector)mailStore.getContents();
if (data.elementAt(0) != null)
{
lastTimestamp = Long.parseLong((String)data.elementAt(0));
}
}
return lastTimestamp;
}