<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/" 
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
	xmlns:admin="http://webns.net/mvcb/" 
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/" 
	xmlns:atom="http://www.w3.org/2005/Atom">
	
	<channel>
	
		<title>Remote JavaScript Debugging on Android</title>
		<link>http://www.sencha.com/blog/remote-javascript-debugging-on-android</link>
		<description>Developers often run into debugging hurdles when testing web pages for Android mobile devices. And, while the Android Developers Guide provides a solution, it&#8217;s a bit cumbersome and complex. In this article, our WebKit team provides a better solution called RemoteJS.</description>
		<dc:language>en-us</dc:language>
		<dc:creator>helder@sencha.com</dc:creator>
		<dc:rights>Copyright 2010</dc:rights>
		<dc:date>2010-11-05T17:26:34+00:00</dc:date>
		<admin:generatorAgent rdf:resource="http://expressionengine.com/" />
		<atom:link href="http://www.sencha.com/blog/comments-rss/666" rel="self" type="application/rss+xml" />
  
		
  
		<item>
      <title>Comment by moncherion</title>
      <description>This tool seems very powerful</description>
      <content:encoded><![CDATA[<p>This tool seems very powerful</p>]]></content:encoded>
      <pubDate>Fri, 01 Jul 2011 16:38 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:23672#date:16:38</guid>
    </item>
  
		<item>
      <title>Comment by Blue</title>
      <description>Gee whiz, and I tohguht this would be hard to find out.</description>
      <content:encoded><![CDATA[<p>Gee whiz, and I tohguht this would be hard to find out.</p>]]></content:encoded>
      <pubDate>Mon, 27 Jun 2011 16:51 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:23491#date:16:51</guid>
    </item>
  
		<item>
      <title>Comment by Matt Hansen</title>
      <description>It looks like the structure of Qt may have changed.&amp;nbsp; When I follow these steps, I get an error stating: 


 qmake &amp;amp;&amp;amp; make
