<?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>Comments for iPhone Java</title>
	<atom:link href="http://www.iphonejava.org/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iphonejava.org</link>
	<description>Create iPhone/iPad Applications using Java</description>
	<lastBuildDate>Fri, 19 Oct 2012 07:58:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Comment on iPhone Java project kicks off! by Mohammad Kamran</title>
		<link>http://www.iphonejava.org/2011/07/iphone-java-project-kicks-off/#comment-123</link>
		<dc:creator>Mohammad Kamran</dc:creator>
		<pubDate>Fri, 19 Oct 2012 07:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=7#comment-123</guid>
		<description>Great step towards innovation , best of luck !!</description>
		<content:encoded><![CDATA[<p>Great step towards innovation , best of luck !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhoneJava version 0.2.1 released by dan</title>
		<link>http://www.iphonejava.org/2011/09/iphonejava-version-0-2-1-released/#comment-98</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Fri, 03 Feb 2012 00:22:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=89#comment-98</guid>
		<description>No changes required... it just worked</description>
		<content:encoded><![CDATA[<p>No changes required&#8230; it just worked</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhoneJava version 0.2.1 released by urish</title>
		<link>http://www.iphonejava.org/2011/09/iphonejava-version-0-2-1-released/#comment-97</link>
		<dc:creator>urish</dc:creator>
		<pubDate>Tue, 31 Jan 2012 20:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=89#comment-97</guid>
		<description>Hi Dan,

Indeed, UIBinder does not support the Titanium widgets. Could you send us the changes to make it work with GWT 2.4 ? We will include it in the subsequent release.</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>Indeed, UIBinder does not support the Titanium widgets. Could you send us the changes to make it work with GWT 2.4 ? We will include it in the subsequent release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhoneJava version 0.2.1 released by dan</title>
		<link>http://www.iphonejava.org/2011/09/iphonejava-version-0-2-1-released/#comment-96</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Tue, 31 Jan 2012 16:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=89#comment-96</guid>
		<description>UiBinder is not usable with the current incarnation of this product I have found.</description>
		<content:encoded><![CDATA[<p>UiBinder is not usable with the current incarnation of this product I have found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on iPhoneJava version 0.2.1 released by dan</title>
		<link>http://www.iphonejava.org/2011/09/iphonejava-version-0-2-1-released/#comment-95</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Sat, 28 Jan 2012 01:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=89#comment-95</guid>
		<description>this is a very cool project. I got it up and running on android and iphone with Ti 1.8 and gwt 2.4... pretty great!

Questions... Is it possible to use UIBinder? When is 2.2 going to go out?</description>
		<content:encoded><![CDATA[<p>this is a very cool project. I got it up and running on android and iphone with Ti 1.8 and gwt 2.4&#8230; pretty great!</p>
<p>Questions&#8230; Is it possible to use UIBinder? When is 2.2 going to go out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.1.0 released, available on Maven Central by urish</title>
		<link>http://www.iphonejava.org/2011/08/version-0-1-0-released-available-on-maven-central/#comment-38</link>
		<dc:creator>urish</dc:creator>
		<pubDate>Sun, 04 Sep 2011 18:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=81#comment-38</guid>
		<description>That&#039;s great! 

You may want to check my other project: http://www.SalsaBeatMachine.org/

Where are you located?</description>
		<content:encoded><![CDATA[<p>That&#8217;s great! </p>
<p>You may want to check my other project: <a href="http://www.SalsaBeatMachine.org/" rel="nofollow">http://www.SalsaBeatMachine.org/</a></p>
<p>Where are you located?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.1.0 released, available on Maven Central by urish</title>
		<link>http://www.iphonejava.org/2011/08/version-0-1-0-released-available-on-maven-central/#comment-37</link>
		<dc:creator>urish</dc:creator>
		<pubDate>Sun, 04 Sep 2011 18:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=81#comment-37</guid>
		<description>I think that the JS code can be easily reused in most non-browser javascript platforms (air, nodejs, etc), as it requires some form of synchronous socket communication to function correctly.

There isn&#039;t any complete technical reference, but this reference should serve as a good starting point:
http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM

For the most part, I used their source code. One of the more interesting classes is available here:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannel.java

This class contains the server-side of the hosted mode and has inner classes for all the protocol messages.

I am going to add you to skype.</description>
		<content:encoded><![CDATA[<p>I think that the JS code can be easily reused in most non-browser javascript platforms (air, nodejs, etc), as it requires some form of synchronous socket communication to function correctly.</p>
<p>There isn&#8217;t any complete technical reference, but this reference should serve as a good starting point:<br />
<a href="http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM" rel="nofollow">http://code.google.com/p/google-web-toolkit/wiki/DesignOOPHM</a></p>
<p>For the most part, I used their source code. One of the more interesting classes is available here:<br />
<a href="http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannel.java" rel="nofollow">http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannel.java</a></p>
<p>This class contains the server-side of the hosted mode and has inner classes for all the protocol messages.</p>
<p>I am going to add you to skype.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.1.0 released, available on Maven Central by Ariel Scarpinelli</title>
		<link>http://www.iphonejava.org/2011/08/version-0-1-0-released-available-on-maven-central/#comment-36</link>
		<dc:creator>Ariel Scarpinelli</dc:creator>
		<pubDate>Sat, 03 Sep 2011 20:14:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=81#comment-36</guid>
		<description>PS: I Love salsa too!</description>
		<content:encoded><![CDATA[<p>PS: I Love salsa too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.1.0 released, available on Maven Central by Ariel Scarpinelli</title>
		<link>http://www.iphonejava.org/2011/08/version-0-1-0-released-available-on-maven-central/#comment-35</link>
		<dc:creator>Ariel Scarpinelli</dc:creator>
		<pubDate>Sat, 03 Sep 2011 13:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=81#comment-35</guid>
		<description>Ok, so you went the JS way to implement it. You could actually sell it to google then so no more plugins are required to run hosted mode. 

I&#039;ll checkout the code and start fooling around with it. Do you have any links describing the hosted mode protocol. I couldn&#039;t found any. Or you did all the work by looking at gwt source?.


Add me to skype: ariel.scarpinelli</description>
		<content:encoded><![CDATA[<p>Ok, so you went the JS way to implement it. You could actually sell it to google then so no more plugins are required to run hosted mode. </p>
<p>I&#8217;ll checkout the code and start fooling around with it. Do you have any links describing the hosted mode protocol. I couldn&#8217;t found any. Or you did all the work by looking at gwt source?.</p>
<p>Add me to skype: ariel.scarpinelli</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Version 0.1.0 released, available on Maven Central by urish</title>
		<link>http://www.iphonejava.org/2011/08/version-0-1-0-released-available-on-maven-central/#comment-34</link>
		<dc:creator>urish</dc:creator>
		<pubDate>Sat, 03 Sep 2011 00:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonejava.org/?p=81#comment-34</guid>
		<description>@Ariel Cool to see other people interested in the hosted mode as well. I agree it will be very nice to have it (debugging with prints and alerts isn&#039;t much fun), and in fact I have already got some working code.

The general idea is to create a javascript wrapper that connects to the hosted mode service and implements the protocol gwt uses for the hosted mode. This wrapper will perform all the necessary operations to make sure the hosted mode code will have complete access to the device&#039;s javascript VM, very similar to how it works in browsers. The current code is already available on the github repository, though it is not production-ready yet.

There are still some outstanding issues, for example:
- Changing the way constants work. Currently, all constant values are evaluated when a wrapper Java class is loaded. This causes many round trips and increases the application startup time in hosted mode. Constants must be changed to lazy.
- Implementing getters and setters for java object properties in hosted mode. Since javascript does not support catch-all getter/setter methods this would either require some tweaks in the hosted-mode server code, either some javascript magic (perhaps with a native code proxy) to support their scenario.
- Automatic download of the application&#039;s assets - unlike web environment, we can&#039;t rely on the platform to download the assets from the hosted mode server for us, and we must support this in some way. I have a few ideas, but I first want to get the basic code execution running.


So what&#039;s already working?
Starting a simple application and debugging it should work with the current code. As long as you don&#039;t call java getters in JSNI and don&#039;t need any assets your application should work in the hosted mode.

The hosted mode actually brings an advantage over vanilla titanium: You can use it to debug your application on a real device, even remotely!

If you are willing to help in this project, please let me know and we will see how this can be accomplished. There is still a lot to do, so your help can definitely make things go faster.</description>
		<content:encoded><![CDATA[<p>@Ariel Cool to see other people interested in the hosted mode as well. I agree it will be very nice to have it (debugging with prints and alerts isn&#8217;t much fun), and in fact I have already got some working code.</p>
<p>The general idea is to create a javascript wrapper that connects to the hosted mode service and implements the protocol gwt uses for the hosted mode. This wrapper will perform all the necessary operations to make sure the hosted mode code will have complete access to the device&#8217;s javascript VM, very similar to how it works in browsers. The current code is already available on the github repository, though it is not production-ready yet.</p>
<p>There are still some outstanding issues, for example:<br />
- Changing the way constants work. Currently, all constant values are evaluated when a wrapper Java class is loaded. This causes many round trips and increases the application startup time in hosted mode. Constants must be changed to lazy.<br />
- Implementing getters and setters for java object properties in hosted mode. Since javascript does not support catch-all getter/setter methods this would either require some tweaks in the hosted-mode server code, either some javascript magic (perhaps with a native code proxy) to support their scenario.<br />
- Automatic download of the application&#8217;s assets &#8211; unlike web environment, we can&#8217;t rely on the platform to download the assets from the hosted mode server for us, and we must support this in some way. I have a few ideas, but I first want to get the basic code execution running.</p>
<p>So what&#8217;s already working?<br />
Starting a simple application and debugging it should work with the current code. As long as you don&#8217;t call java getters in JSNI and don&#8217;t need any assets your application should work in the hosted mode.</p>
<p>The hosted mode actually brings an advantage over vanilla titanium: You can use it to debug your application on a real device, even remotely!</p>
<p>If you are willing to help in this project, please let me know and we will see how this can be accomplished. There is still a lot to do, so your help can definitely make things go faster.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
