Skip to Content
0
Former Member
Jan 29, 2010 at 04:44 AM

Reading XML in Mobile 7.1 for Handheld

14 Views

Hello friends,

Right now we're developing handheld 7.1 applications, but we have troubles reading XML structures stored on the mobile minidb (local data base). If we try the application on the mobile client emulator (that comes with the NWDS) the application works fine, but when we try on a real mobile client (intermec device), the application crash just when the XML command lines are invoked.

The import libraries (used APIs) are:

import java.io.IOException;

import java.io.StringReader;

import java.util.*;

import javax.xml.parsers.DocumentBuilder;

import javax.xml.parsers.DocumentBuilderFactory;

import javax.xml.parsers.ParserConfigurationException;

import org.w3c.dom.Document;

import org.w3c.dom.Element;

import org.w3c.dom.Node;

import org.w3c.dom.NodeList;

import org.xml.sax.InputSource;

import org.xml.sax.SAXException;

We think the big problem is that the Creme VM and the Mobile Client don't have XML libs for this purpose because we search xml classes on the libs folder (for creme and for Mobile Client) and we did not found any xml related class.

The big questions are:

Is true that we don't have XML API for handhelds on mobile 7.1?

Is true that there is big difference betwen the libs used as default in the NWDS environment (develop environment) and the mobile client (the real mobile environment)?

Any help will be helpfull for us.

Regards,

David Faustini