• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use data on access in j2me?

 
mahdi farzami
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi , i have data in access database and i want to use this data in j2me application , how can i do this ???
thank
 
Gopinath Karyadath
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Abishek Kumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use Record Store as Database in J2ME.
 
Gopinath Karyadath
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any facility in Record Store like DATABASE ???
 
Marcus Persson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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);

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic