What is RMS ?

Answers were Sorted based on User's Feedback



What is RMS ?..

Answer / jguru

The Record Management System (RMS) is a simple
record-oriented database that allows a MIDlet to
persistently store information and retrieve it later.
Different MIDlets can also use the RMS to share data.

Is This Answer Correct ?    5 Yes 0 No

What is RMS ?..

Answer / b.chandra sai mohan

to create a Record store

RecordStore rs= RecordStore.OpenRecordStore(String
name,boolean CreateIfNecessary)
CreateIfNecessary=true.(if REcord Store doesnot exist it
will create otherwise it opens existing one)
CreateIfNecessary=false; and REcorsStore doesnot exist we
will get REcordStorenotfound exception .
closeRecoreStore()---->To close REcord stre
to add newREcord we have method
int addRecord(byte[] data,int offset,int numbytes)
byte data[]=rs.getRecord(int recordID);

Is This Answer Correct ?    1 Yes 0 No

What is RMS ?..

Answer / alex

this is a complete example for RMS

RecordStore tempStore = null;
String strStore = "location:dhaka";
byte[] bs=strStore.getBytes();
int RecordId = 0;
try
{
tempStore =
RecordStore.openRecordStore("TestRecordStore", true,
RecordStore.AUTHMODE_ANY, true);
RecordId = tempStore.addRecord(bs, 0, 5);
byte[] resultByte = tempStore.getRecord(RecordId);
String value = new String(resultByte);
System.out.println(value);
}catch(Exception ex)
{
System.out.println(ex.getMessage());
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More J2ME Interview Questions

11 is a group of specifications for wireless networks developed by the Institute of Electrical and Electronics Engineers (IEEE). 802.11 uses the Ethernet protocol and CSMA/CA (carrier sense multiple access with collision avoidance) for path sharing.

0 Answers  


What is CVM

1 Answers  


What is WDP ?

1 Answers  


Is there any framework in j2me that supports for all three HTc,iphone,Nokia phones.

0 Answers  


create a midp application,where user can enter player name and points.the program saves the information to the record using RMS at MIDP device.program should also print out the top 10 player list to the end user.

0 Answers  






What is Personal Profile ?

1 Answers  


What is Generic Connection Framework

1 Answers  


What is WAE ?

2 Answers  


What is RMI OP

1 Answers  


What is WTLS ?

1 Answers  


What is PNG ?

1 Answers  


What is PDCP ?

1 Answers  


Categories