What is RMS ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1869


What is amps ?

584


Write a Java program to deactivate a cell phone when authentication failed

1721


Give the name of classes of j2se which is not used in j2me

1803


create a menu which has the following options:cut-can be on/off,copy-can be on/off,paste-can be on/off,delete-can be on/off,select all-put all4 options on,unselect all-put all 4 options off,using event handling in MIDP application

5233






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.

529


where images can be stored in j2me?

1990


what are all contain highlevel api?

1725


Memory managment technique in j2me

1701


what is the application compatability?

1720


Memory managment technique in j2me

1783


In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?

1779


What is j2me in mobile computing?

476


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.

2888


what is the use of wtk?

1545