<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>joe-ferraro.com &#187; adobe air</title>
	<atom:link href="http://joe-ferraro.com/tag/adobe-air/feed/" rel="self" type="application/rss+xml" />
	<link>http://joe-ferraro.com</link>
	<description>adless since 2008</description>
	<lastBuildDate>Wed, 25 Aug 2010 15:49:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Android app: Salesforce.com &#8220;Voice Notes&#8221; (part 1)</title>
		<link>http://joe-ferraro.com/2010/08/android-app-salesforce-com-voice-notes-part-1/</link>
		<comments>http://joe-ferraro.com/2010/08/android-app-salesforce-com-voice-notes-part-1/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 04:19:57 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[Force.com]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[salesforce.com]]></category>

		<guid isPermaLink="false">http://joe-ferraro.com/?p=120</guid>
		<description><![CDATA[



Recently, we&#8217;ve been working on some mobile apps internally at Mavens, mostly on iOS, but the subject of Android development was intriguing to me, especially given my background in Java.  So, last week I started doing some research on the subject and found that there were a few different approaches to writing Android apps [...]]]></description>
			<content:encoded><![CDATA[<div>
<img src="http://www.joe-ferraro.com/images/android.png" alt="Android" style="width:200px;"/>
</div>
<p>
Recently, we&#8217;ve been working on some mobile apps internally at <a href="http://www.mavensconsulting.com" target=_blank>Mavens</a>, mostly on iOS, but the subject of Android development was intriguing to me, especially given my background in Java.  So, last week I started doing some research on the subject and found that there were a few different approaches to writing Android apps that could connect to Salesforce.com:
</p>
<ol>
<li><a href="http://labs.adobe.com/technologies/air2/android/" target=_blank>Adobe Air 2.5</a> &#8211; Run Flash apps on Android (WARNING: this is very much ALPHA software)</li>
<li><a href="http://code.google.com/p/salesforceandroid/" target=_blank>salesforceandroid</a> &#8211; Leverages ksoap2 (great work)</li>
<li><a href="http://code.google.com/p/sfdc-wsc/" target=_blank>sfdc-wsc</a> (thanks Peter <a href="http://twitter.com/pmorelli" target=_blank>@pmorelli</a>)</li>
<li><a href="http://blog.jeffdouglas.com/2010/06/06/salesforce-chatter-for-android" target=_blank>Android + GAE + OAuth + Salesforce</a> &#8211; Courtesy of <a href="http://blog.jeffdouglas.com/" target=_blank>Jeff Douglas</a></li>
</ol>
<p>
After testing Adobe Air&#8217;s 2.5 runtime with native Android support, I realized Flash on Android is simply too unstable (and slow) in its current state.  I dug pretty deep into the <a href="http://code.google.com/p/salesforceandroid/" target=_blank>salesforceandroid</a> project and found it to be a tad exhausting when working with rather complex Soap calls.  I tweeted relative to this exhaustion and Peter Morelli <a href="http://twitter.com/pmorelli" target=_blank>@pmorelli</a> reminded me that his colleague at Salesforce.com, <a href="http://www.cheenath.com" target=_blank>Manoj Cheenath</a> had developed a fantastic web service connector called <a href="http://code.google.com/p/sfdc-wsc/" target=_blank>sfdc-wsc</a>.  I immediately went to work determining whether sfdc-wsc was a viable option for Android development (spoiler: it&#8217;s a more than viable option, as you&#8217;ll see below).
</p>
<p>
One thing was of particular interest though (and cost me a far bit of time unfortunately): Android does not have native support for the javax.* packages, so I had to <a href="http://code.google.com/p/dalvik/wiki/JavaxPackages" target=_blank>repackage A LOT of code</a> to get it running on an Android device.  Lucky for you, the tough work has been done and the repackaged classes are part of the source code for this example!
</p>
<p>
I&#8217;m going to assume you understand how to create a new Android project in Eclipse.  Here&#8217;s what you&#8217;ll need (and read the docs @ <a href="http://developer.android.com/index.html" target=_blank>developer.android.com</a>):
</p>
<ol>
<li>Eclipse 3.3+</li>
<li><a href="http://developer.android.com/sdk/eclipse-adt.html#installing" target=_blank>Android Development Tools &#8220;ADT&#8221; Plugin for Eclipse</a></li>
<li><a href="http://developer.android.com/sdk/index.html" target=_blank>Android SDK</a></li>
</ol>
<p>
<a href="http://code.google.com/p/voicenotes/" target=_blank>VoiceNotes</a> is an Android application that displays a ListView of Accounts, allows the user to select an Account and record his/her voice note to send it up to Salesforce.com as an attachment.  Currently, the application captures audio in the Android native format which is a 3GPP wrapper around an AMR audio stream.  If you&#8217;re on a desktop, Quicktime can play these files.
</p>
<p>
<b>*VoiceNotes is meant to be an EXAMPLE of the capabilities of sfdc-wsc and Android.  It contains examples of logging into Salesforce, querying for records, and making a create call. I left the error handling extremely lax, this is not a production-ready app*</b>
</p>
<p>
To access the project, please visit <a href="http://code.google.com/p/voicenotes/" target=_blank>http://code.google.com/p/voicenotes/</a>.  To get right to the good stuff by installing the application: simply navigate to the /bin folder and download VoiceNotes.apk, which can be installed directly onto your Android device either via the phone&#8217;s storage device or via the command line (<a href="http://www.brighthub.com/mobile/google-android/articles/37151.aspx" target=_blank>How to install APK files on your Google Android phone</a>)
</p>
<p>
So, have a look around at the source while I regroup and get some code examples together.  Enjoy!
</p>
<p><div>
<img src="http://www.joe-ferraro.com/images/vn1.png"/>
</div>
<div>
<img src="http://www.joe-ferraro.com/images/vn2.png"/>
</div>
<div>
<img src="http://www.joe-ferraro.com/images/vn3.png"/>
</div>
<div>
<img src="http://www.joe-ferraro.com/images/vn4.png"/>
</div></p>
]]></content:encoded>
			<wfw:commentRss>http://joe-ferraro.com/2010/08/android-app-salesforce-com-voice-notes-part-1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>StaticResourcer Force.com/Adobe Air app</title>
		<link>http://joe-ferraro.com/2010/08/staticresourcer-force-comadobe-air-app/</link>
		<comments>http://joe-ferraro.com/2010/08/staticresourcer-force-comadobe-air-app/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 18:06:51 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[adobe air]]></category>
		<category><![CDATA[adobe flex]]></category>
		<category><![CDATA[Force.com]]></category>
		<category><![CDATA[salesforce.com]]></category>
		<category><![CDATA[static resources]]></category>

		<guid isPermaLink="false">http://joe-ferraro.com/?p=82</guid>
		<description><![CDATA[

UPDATE: .zip uploads do not seem to be working properly on Windows 7.  The Static Resource is being saved, but the file format is invalid.  I&#8217;ll do some additional testing and attempt to patch.



I&#8217;d like to introduce a Force.com/Adobe Air app that I cooked up that allows developers to easily create and update [...]]]></description>
			<content:encoded><![CDATA[<div style="padding:10px;background-color:#ffffcc;border:2px solid #f7f7f7;margin-bottom:10px;">
<p>
<b>UPDATE: </b>.zip uploads <u>do not</u> seem to be working properly on Windows 7.  The Static Resource is being saved, but the file format is invalid.  I&#8217;ll do some additional testing and attempt to patch.
</p>
</div>
<p>
I&#8217;d like to introduce a Force.com/Adobe Air app that I cooked up that allows developers to easily create and update Static Resources in Salesforce.com orgs.  On a recent project, I found myself working with complex Static Resource zip files containing hundreds of files in a multi-tiered file structure.  When I needed to update the archive, I had to either use the Eclipse IDE trick (results may vary) or go to Setup &#8211;> Develop &#8211;> Static Resources and &#8220;Edit&#8221;.
</p>
<p>
StaticResourcer is a desktop application that allows you to drag and drop your zip, image, or text-based file and upload it to Salesforce.com.  The app is very much in ALPHA right now, so it may handle certain file types in an unexpected way, but <b>I&#8217;ve found it to be effective when processing .zip, .png, .gif, .jpeg, .txt, .css, .js, and .html files on <u>Mac OS X</u></b>.
</p>
<p>
Please give it a try at your convenience and let me know how it works!
</p>
<p>
<a href="http://www.joe-ferraro.com/air/StaticResourcerAlpha1.zip">Download StaticResourcer Alpha 1</a>
</p>
<div>
<img src="http://www.joe-ferraro.com/images/sr1.png" alt="StaticResourcer Login" /><br />
<img src="http://www.joe-ferraro.com/images/sr2.png" alt="StaticResourcer File Drop Zone" /></div>
<p><a href="http://www.joe-ferraro.com/air/StaticResourcerAlpha1.zip">Download StaticResourcer Alpha 1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://joe-ferraro.com/2010/08/staticresourcer-force-comadobe-air-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>(unofficial) adobe air tasks</title>
		<link>http://joe-ferraro.com/2008/08/adobe-air-tasks/</link>
		<comments>http://joe-ferraro.com/2008/08/adobe-air-tasks/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 01:36:11 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[flex]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[adobe air]]></category>

		<guid isPermaLink="false">http://joe-ferraro.com/?p=42</guid>
		<description><![CDATA[i'm gauging interest from other consultants that track time in Salesforce.com.  Would you use an AIR app?  See a screencast after the jump...
]]></description>
			<content:encoded><![CDATA[<div><img src="http://www.joe-ferraro.com/images/airtasks1.png" alt="airtasks"/></div>
<p>I got tired of logging into our Salesforce.com instance to log billable activities, so I developed this AIR app&#8230;is this something people would use?<br />
<br />
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="350" height="443"><param name="movie" value="http://www.joe-ferraro.com/video/airtasks.swf"></param><param name="quality" value="high"></param><param name="bgcolor" value="#FFFFFF"></param><param name="flashVars" value="thumb=http://content.screencast.com/users/jf317820/folders/Jing/media/cc8c2eb2-32a2-4caf-b6df-23a418e6c0ec/FirstFrame.jpg&#038;content=http://www.joe-ferraro.com/video/airtasks.swf&#038;width=350&#038;height=443"></param><param name="allowFullScreen" value="true"></param><param name="scale" value="showall"></param><param name="allowScriptAccess" value="always"></param>  <embed src="http://www.joe-ferraro.com/video/airtasks.swf" quality="high" bgcolor="#FFFFFF" width="350" height="443" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/jf317820/folders/Jing/media/cc8c2eb2-32a2-4caf-b6df-23a418e6c0ec/FirstFrame.jpg&#038;content=http://www.joe-ferraro.com/video/airtasks.swf&#038;width=350&#038;height=443" allowFullScreen="true" scale="showall"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://joe-ferraro.com/2008/08/adobe-air-tasks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
