IntelliJ open source
[Logo] JavaRanch » Big Moose Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Reply Bookmark it! Watch this topic JavaRanch » Forums » Mobile » Java Micro Edition
 
RSS feed
 
New topic
Author

how to use data on access in j2me?

mahdi farzami
Greenhorn

Joined: Nov 21, 2009
Messages: 18

Hi , i have data in access database and i want to use this data in j2me application , how can i do this ???
thank

This message was edited 1 time. Last update was at by Bear Bibeault

Gopinath Karyadath
Ranch Hand

Joined: Oct 14, 2009
Messages: 51

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
Messages: 5

You can use Record Store as Database in J2ME.
Gopinath Karyadath
Ranch Hand

Joined: Oct 14, 2009
Messages: 51

Is there any facility in Record Store like DATABASE ???
Marcus Persson
Greenhorn

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

 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Mobile » Java Micro Edition
 
RSS feed
 
New topic
hibernate profiler