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

What is profile ?

2 Answers  


I have a problem wtih a program. The program logic is like this.......... from a class which extends midlet class i create object of a class(say canobj(word)) which extends canvas class by passing a string. the next statement is display.setCurrent(canobj); Everything is fine but the paint(Graphics g) method is not executed. What may the problem. please suggest me the answer.

2 Answers  


What is EDGE ?

1 Answers  


What is configuration ?

1 Answers  


Explain about RMI OP ?

1 Answers  






What is Tomcat

1 Answers  


What is WTLS ?

1 Answers  


Explain about Telematics ?

1 Answers  


What is TDMA

1 Answers  


Hi, I have a midlet. In that I created object that extends Canvas.In that canvas I added one command,when I click that command the control is not coming to CommandAction() method of that canvas. Can u suggest me any solution for this?

4 Answers  


What is JavaHQ ?

1 Answers  


What is JDBC for CDC/FP ?

1 Answers  


Categories