Meaningless Drivel is fun!*
The moose likes Java Micro Edition and the fly likes how to use data on access in j2me? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "how to use data on access in j2me?" Watch "how to use data on access in j2me?" New topic
Author

how to use data on access in j2me?

mahdi farzami
Ranch Hand

Joined: Nov 21, 2009
Posts: 32
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

Joined: Oct 14, 2009
Posts: 87
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

Joined: Oct 27, 2007
Posts: 5
You can use Record Store as Database in J2ME.
Gopinath Karyadath
Ranch Hand

Joined: Oct 14, 2009
Posts: 87
Is there any facility in Record Store like DATABASE ???
Marcus Persson
Greenhorn

Joined: Feb 01, 2010
Posts: 2
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);

 
Consider Paul's rocket mass heater.
 
subject: how to use data on access in j2me?