posted 8 years ago
You cant use directly any database ( expt RMI) in your (J2ME ) mobile application. you can use web service for it.
if you want database class mail me.
Regards
Gopinath
http://j2me-codesamples.blogspot.com/
gopi@c2info.com
if you want database class mail me.
Regards
Gopinath
http://j2me-codesamples.blogspot.com/
gopi@c2info.com
Gopinath Karyadath
Ranch Hand
Posts: 87
posted 8 years ago
RecordStore recordStore = javax.microedition.rms.RecordStore.openRecordStore("MyTable",true);
String string = "new record";
byte[] bytes = string.getBytes();
recordStore.addRecord(bytes,0,bytes.length);
Abishek Kumar wrote:You can use Record Store as Database in J2ME.
RecordStore recordStore = javax.microedition.rms.RecordStore.openRecordStore("MyTable",true);
String string = "new record";
byte[] bytes = string.getBytes();
recordStore.addRecord(bytes,0,bytes.length);
