j2me and saving xml data to the device

C

cardia

Hi there,

I am a C# programmer new to the J2ME world. I have just started on an
application for my mobile handset, the idea being to learn as I go. I
want to be able to input data daily and recall the data at any time.

To do this I need to save the data to any type of file (XML, text or
binary). I don't know how to do this.

In a C# application I would define an XmlDocument object and load the
file into the object.

I have read up and apparently there is no XML API included in the J2ME
framework. I wanted to use kXML but am not sure about any of it.

Can anyone help me on my way please? Should I be using XML for my app,
and if so how do I do what I need?

Thanks
 
D

Darryl L. Pierce

I am a C# programmer new to the J2ME world. I have just started on an
application for my mobile handset, the idea being to learn as I go. I
want to be able to input data daily and recall the data at any time.

To do this I need to save the data to any type of file (XML, text or
binary). I don't know how to do this.

In a C# application I would define an XmlDocument object and load the
file into the object.

For storage, you'll have to use the RMS system since there is no other
persistent storage mechanism in the MIDP.
I have read up and apparently there is no XML API included in the J2ME
framework. I wanted to use kXML but am not sure about any of it.

kXML is a great pull parser. I've used it on multiple projects.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top