<?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 Zac Vineyard's Blog</title>
	<atom:link href="http://zacvineyard.com/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://zacvineyard.com/blog</link>
	<description>code, design, videos, and other nonsense</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:57:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Katrina</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2728</link>
		<dc:creator>Katrina</dc:creator>
		<pubDate>Fri, 03 Feb 2012 20:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2728</guid>
		<description>The fileWriter code does work correctly (images are uploaded and not corrupted) from the iphone.</description>
		<content:encoded><![CDATA[<p>The fileWriter code does work correctly (images are uploaded and not corrupted) from the iphone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Katrina</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2727</link>
		<dc:creator>Katrina</dc:creator>
		<pubDate>Fri, 03 Feb 2012 18:01:42 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2727</guid>
		<description>When I use an iphone the server says Can not decode string: .....
The input string is not base64-encoded.</description>
		<content:encoded><![CDATA[<p>When I use an iphone the server says Can not decode string: &#8230;..<br />
The input string is not base64-encoded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Mikel</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2726</link>
		<dc:creator>Mikel</dc:creator>
		<pubDate>Fri, 03 Feb 2012 16:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2726</guid>
		<description>Hi, forget my last comment, to get the text you only need to use $_POST[&quot;value1&quot;]

This works well in phonegap 1.4.0 for android.

In iphone, i am trying with the same code that i have with android and is not working. When I press the &quot;upload photo&quot; button, anything happens.

Someone can help me?

thanks!</description>
		<content:encoded><![CDATA[<p>Hi, forget my last comment, to get the text you only need to use $_POST["value1"]</p>
<p>This works well in phonegap 1.4.0 for android.</p>
<p>In iphone, i am trying with the same code that i have with android and is not working. When I press the &#8220;upload photo&#8221; button, anything happens.</p>
<p>Someone can help me?</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Katrina</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2725</link>
		<dc:creator>Katrina</dc:creator>
		<pubDate>Thu, 02 Feb 2012 17:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2725</guid>
		<description>Hi, I am trying this. I get back 200 status code. The bytes are correct. But the image file on the server is corrupted and cannot be viewed (it goes to my websites 404 handler). I am using Phonegap 1.3 on Blackberry OS 6.
Here is my code:
				
var options = new FileUploadOptions();
options.fileKey=&quot;file&quot;;
options.fileName=imageURI.substr(imageURI.lastIndexOf(&#039;/&#039;)+1);
options.mimeType=&quot;image/jpeg&quot;;

var params = new Object();
params.username = username;
params.staff_id = staff_id;
params.Evaluation_UUID = results.rows.item(i).Evaluation_UUID;
params.file_name = options.fileName;

options.params = params;
options.chunkedMode = false;

alert(&quot;test before ft&quot;)
var ft = new FileTransfer();

ft.upload(imageURI, urlPushPhoto, function(r){
	alert(&quot;FileTransfer Code = &quot; + r.responseCode);
	alert(&quot;FileTransfer Response = &quot; + r.response);
	alert(&quot;Sent = &quot; + r.bytesSent);
}, function(error){
	alert(&quot;An error has occurred: Code = &quot; + error.code);

}, options);	

Alternatively, I am trying to send the Base64 data as json but when attempting to convert back to an image I get the following error:
Invalid JPEG file structure: SOS before SOF 

I&#039;d be happy to get it to work either way.

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi, I am trying this. I get back 200 status code. The bytes are correct. But the image file on the server is corrupted and cannot be viewed (it goes to my websites 404 handler). I am using Phonegap 1.3 on Blackberry OS 6.<br />
Here is my code:</p>
<p>var options = new FileUploadOptions();<br />
options.fileKey=&#8221;file&#8221;;<br />
options.fileName=imageURI.substr(imageURI.lastIndexOf(&#8216;/&#8217;)+1);<br />
options.mimeType=&#8221;image/jpeg&#8221;;</p>
<p>var params = new Object();<br />
params.username = username;<br />
params.staff_id = staff_id;<br />
params.Evaluation_UUID = results.rows.item(i).Evaluation_UUID;<br />
params.file_name = options.fileName;</p>
<p>options.params = params;<br />
options.chunkedMode = false;</p>
<p>alert(&#8220;test before ft&#8221;)<br />
var ft = new FileTransfer();</p>
<p>ft.upload(imageURI, urlPushPhoto, function(r){<br />
	alert(&#8220;FileTransfer Code = &#8221; + r.responseCode);<br />
	alert(&#8220;FileTransfer Response = &#8221; + r.response);<br />
	alert(&#8220;Sent = &#8221; + r.bytesSent);<br />
}, function(error){<br />
	alert(&#8220;An error has occurred: Code = &#8221; + error.code);</p>
<p>}, options);	</p>
<p>Alternatively, I am trying to send the Base64 data as json but when attempting to convert back to an image I get the following error:<br />
Invalid JPEG file structure: SOS before SOF </p>
<p>I&#8217;d be happy to get it to work either way.</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Mikel</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2724</link>
		<dc:creator>Mikel</dc:creator>
		<pubDate>Thu, 02 Feb 2012 17:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2724</guid>
		<description>Hi, this code works in 1.4.0

But.. how can i upload some inputs + the image? not only the image

Thanks for sharing this!</description>
		<content:encoded><![CDATA[<p>Hi, this code works in 1.4.0</p>
<p>But.. how can i upload some inputs + the image? not only the image</p>
<p>Thanks for sharing this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Martin Capeletto</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2723</link>
		<dc:creator>Martin Capeletto</dc:creator>
		<pubDate>Wed, 25 Jan 2012 20:18:02 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2723</guid>
		<description>Hi, can i use this to upload the last image taken by the camera? i need to make an app that after clicking in some button, the camera is shown, then the user take the picture, the control returns to my app and i upload that image to some server using what you describe.
Do you know if this is possible?</description>
		<content:encoded><![CDATA[<p>Hi, can i use this to upload the last image taken by the camera? i need to make an app that after clicking in some button, the camera is shown, then the user take the picture, the control returns to my app and i upload that image to some server using what you describe.<br />
Do you know if this is possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parse Google Calendar XML with Actionscript 3.0 the Right Way by JohnS</title>
		<link>http://zacvineyard.com/blog/2010/02/25/parse-google-calendar-xml-with-as/comment-page-1/#comment-2722</link>
		<dc:creator>JohnS</dc:creator>
		<pubDate>Tue, 24 Jan 2012 14:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=252#comment-2722</guid>
		<description>Hi,
I was looking for a Calendar where I could use events and I found this nice post. Unfortunately I&#039;m new to AS3, so I was unable to make it work. As Brandon said in a comment above, a small/demo project would be useful for a novice like me. Recently I found here:http://www.flashxml.net/calendar.html a nice calendar that fits my needs. It&#039;s easy to use and to customize because is based on XML files, I recommend it.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I was looking for a Calendar where I could use events and I found this nice post. Unfortunately I&#8217;m new to AS3, so I was unable to make it work. As Brandon said in a comment above, a small/demo project would be useful for a novice like me. Recently I found here:<a href="http://www.flashxml.net/calendar.html" rel="nofollow">http://www.flashxml.net/calendar.html</a> a nice calendar that fits my needs. It&#8217;s easy to use and to customize because is based on XML files, I recommend it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Erhan</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2721</link>
		<dc:creator>Erhan</dc:creator>
		<pubDate>Fri, 20 Jan 2012 03:33:23 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2721</guid>
		<description>Hi all. Is there anyway to upload picture with location data ?. For example i have a .PHP webservice that upload image and a data insert to DB. how can i also send location with this examples</description>
		<content:encoded><![CDATA[<p>Hi all. Is there anyway to upload picture with location data ?. For example i have a .PHP webservice that upload image and a data insert to DB. how can i also send location with this examples</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Parse Google Calendar XML with Actionscript 3.0 the Right Way by Zac Vineyard’s Blog &#8211; Parse Google Calendar XML with Actionscript 3.0 the Right Way &#171; Lin Fisher</title>
		<link>http://zacvineyard.com/blog/2010/02/25/parse-google-calendar-xml-with-as/comment-page-1/#comment-2695</link>
		<dc:creator>Zac Vineyard’s Blog &#8211; Parse Google Calendar XML with Actionscript 3.0 the Right Way &#171; Lin Fisher</dc:creator>
		<pubDate>Tue, 10 Jan 2012 22:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=252#comment-2695</guid>
		<description>[...] Zac Vineyard’s Blog &#8211; Parse Google Calendar XML with Actionscript 3.0 the Right Way. Share this:TwitterFacebookLike this:LikeBe the first to like this post. [...]</description>
		<content:encoded><![CDATA[<p>[...] Zac Vineyard’s Blog &#8211; Parse Google Calendar XML with Actionscript 3.0 the Right Way. Share this:TwitterFacebookLike this:LikeBe the first to like this post. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Upload a File to a Remote Server with PhoneGap (revised for version 1.2.0) by Pieter Hartenberg</title>
		<link>http://zacvineyard.com/blog/2011/03/25/upload-a-file-to-a-remote-server-with-phonegap/comment-page-2/#comment-2675</link>
		<dc:creator>Pieter Hartenberg</dc:creator>
		<pubDate>Sat, 07 Jan 2012 21:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://zacvineyard.com/blog/?p=453#comment-2675</guid>
		<description>I got the photo upload to work on iOS 5.0.1 using Xcode 4.2.1 and PhoneGap 1.3.0
Thank you for this awesome tutorial.</description>
		<content:encoded><![CDATA[<p>I got the photo upload to work on iOS 5.0.1 using Xcode 4.2.1 and PhoneGap 1.3.0<br />
Thank you for this awesome tutorial.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

