<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare zu: Android: XML Serialization with XStream</title>
	<atom:link href="http://jars.de/java/android-xml-serialization-with-xstream/feed" rel="self" type="application/rss+xml" />
	<link>http://jars.de/java/android-xml-serialization-with-xstream</link>
	<description>Blog über Java, JEE, JSF, EJB 3.0, Tools, Ubuntu, Windows, Technologie</description>
	<lastBuildDate>Fri, 18 May 2012 14:14:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Von: alecrama</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2889</link>
		<dc:creator>alecrama</dc:creator>
		<pubDate>Wed, 23 Nov 2011 11:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2889</guid>
		<description>If the xml file receives new fields that didnt exist in the object  before how can I retrieved them from xml  without be  stopped by an exception ?</description>
		<content:encoded><![CDATA[<p>If the xml file receives new fields that didnt exist in the object  before how can I retrieved them from xml  without be  stopped by an exception ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Ryan</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2751</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Tue, 23 Aug 2011 04:41:28 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2751</guid>
		<description>Is there anyway to get this to work for JSON deserialization?  My build works for regular Xstream Objects but fails when I try to initialize one with JettisonMappedXmlDriver().  Any help would be appreciated. Thanks</description>
		<content:encoded><![CDATA[<p>Is there anyway to get this to work for JSON deserialization?  My build works for regular Xstream Objects but fails when I try to initialize one with JettisonMappedXmlDriver().  Any help would be appreciated. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Joms</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2724</link>
		<dc:creator>Joms</dc:creator>
		<pubDate>Wed, 13 Jul 2011 23:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2724</guid>
		<description>Hello!

I tried to package the source into a .jar file. but it seems to have a NULL POINTER EXCEPTION when i try to instantiate the XStream object. Can someone upload a sample project so i can have it tested? Thanks!

Best Regards,
Joms</description>
		<content:encoded><![CDATA[<p>Hello!</p>
<p>I tried to package the source into a .jar file. but it seems to have a NULL POINTER EXCEPTION when i try to instantiate the XStream object. Can someone upload a sample project so i can have it tested? Thanks!</p>
<p>Best Regards,<br />
Joms</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Luis</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2651</link>
		<dc:creator>Luis</dc:creator>
		<pubDate>Thu, 09 Jun 2011 10:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2651</guid>
		<description>Great work. How can I obtain the patched lib? I have been trying to recompile the source with JDK 1.5 or greater but can&#039;t get i to work on Dalvik.</description>
		<content:encoded><![CDATA[<p>Great work. How can I obtain the patched lib? I have been trying to recompile the source with JDK 1.5 or greater but can&#8217;t get i to work on Dalvik.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: vinh</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2466</link>
		<dc:creator>vinh</dc:creator>
		<pubDate>Thu, 14 Apr 2011 12:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2466</guid>
		<description>Great work,
Thanks for your distribution</description>
		<content:encoded><![CDATA[<p>Great work,<br />
Thanks for your distribution</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: TienLQ</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2439</link>
		<dc:creator>TienLQ</dc:creator>
		<pubDate>Tue, 28 Dec 2010 11:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2439</guid>
		<description>Hi Alexander,
Could you please show me how to get this jar. I really need it now.
Thanks for your help.

Best Regards
TienLQ</description>
		<content:encoded><![CDATA[<p>Hi Alexander,<br />
Could you please show me how to get this jar. I really need it now.<br />
Thanks for your help.</p>
<p>Best Regards<br />
TienLQ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: [Android] GIS coordinates and Android</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2422</link>
		<dc:creator>[Android] GIS coordinates and Android</dc:creator>
		<pubDate>Fri, 22 Oct 2010 12:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2422</guid>
		<description>[...] you can find an &#8220;android version&#8221; of your library, you are very lucky (as I was for xstream). If not, you&#8217;ll have to create this android version yourself. Don&#8217;t forget to share it [...]</description>
		<content:encoded><![CDATA[<p>[...] you can find an &#8220;android version&#8221; of your library, you are very lucky (as I was for xstream). If not, you&#8217;ll have to create this android version yourself. Don&#8217;t forget to share it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: agherschon</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2419</link>
		<dc:creator>agherschon</dc:creator>
		<pubDate>Tue, 05 Oct 2010 12:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2419</guid>
		<description>Awesome work here ! Thank you very much !</description>
		<content:encoded><![CDATA[<p>Awesome work here ! Thank you very much !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Tu Dang</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2386</link>
		<dc:creator>Tu Dang</dc:creator>
		<pubDate>Mon, 23 Aug 2010 03:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2386</guid>
		<description>It&#039;s wonderful. Thank you very much for this.</description>
		<content:encoded><![CDATA[<p>It&#8217;s wonderful. Thank you very much for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Marco Schmitz</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2291</link>
		<dc:creator>Marco Schmitz</dc:creator>
		<pubDate>Tue, 09 Mar 2010 06:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2291</guid>
		<description>Thanks a lot for this. I know it&#039;s hard to reduce a framework to cope with android. I wrote a dependency tool myself in order to find out which classes do not fit. Can you explain how you reduced xstream?

Greetings,
Marco Schmitz,
Germany</description>
		<content:encoded><![CDATA[<p>Thanks a lot for this. I know it&#8217;s hard to reduce a framework to cope with android. I wrote a dependency tool myself in order to find out which classes do not fit. Can you explain how you reduced xstream?</p>
<p>Greetings,<br />
Marco Schmitz,<br />
Germany</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Android and XML De-/Serialization &#171; Monsieur Rask</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-2222</link>
		<dc:creator>Android and XML De-/Serialization &#171; Monsieur Rask</dc:creator>
		<pubDate>Mon, 21 Sep 2009 14:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-2222</guid>
		<description>[...] Here’s the Android port: http://jars.de/java/android-xml-serialization-with-xstream [...]</description>
		<content:encoded><![CDATA[<p>[...] Here’s the Android port: <a href="http://jars.de/java/android-xml-serialization-with-xstream" rel="nofollow">http://jars.de/java/android-xml-serialization-with-xstream</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Alexander</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1956</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Tue, 25 Nov 2008 14:15:44 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1956</guid>
		<description>Thank you for this effort. I use your XStream Android package 1.2.2 with success in my projects.
I created a jar file from your Java source (compiled with Java-5 on the Mac). This jar can be included in the build path and exported via the Order and Export tab in the build path configuration. In the SDK simulator this works correctly.

If somebody is interested in this jar, please let me know how to upload. Works fine!

Thanks again and all the best,
Alexander</description>
		<content:encoded><![CDATA[<p>Thank you for this effort. I use your XStream Android package 1.2.2 with success in my projects.<br />
I created a jar file from your Java source (compiled with Java-5 on the Mac). This jar can be included in the build path and exported via the Order and Export tab in the build path configuration. In the SDK simulator this works correctly.</p>
<p>If somebody is interested in this jar, please let me know how to upload. Works fine!</p>
<p>Thanks again and all the best,<br />
Alexander</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: redders</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1951</link>
		<dc:creator>redders</dc:creator>
		<pubDate>Thu, 13 Nov 2008 22:56:27 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1951</guid>
		<description>how do i actually use this?
previously when I used xstream i downloaded the .jar file and installed it via the prefrences&gt;librarys page..</description>
		<content:encoded><![CDATA[<p>how do i actually use this?<br />
previously when I used xstream i downloaded the .jar file and installed it via the prefrences&gt;librarys page..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Ralf</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1656</link>
		<dc:creator>Ralf</dc:creator>
		<pubDate>Thu, 03 Jul 2008 13:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1656</guid>
		<description>Hi Markus, 

we have a similar problem with xstream 1.3. It only happens sometimes: it seems to be a kind of magic!

What change did you made for the patch in version 1.2.2?

Thanks in advance for your help!</description>
		<content:encoded><![CDATA[<p>Hi Markus, </p>
<p>we have a similar problem with xstream 1.3. It only happens sometimes: it seems to be a kind of magic!</p>
<p>What change did you made for the patch in version 1.2.2?</p>
<p>Thanks in advance for your help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: dSelby</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1327</link>
		<dc:creator>dSelby</dc:creator>
		<pubDate>Sun, 24 Feb 2008 00:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1327</guid>
		<description>this is great, i used xstream in a non android project, it´s so easy to use, now as it is obviously working, i´m trying to use it with android , how do i integrate it ? as a jar ? haven´t included any 3rd party libs yet...</description>
		<content:encoded><![CDATA[<p>this is great, i used xstream in a non android project, it´s so easy to use, now as it is obviously working, i´m trying to use it with android , how do i integrate it ? as a jar ? haven´t included any 3rd party libs yet&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Markus Junginger</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1157</link>
		<dc:creator>Markus Junginger</dc:creator>
		<pubDate>Fri, 01 Feb 2008 10:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1157</guid>
		<description>I wonder if kXml will be supported officially, it&#039;s just an undocumented feature so far. Anyway, since it&#039;s a pull API, the XPP drivers (that I kicked out) might be a good starting point as they are a pull API, too.

The activity/process life cycle can get complex and it depends on exactly you are up to. If you just want to save the data while your process is running, you could store them simply in some static variables. But if data has to be persisted even if your process gets killed, you could also consider files, SQLite and so on. Standard Java serialization may be an option here, too. Using XML here does not really have any advantages here, since you do not share data with other applications. If you want to use XStream for this: there&#039;s also a binary format. Haven&#039;t looked into this, but I guess it should be notably faster and produce much more compact files. I would be interested in this.</description>
		<content:encoded><![CDATA[<p>I wonder if kXml will be supported officially, it&#8217;s just an undocumented feature so far. Anyway, since it&#8217;s a pull API, the XPP drivers (that I kicked out) might be a good starting point as they are a pull API, too.</p>
<p>The activity/process life cycle can get complex and it depends on exactly you are up to. If you just want to save the data while your process is running, you could store them simply in some static variables. But if data has to be persisted even if your process gets killed, you could also consider files, SQLite and so on. Standard Java serialization may be an option here, too. Using XML here does not really have any advantages here, since you do not share data with other applications. If you want to use XStream for this: there&#8217;s also a binary format. Haven&#8217;t looked into this, but I guess it should be notably faster and produce much more compact files. I would be interested in this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Amos</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1154</link>
		<dc:creator>Amos</dc:creator>
		<pubDate>Fri, 01 Feb 2008 09:44:35 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1154</guid>
		<description>My mistake: it&#039;s &quot;kxml&quot;, not &quot;kml&quot;.
There&#039;s an xml parser called kxml2. It seems to be included in android.jar (org.kxml2.*) - open android.jar under &quot;Referenced Libraries&quot; in any Eclipse Android project, and it&#039;s there. 
Info at http://kxml.sourceforge.net/about.shtml . 
Seems to be a lightweight and fast parser, maybe that&#039;s what android is using to do it&#039;s xml parsing?

I haven&#039;t tried it yet myself, but maybe this parser works well and can be used instead of XStream&#039;s DOM driver. This can perhaps reduce the size of the package even further.

I&#039;ve been working with XStream, their DomDriver and custom converters I created (which will probably not be required anymore, when I use your package). Performance seems fine so far, but maybe kxml can go even faster.
I&#039;ve started thinking about using xstream to serialize objects as strings and put them in Bundles when I need to save my Activity state when it is suspended (and work around the current android limitation which allows only strings and ints in bundles). Speed is more important in this case, and maybe kxml will have an advantage there.

I haven&#039;t tried these things out yet so I&#039;m not comfortable talking about stuff I haven&#039;t actually done (and I&#039;m also new to the xml parsing and serialization world). I&#039;ll play around with your package and see how it goes.
If you see that kxml can help you, that could be great. And thanks for sharing your work!</description>
		<content:encoded><![CDATA[<p>My mistake: it&#8217;s &#8220;kxml&#8221;, not &#8220;kml&#8221;.<br />
There&#8217;s an xml parser called kxml2. It seems to be included in android.jar (org.kxml2.*) &#8211; open android.jar under &#8220;Referenced Libraries&#8221; in any Eclipse Android project, and it&#8217;s there.<br />
Info at <a href="http://kxml.sourceforge.net/about.shtml" rel="nofollow">http://kxml.sourceforge.net/about.shtml</a> .<br />
Seems to be a lightweight and fast parser, maybe that&#8217;s what android is using to do it&#8217;s xml parsing?</p>
<p>I haven&#8217;t tried it yet myself, but maybe this parser works well and can be used instead of XStream&#8217;s DOM driver. This can perhaps reduce the size of the package even further.</p>
<p>I&#8217;ve been working with XStream, their DomDriver and custom converters I created (which will probably not be required anymore, when I use your package). Performance seems fine so far, but maybe kxml can go even faster.<br />
I&#8217;ve started thinking about using xstream to serialize objects as strings and put them in Bundles when I need to save my Activity state when it is suspended (and work around the current android limitation which allows only strings and ints in bundles). Speed is more important in this case, and maybe kxml will have an advantage there.</p>
<p>I haven&#8217;t tried these things out yet so I&#8217;m not comfortable talking about stuff I haven&#8217;t actually done (and I&#8217;m also new to the xml parsing and serialization world). I&#8217;ll play around with your package and see how it goes.<br />
If you see that kxml can help you, that could be great. And thanks for sharing your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Markus Junginger</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1153</link>
		<dc:creator>Markus Junginger</dc:creator>
		<pubDate>Fri, 01 Feb 2008 09:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1153</guid>
		<description>Hi Amos, thanks for the feedback. What exactly do you mean by &quot;slow&quot;? Reading? Writing? How large are your data sets? With some simple data objects, it was about 30ms in the emulator for writing a file including the IO. Which is OK for typical apps, I think. Haven&#039;t measured reading the data back in though.

I kicked out the other drivers except the DOM driver because I prioritized size over performance. XPP would have been faster, but would have introduced another dependency.

I haven&#039;t heard of a Kml parser, yet. Could you point me to some resources? Thanks!</description>
		<content:encoded><![CDATA[<p>Hi Amos, thanks for the feedback. What exactly do you mean by &#8220;slow&#8221;? Reading? Writing? How large are your data sets? With some simple data objects, it was about 30ms in the emulator for writing a file including the IO. Which is OK for typical apps, I think. Haven&#8217;t measured reading the data back in though.</p>
<p>I kicked out the other drivers except the DOM driver because I prioritized size over performance. XPP would have been faster, but would have introduced another dependency.</p>
<p>I haven&#8217;t heard of a Kml parser, yet. Could you point me to some resources? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Amos</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1151</link>
		<dc:creator>Amos</dc:creator>
		<pubDate>Fri, 01 Feb 2008 06:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1151</guid>
		<description>Thanks Markus, that&#039;s awesome!

What XML parser would you recommend using XStream on Android with?

I currently use XStream DomDriver for compatability, but I understand that it is a bit slow. Have you tried this with the Kml parser that&#039;s included with android? Other suggestions perhaps?</description>
		<content:encoded><![CDATA[<p>Thanks Markus, that&#8217;s awesome!</p>
<p>What XML parser would you recommend using XStream on Android with?</p>
<p>I currently use XStream DomDriver for compatability, but I understand that it is a bit slow. Have you tried this with the Kml parser that&#8217;s included with android? Other suggestions perhaps?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Markus Junginger</title>
		<link>http://jars.de/java/android-xml-serialization-with-xstream/comment-page-1#comment-1114</link>
		<dc:creator>Markus Junginger</dc:creator>
		<pubDate>Mon, 28 Jan 2008 14:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://jars.de/java/android-xml-serialization-with-xstream#comment-1114</guid>
		<description>Yes, it&#039;s still BSD license - have a look at the license.txt file in the archive.</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s still BSD license &#8211; have a look at the license.txt file in the archive.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

