我想以 LWUIT 形式显示从 wma 控制台发送的消息... 短信存储在记录中...我需要从记录中获取短信.. 我已将短信存储在记录中,但在检索和显示时遇到问题
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();
}
最佳答案
关于java - 短信接收表格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6647697/