I wanna display the message sent from wma console in LWUIT form... The sms are stored in record ... and I need to get the sms from the record .. I have stored the sms in record but having problem in retrieving it and displaying
if (ae.getSource()==inboxlist){
iform = new Form("Message");
try {
record = RecordStore.openRecordStore("Sms", true );
s = new String(record.getRecord(smsindex));
inb = new Label();
inb.setText(s);
} catch (RecordStoreException ex) {
ex.printStackTrace();
}
iform.addComponent(inb);
iform.addCommand(exit);
iform.setCommandListener(this);
iform.show();
}