Questions tagged [kxml]

For issues relating to the kXML parser.

kXML is a small XML pull parser, specially designed for constrained environments such as Applets, Personal Java or MIDP devices.

, the current version of kXML, can be found at GitHub.

19 questions
6
votes
4 answers

Parse XML file on BlackBerry

I want to know how to parse XML data on a BlackBerry. I read somewhere that JSON is good method to parse xml data. Are there any tutorials to parse XML data using JSON, or any other mechanism?
MohammedYakub M.
  • 2,893
  • 5
  • 31
  • 42
4
votes
1 answer

Parsing an XML string into a kXML Element

I'm writing an Android app that connects to a SOAP webservice using kSOAP2, and I have a kXML element where I would like to inject a child based on an XML string I got from elsewhere (a REST API). I have the following code: Element samlHeader = new…
Sebastien
  • 3,583
  • 4
  • 43
  • 82
2
votes
1 answer

kxml for parsing data from website

I am currently trying to develop an application using netbeans 6.9.1, but when I try to run the program I am getting the following error Uncaught exception: java.lang.IllegalArgumentException at javax.microedition.io.Connector.openPrim(),…
Hip Hip Array
  • 4,665
  • 11
  • 49
  • 80
2
votes
2 answers

Android: Parsing XML with KSOAP

I make connection with my webservices (SOAP) this the xml result that I recieved from the webservices how can I parse this result without SAX parser... AndroidPeople
anddevelop
  • 163
  • 1
  • 3
  • 15
2
votes
0 answers

kxml doens't parse wbxml to xml correctly

I used to parse a wbxml traffic comes to my android device. i use kxml parser to print out the contents, but parser says me there isn't any string or attributes to show. where am i wrong ? public static void main(String[] args) throws…
m.ahmadi
  • 21
  • 1
2
votes
5 answers

How do I get kXML to work?

I'm trying to implement an existing XML parser: kXML. I ran into the following error: java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException at com.sun.midp.midlet.MIDletState.createMIDlet(+29) at…
hsmit
  • 3,906
  • 7
  • 34
  • 46
2
votes
1 answer

How to reuse j2me kxml parser?

I am useing kxml parser for my j2me application. I am reading the file from phone memory and parsing the xml file to display the data(have various level of filter). On each filter i need to read the data from this file. For first time i created the…
Sampath Kumar
  • 4,433
  • 2
  • 27
  • 42
1
vote
1 answer

kXML and LWUIT to build an RSS Reader

New here. I'm currently doing an RSS Reader for J2ME for a device called Samsung Corby. Here is my question. Is there anyone who are doing RSS Readers with kXML and LWUIT before? I got the basic idea for kXML, but for LWUIT to work with kXML,…
Kevin Tan
  • 1,038
  • 8
  • 19
1
vote
1 answer

j2me: How to parse a byte array into xml and then read and display specific data from that XML

I'm consuming a ASP.NET Web API method that returns data in xml format. Everything was fine until I had to parse the byte array I got ,resulting from the openInputStream. Everyone says use this or that library,but unfortunately there isn't much…
Axel
  • 1,674
  • 4
  • 26
  • 38
1
vote
0 answers

Kxml parsing in android

Hi i used kxml jar for parsing data from web service.I used previously in other project..But now i am using the same in new project,,but i am receiving error i cant able to troubleshoot it.. My xml file will look like this:
Subburaj
  • 5,114
  • 10
  • 44
  • 87
1
vote
1 answer

Parse a custom XML file in LWUIT using KXML

I'm creating an App using LWUIT and part of its functionality is as thus, I'm using KXML 2_2-3-0 to parse my Xml files. I'm parsing two files, an XML file and an RSS feed. This is the structure of my XML file:
Chris Mwai
  • 91
  • 1
  • 14
0
votes
2 answers

kxml is giving a xmlpullparser exception

I checked SO for the xmlpullparser exception but it's giving me others questions with Android and SOUP. I am using J2me and normal HTTPrequest to get my XML and I am using kXMl to parser the xml text. Below is the code that I am working on. And…
Chan
  • 2,601
  • 6
  • 28
  • 45
0
votes
1 answer

Error when building C++ application using KXmlGuiWindow

I was following an introductory tutorial for using the KDE Framework and ran into problems when compiling. The code is the same as in the tutorial. The compiler outputs: fatal error: KXmlGuiWindow: No such file or directory My first thought was that…
dot
  • 3
  • 3
0
votes
1 answer

Can i use KXML framework?

Can i use KXML framework for android application?
bharath
  • 14,283
  • 16
  • 57
  • 95
0
votes
1 answer

LWUIT and kXML Parser

Uncaught exception: java.lang.Error: Static initializer: java.lang.NullPointerException, 0 - java.lang.Class.throwError(), bci=57 - java.lang.Class.initialize(), bci=221 - com.sun.lwuit.Component.(), bci=5 -…
Kevin Tan
  • 1,038
  • 8
  • 19
1
2