g++ &#45;c &#45;m64 &#45;pipe &#45;O2 &#45;fmessage&#45;length=0 &#45;O2 &#45;Wall &#45;D_FORTIFY_SOURCE=2 &#45;fstack&#45;protector &#45;funwind&#45;tables &#45;fasynchronous&#45;unwind&#45;tables &#45;g &#45;Wall &#45;W &#45;D_REENTRANT &#45;DQT_NO_DEBUG &#45;DQT_WEBKIT_LIB &#45;DQT_GUI_LIB &#45;DQT_NETWORK_LIB &#45;DQT_CORE_LIB &#45;DQT_SHARED &#45;I/usr/share/qt4/mkspecs/default &#45;I. &#45;I/usr/include/QtCore &#45;I/usr/include/QtNetwork &#45;I/usr/include/QtGui &#45;I/usr/include/QtWebKit &#45;I/usr/include &#45;I. &#45;o remotejs.o remotejs.cpp
remotejs.cpp:24:20: error: QtWebKit: No such file or directory
remotejs.cpp: In member function ‘void RemoteConsole::openUrl(const QString&amp;amp;)’:
remotejs.cpp:246: error: ‘fromUserInput’ is not a member of ‘QUrl’
remotejs.cpp: In function ‘int main(int, char**)’:
remotejs.cpp:298: error: ‘QWebView’ was not declared in this scope
remotejs.cpp:298: error: expected ‘;’ before ‘webView’
remotejs.cpp:299: error: ‘webView’ was not declared in this scope
remotejs.cpp:300: error: ‘QWebSettings’ has not been declared
make: *** [remotejs.o] Error 1</description>
      <content:encoded><![CDATA[<p>It looks like the structure of Qt may have changed.&nbsp; When I follow these steps, I get an error stating: </p>

<p><br />
 qmake &amp;&amp; make<br />
g++ -c -m64 -pipe -O2 -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtWebKit -I/usr/include -I. -o remotejs.o remotejs.cpp<br />
remotejs.cpp:24:20: error: QtWebKit: No such file or directory<br />
remotejs.cpp: In member function ‘void RemoteConsole::openUrl(const QString&amp;)’:<br />
remotejs.cpp:246: error: ‘fromUserInput’ is not a member of ‘QUrl’<br />
remotejs.cpp: In function ‘int main(int, char**)’:<br />
remotejs.cpp:298: error: ‘QWebView’ was not declared in this scope<br />
remotejs.cpp:298: error: expected ‘;’ before ‘webView’<br />
remotejs.cpp:299: error: ‘webView’ was not declared in this scope<br />
remotejs.cpp:300: error: ‘QWebSettings’ has not been declared<br />
make: *** [remotejs.o] Error 1</p>

]]></content:encoded>
      <pubDate>Sun, 24 Apr 2011 19:02 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:19980#date:19:02</guid>
    </item>
  
		<item>
      <title>Comment by frank</title>
      <description>Really powerful!</description>
      <content:encoded><![CDATA[<p>Really powerful!</p>]]></content:encoded>
      <pubDate>Tue, 08 Mar 2011 00:34 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:18055#date:00:34</guid>
    </item>
  
		<item>
      <title>Comment by Pierre&#45;Antoine LaFayette</title>
      <description>Cool tool</description>
      <content:encoded><![CDATA[<p>Cool tool <img src="/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" /></p>]]></content:encoded>
      <pubDate>Tue, 18 Jan 2011 19:23 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16495#date:19:23</guid>
    </item>
  
		<item>
      <title>Comment by Timo</title>
      <description>Does RemoteJS support window.applicationCache ? I keep getting null back. Does it support jQuery completely?</description>
      <content:encoded><![CDATA[<p>Does RemoteJS support window.applicationCache ? I keep getting null back. Does it support jQuery completely?</p>]]></content:encoded>
      <pubDate>Mon, 06 Dec 2010 08:00 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16494#date:08:00</guid>
    </item>
  
		<item>
      <title>Comment by Tnainani</title>
      <description>@Helder: Thanks for the tip. Yup, that works for now.</description>
      <content:encoded><![CDATA[<p>@Helder: Thanks for the tip. Yup, that works for now.</p>]]></content:encoded>
      <pubDate>Sat, 20 Nov 2010 00:41 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16493#date:00:41</guid>
    </item>
  
		<item>
      <title>Comment by Helder Correia</title>
      <description>@Tnainani: you can try &#8220;compiling&#8221; your long JS code into a single line file. That should work, but can&#8217;t guarantee that it will do due to the way this tool works. That&#8217;s, among a couple other factors, is because of the size limitation of the string you can input as an address to a browser. A better approach would be compiling your code down to a file that isolates all logical blocks in one short enough single line (i.e. an entire &#8216;if&#8217; block goes into one single line, same for &#8216;while&#8217; and &#8216;for&#8217; loops, etc). Finally, you could just open a web page that contains your code, and then you could inspect it. Could that work for your use case?</description>
      <content:encoded><![CDATA[<p>@Tnainani: you can try &#8220;compiling&#8221; your long JS code into a single line file. That should work, but can&#8217;t guarantee that it will do due to the way this tool works. That&#8217;s, among a couple other factors, is because of the size limitation of the string you can input as an address to a browser. A better approach would be compiling your code down to a file that isolates all logical blocks in one short enough single line (i.e. an entire &#8216;if&#8217; block goes into one single line, same for &#8216;while&#8217; and &#8216;for&#8217; loops, etc). Finally, you could just open a web page that contains your code, and then you could inspect it. Could that work for your use case?</p>]]></content:encoded>
      <pubDate>Fri, 19 Nov 2010 03:55 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16492#date:03:55</guid>
    </item>
  
		<item>
      <title>Comment by Tnainani</title>
      <description>Grt stuff guys!

I was wondering if you can pass JavaScript file to the remotejs and get output back?

for example

$remotejs &amp;lt; test.js 

or 

$./remotejs.py &amp;lt; test.js</description>
      <content:encoded><![CDATA[<p>Grt stuff guys!</p>

<p>I was wondering if you can pass JavaScript file to the remotejs and get output back?</p>

<p>for example</p>

<p>$remotejs &lt; test.js </p>

<p>or </p>

<p>$./remotejs.py &lt; test.js</p>]]></content:encoded>
      <pubDate>Thu, 18 Nov 2010 22:21 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16491#date:22:21</guid>
    </item>
  
		<item>
      <title>Comment by ddenis</title>
      <description>nice Helder!</description>
      <content:encoded><![CDATA[<p>nice Helder!</p>]]></content:encoded>
      <pubDate>Sat, 06 Nov 2010 20:12 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16490#date:20:12</guid>
    </item>
  
		<item>
      <title>Comment by Ronald Widha</title>
      <description>awesome stuff guys!</description>
      <content:encoded><![CDATA[<p>awesome stuff guys!</p>]]></content:encoded>
      <pubDate>Sat, 06 Nov 2010 06:12 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16489#date:06:12</guid>
    </item>
  
		<item>
      <title>Comment by Helder Correia</title>
      <description>@Arno.Nyhm: iPhone support might come in the future.&amp;nbsp; For now, this is only for Android.</description>
      <content:encoded><![CDATA[<p>@Arno.Nyhm: iPhone support might come in the future.&nbsp; For now, this is only for Android.</p>]]></content:encoded>
      <pubDate>Fri, 05 Nov 2010 22:19 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16488#date:22:19</guid>
    </item>
  
		<item>
      <title>Comment by Arno.Nyhm</title>
      <description>its also working on iPhone?</description>
      <content:encoded><![CDATA[<p>its also working on iPhone?</p>]]></content:encoded>
      <pubDate>Fri, 05 Nov 2010 22:02 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16487#date:22:02</guid>
    </item>
  
		<item>
      <title>Comment by Immobilier</title>
      <description>Wow !

How many people are working in Sencha labs ?

You are releasing a lot of projects !

This tool seems great, thank you.</description>
      <content:encoded><![CDATA[<p>Wow !</p>

<p>How many people are working in Sencha labs ?</p>

<p>You are releasing a lot of projects !</p>

<p>This tool seems great, thank you.</p>]]></content:encoded>
      <pubDate>Fri, 05 Nov 2010 21:26 GMT</pubDate>
      <guid isPermaLink="false">http://www.sencha.com/blog//remote-javascript-debugging-on-android#id:16486#date:21:26</guid>
    </item>
  
		
	</channel>
</rss>