• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

J2ME midlet application connection problem with XML file

 
Giridhar Yeldi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am doing a small program retrive data from xml file and using those details i am doing some process. My xml file in my hardisk as C:/WTK23/apps/XML in Source/res/XMLinSource.xml
. I am not able to get or connect to the xml file. Help me to retrive data from xml. I gave as follows

InputConnection connection = (InputConnection) Connector.open("file://C:/WTK23/apps/XML in Source/res/build.xml", Connector.READ);

parse(connection.openInputStream());

Reply to email id : giridhar_yeldi@yahoo.com
Thanks in advance

Regards,
Giridhar
 
fred rosenberger
lowercase baba
Bartender
Posts: 12264
36
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please learn which forums are appropriate for your questions. This forum is for asking questions about the site itself - NOT for asking technical questions.

This thread will be moved shortly to a better location, where you will hopefully get the help you need.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you are asking about midlets, I am moving this to the Java Micro Edition forum.

Please take the time to read use the forum not email. You might also want to consider that putting your email address in clear text on any web page gives you a greater chance of getting spam - I would strongly recommend you edit both copies of this post and remove your email address. You can edit your own posts by clicking on the icon in any of your posts.

- Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic