<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Android - Ruby on Rails Project Part 2: Some simple SAX parsing</title>
	<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/</link>
	<description>My eclectic journey into the blogosphere</description>
	<pubDate>Fri, 18 May 2012 18:01:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: michael</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-271</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Sat, 13 Dec 2008 00:08:25 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-271</guid>
		<description>Mariano,

Thanks for the comment.  I've been doing Java development for about 10 years now, and using the XML parsing APIs for about 6, so it come pretty naturally.  I haven't done a whole lot of XML parsing in Ruby and have only been doing side projects in RoR on and off for the last year or 2.  I will state 100% though...IMHO... Ruby on Rails kicks butt on Java web development.  I've been on a JBoss project for the last 6 months or so and it's been very challenging learning curve when compared to the amount of effort it took to get going with Ruby on Rails.  I understand that it's not exactly comparing apples to apples, but getting my first prototype up and running in Rails was much faster then the equivalent work in a Java web environment.

I've actually been really enjoying using Java and Android.  I believe Google has done a great first pass at a product/framework that gives mobile developers a great platform to launch their applications from.

cheers
- michael</description>
		<content:encoded><![CDATA[<p>Mariano,</p>
<p>Thanks for the comment.  I&#8217;ve been doing Java development for about 10 years now, and using the XML parsing APIs for about 6, so it come pretty naturally.  I haven&#8217;t done a whole lot of XML parsing in Ruby and have only been doing side projects in RoR on and off for the last year or 2.  I will state 100% though&#8230;IMHO&#8230; Ruby on Rails kicks butt on Java web development.  I&#8217;ve been on a JBoss project for the last 6 months or so and it&#8217;s been very challenging learning curve when compared to the amount of effort it took to get going with Ruby on Rails.  I understand that it&#8217;s not exactly comparing apples to apples, but getting my first prototype up and running in Rails was much faster then the equivalent work in a Java web environment.</p>
<p>I&#8217;ve actually been really enjoying using Java and Android.  I believe Google has done a great first pass at a product/framework that gives mobile developers a great platform to launch their applications from.</p>
<p>cheers<br />
- michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mariano Kamp</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-268</link>
		<dc:creator>Mariano Kamp</dc:creator>
		<pubDate>Fri, 12 Dec 2008 23:20:12 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-268</guid>
		<description>Nice one again, Michael.

I have to ask though. How is it working with Java and XML, after you found out how programming could be, i.e. Ruby/Rails?

I am in a similar position and left Java mostly behind me until Android. And I have to say that I often feel suicidal when dealing with Java nowadays.

Hopefully there will be a Ruby to DEX compiler someday, or Groovy, or Python, or Lua, or JavaScript.</description>
		<content:encoded><![CDATA[<p>Nice one again, Michael.</p>
<p>I have to ask though. How is it working with Java and XML, after you found out how programming could be, i.e. Ruby/Rails?</p>
<p>I am in a similar position and left Java mostly behind me until Android. And I have to say that I often feel suicidal when dealing with Java nowadays.</p>
<p>Hopefully there will be a Ruby to DEX compiler someday, or Groovy, or Python, or Lua, or JavaScript.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android - Ruby on Rails app, setup and HttpClient hello world - mgmblog.com</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-255</link>
		<dc:creator>Android - Ruby on Rails app, setup and HttpClient hello world - mgmblog.com</dc:creator>
		<pubDate>Thu, 11 Dec 2008 20:33:18 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-255</guid>
		<description>[...] Part 2- SAX Parsing  [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Part 2- SAX Parsing  [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emrah</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-247</link>
		<dc:creator>Emrah</dc:creator>
		<pubDate>Fri, 05 Dec 2008 09:49:02 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-247</guid>
		<description>Hi Michael!

I have solve it. There were many little faults and they lead to the problems :-). But especially the rails security option "protect_from_forgery" was the biggest "problem".

Regards,
Emrah</description>
		<content:encoded><![CDATA[<p>Hi Michael!</p>
<p>I have solve it. There were many little faults and they lead to the problems :-). But especially the rails security option &#8220;protect_from_forgery&#8221; was the biggest &#8220;problem&#8221;.</p>
<p>Regards,<br />
Emrah</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android - Ruby on Rails Project Part 3: Using Android Cursors - mgmblog.com</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-239</link>
		<dc:creator>Android - Ruby on Rails Project Part 3: Using Android Cursors - mgmblog.com</dc:creator>
		<pubDate>Tue, 25 Nov 2008 06:16:24 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-239</guid>
		<description>[...] Part 2 - Sax Parsing [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Part 2 - Sax Parsing [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-231</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Tue, 18 Nov 2008 04:53:37 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-231</guid>
		<description>Hey Emrah,
I'm assuming you cannot POST a file.  But the only time I've uploaded a file to a Rails website, I used the upload functionality provided by Rails.  It doesn't sound like you want to do that though.  You may have to open a separate socket on the server to accept file uploads.
My only other words of advice would be to post a question on the Android Developer forum or take a look at the Downloader example from the Android Developer blog, maybe there a hint there on how to do the opposite uploading,
http://android-developers.blogspot.com/2008/09/three-new-samples-triangle-spritetext.html
The code can be seen here,
http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader

Good luck, would love to hear if you have any success, maybe I'll have to try it when I get some time.

Cheers,
michael</description>
		<content:encoded><![CDATA[<p>Hey Emrah,<br />
I&#8217;m assuming you cannot POST a file.  But the only time I&#8217;ve uploaded a file to a Rails website, I used the upload functionality provided by Rails.  It doesn&#8217;t sound like you want to do that though.  You may have to open a separate socket on the server to accept file uploads.<br />
My only other words of advice would be to post a question on the Android Developer forum or take a look at the Downloader example from the Android Developer blog, maybe there a hint there on how to do the opposite uploading,<br />
<a href="http://android-developers.blogspot.com/2008/09/three-new-samples-triangle-spritetext.html" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/android-developers.blogspot.com');">http://android-developers.blogspot.com/2008/09/three-new-samples-triangle-spritetext.html</a><br />
The code can be seen here,<br />
<a href="http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader" rel="nofollow" onclick="javascript:pageTracker._trackPageview ('/outbound/code.google.com');">http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Samples/Downloader</a></p>
<p>Good luck, would love to hear if you have any success, maybe I&#8217;ll have to try it when I get some time.</p>
<p>Cheers,<br />
michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emrah</title>
		<link>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-230</link>
		<dc:creator>Emrah</dc:creator>
		<pubDate>Tue, 18 Nov 2008 01:12:36 +0000</pubDate>
		<guid>http://mgmblog.com/2008/11/11/android-ruby-on-rails-project-part-2-some-simple-sax-parsing/#comment-230</guid>
		<description>Hi Michael,
I am currently working on a project, that uses Android and Rails as you do. My goal is to write a web-application based on Rails (with RESTful service) that makes it possible for users to post information with their Android mobile phones. 
But I have a problem, and maybe you can help me: users should have the possibility to add a picture to their post, unfortunately this doesn't work so far. I have tried out many ways, but without success. 

Have you got any hints or ideas how I can solve this problem? That would be great. If desired I can send you detailed informations like code-fragments,...
Thank you in advance!

Regards
Emrah</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
I am currently working on a project, that uses Android and Rails as you do. My goal is to write a web-application based on Rails (with RESTful service) that makes it possible for users to post information with their Android mobile phones.<br />
But I have a problem, and maybe you can help me: users should have the possibility to add a picture to their post, unfortunately this doesn&#8217;t work so far. I have tried out many ways, but without success. </p>
<p>Have you got any hints or ideas how I can solve this problem? That would be great. If desired I can send you detailed informations like code-fragments,&#8230;<br />
Thank you in advance!</p>
<p>Regards<br />
Emrah</p>
]]></content:encoded>
	</item>
</channel>
</rss>

