I'm trying to instantiate a InputStreamReader to a XML file stored on my device or in the Jar file. Below is a code segment I used. Any help would be appreciated.
String URL = "file:/" + sFileName;
try {
InputConnection icFile = (InputConnection) Connector.open(URL);
parser = new KXmlParser();
parser.setInput(new InputStreamReader(icFile.openInputStream()));