tags:

views:

21

answers:

0

Hello All...

I am working on Samsung Java application development using Samsung Java SDK 1.2.

Now in my application I need to create some xml file and store it inside the local phone memory.

Now, that file will be updated frequently when user requesting some data from server.

And at that time I required to parse that locally stored file and display it's content on application UI.

For that I have created J2ME Parser, but that is using

httpConn = (HttpConnection) Connector.open("http://someurl.com", Connector.READ_WRITE);

HttpConnection class for parsing the data. But I required to pass following url for reading the file :

URL = "file:///root1/MyApp/student.xml"

But unfortunately it's not accepting url which is starting from other then HTTP.

Any help would be highly appreciated.

Thanks in advance.