<?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 on: My first year at Appcelerator in retrospect</title>
	<atom:link href="http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/</link>
	<description>Marshall Culpepper&#039;s blog</description>
	<lastBuildDate>Tue, 05 Oct 2010 07:35:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
	<item>
		<title>By: shahin</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-96646</link>
		<dc:creator>shahin</dc:creator>
		<pubDate>Tue, 05 Oct 2010 07:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-96646</guid>
		<description>Hi

We want to open a html file in iPhone and we want as soon as html file is opened plays a sound.

The following code DOES work. But it works only for the first time.

When we run the simulator it opens the app.js, it opens the html file and makes the sound, but when i go to another html file and from that file click on a link to come to this file again, it does not make the sound.

Question is this: How do we fix this, to make the sound every time?

Thanks

=========this is in the app.js=======

var webView = Titanium.UI.createWebView({url:&#039;menu.html&#039;});

var appWin = Titanium.UI.createWindow({fullscreen: true});

appWin.add(webView);

appWin.visible = true;

appWin.open();

Titanium.App.addEventListener(&#039;do_something_native&#039;, function(e) {

var sound = Titanium.Media.createSound({url:&#039;ding.wav&#039;});

sound.play();

Ti.API.info(&#039;foo=&#039;+e.foo);

});

======= this is in the html file =======

head script

Titanium.App.fireEvent(&#039;do_something_native&#039;, {foo: &#039;bar&#039;});

/script / head

================================</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>We want to open a html file in iPhone and we want as soon as html file is opened plays a sound.</p>
<p>The following code DOES work. But it works only for the first time.</p>
<p>When we run the simulator it opens the app.js, it opens the html file and makes the sound, but when i go to another html file and from that file click on a link to come to this file again, it does not make the sound.</p>
<p>Question is this: How do we fix this, to make the sound every time?</p>
<p>Thanks</p>
<p>=========this is in the app.js=======</p>
<p>var webView = Titanium.UI.createWebView({url:&#8217;menu.html&#8217;});</p>
<p>var appWin = Titanium.UI.createWindow({fullscreen: true});</p>
<p>appWin.add(webView);</p>
<p>appWin.visible = true;</p>
<p>appWin.open();</p>
<p>Titanium.App.addEventListener(&#8216;do_something_native&#8217;, function(e) {</p>
<p>var sound = Titanium.Media.createSound({url:&#8217;ding.wav&#8217;});</p>
<p>sound.play();</p>
<p>Ti.API.info(&#8216;foo=&#8217;+e.foo);</p>
<p>});</p>
<p>======= this is in the html file =======</p>
<p>head script</p>
<p>Titanium.App.fireEvent(&#8216;do_something_native&#8217;, {foo: &#8216;bar&#8217;});</p>
<p>/script / head</p>
<p>================================</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lkjlkjsskjnlljklkjkjlkjlkjlkjlkjlkjlkj</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-96628</link>
		<dc:creator>lkjlkjsskjnlljklkjkjlkjlkjlkjlkjlkjlkj</dc:creator>
		<pubDate>Sun, 03 Oct 2010 21:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-96628</guid>
		<description>Hi. i found you from QA pages of appcelerator - i have a question that no one has solved it yet. i think you can. thanks. this is the code that i made and it works once and second time that i go to the html page it does not work. i want that when i go to a html page it make a sound automatic in iphone.  first time it makes the sound, next time i click on another web page to come to this html page, it does not make the sound. thanks again. i do not know how you can answer me, please send email:  shahin AT robot-hosting.com
---

this part is in app.js:



var webView = Titanium.UI.createWebView({url:&#039;menu.html&#039;});
var appWin = Titanium.UI.createWindow({fullscreen: true});
appWin.add(webView);
appWin.visible = true;
appWin.open();

Titanium.App.addEventListener(&#039;do_something_native&#039;, function(e) {
	
  // do something with &quot;e&quot; here, it contains the properties passed from the webview
  
var sound = Titanium.Media.createSound({url:&#039;ding.wav&#039;});
sound.play();
  
  Ti.API.info(&#039;foo=&#039;+e.foo);
});




---


this part is in html page



	Titanium.App.fireEvent(&#039;do_something_native&#039;, {foo: &#039;bar&#039;});	

</description>
		<content:encoded><![CDATA[<p>Hi. i found you from QA pages of appcelerator &#8211; i have a question that no one has solved it yet. i think you can. thanks. this is the code that i made and it works once and second time that i go to the html page it does not work. i want that when i go to a html page it make a sound automatic in iphone.  first time it makes the sound, next time i click on another web page to come to this html page, it does not make the sound. thanks again. i do not know how you can answer me, please send email:  shahin AT robot-hosting.com<br />
&#8212;</p>
<p>this part is in app.js:</p>
<p>var webView = Titanium.UI.createWebView({url:&#8217;menu.html&#8217;});<br />
var appWin = Titanium.UI.createWindow({fullscreen: true});<br />
appWin.add(webView);<br />
appWin.visible = true;<br />
appWin.open();</p>
<p>Titanium.App.addEventListener(&#8216;do_something_native&#8217;, function(e) {</p>
<p>  // do something with &#8220;e&#8221; here, it contains the properties passed from the webview</p>
<p>var sound = Titanium.Media.createSound({url:&#8217;ding.wav&#8217;});<br />
sound.play();</p>
<p>  Ti.API.info(&#8216;foo=&#8217;+e.foo);<br />
});</p>
<p>&#8212;</p>
<p>this part is in html page</p>
<p>	Titanium.App.fireEvent(&#8216;do_something_native&#8217;, {foo: &#8216;bar&#8217;});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marshall</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-17447</link>
		<dc:creator>Marshall</dc:creator>
		<pubDate>Fri, 14 Aug 2009 20:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-17447</guid>
		<description>Hey Dad!

LOL I can&#039;t believe it! I&#039;m stoked though, Macs are a real pleasure to work with once you get used to it&#039;s way of doing things. If you&#039;re a Unix guy especially, OSX is a dream come true.

In any case, Titanium Desktop apps are a snap to write.. pure Javascript, HTML, CSS. It&#039;s definitely the easiest way to get going :)

Feel free to download Titanium for OSX (and hell, why not Windows too) here:
http://www.appcelerator.com</description>
		<content:encoded><![CDATA[<p>Hey Dad!</p>
<p>LOL I can&#8217;t believe it! I&#8217;m stoked though, Macs are a real pleasure to work with once you get used to it&#8217;s way of doing things. If you&#8217;re a Unix guy especially, OSX is a dream come true.</p>
<p>In any case, Titanium Desktop apps are a snap to write.. pure Javascript, HTML, CSS. It&#8217;s definitely the easiest way to get going <img src='http://www.arcaner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Feel free to download Titanium for OSX (and hell, why not Windows too) here:<br />
<a href="http://www.appcelerator.com" rel="nofollow">http://www.appcelerator.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RIck Culpepper</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-17441</link>
		<dc:creator>RIck Culpepper</dc:creator>
		<pubDate>Fri, 14 Aug 2009 13:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-17441</guid>
		<description>Hey, Marshall! It&#039;s cool to read what you&#039;ve been up to for the last year or so. Sure, we&#039;ve talked about it in very abstract terms, but this gives me an even better idea. WAY COOL STUFF, man!

Oh, BTW, I did something last weekend that will probably give you a heart attack... I bought a 24&quot; iMac for use at home. Of course, I&#039;m running Win7 under VMWare Fusions. This is a sweet solution for all my PC software I don&#039;t want to re-license just yet.

I&#039;m interested in getting started doing some development on OSX, but haven&#039;t a clue where to start. Any pointers? How about Entourage Titanium?</description>
		<content:encoded><![CDATA[<p>Hey, Marshall! It&#8217;s cool to read what you&#8217;ve been up to for the last year or so. Sure, we&#8217;ve talked about it in very abstract terms, but this gives me an even better idea. WAY COOL STUFF, man!</p>
<p>Oh, BTW, I did something last weekend that will probably give you a heart attack&#8230; I bought a 24&#8243; iMac for use at home. Of course, I&#8217;m running Win7 under VMWare Fusions. This is a sweet solution for all my PC software I don&#8217;t want to re-license just yet.</p>
<p>I&#8217;m interested in getting started doing some development on OSX, but haven&#8217;t a clue where to start. Any pointers? How about Entourage Titanium?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marshall</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-17371</link>
		<dc:creator>Marshall</dc:creator>
		<pubDate>Sun, 09 Aug 2009 17:57:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-17371</guid>
		<description>Thanks Roman! I forgot to double check Don&#039;s link, it should be fixed now. Brent recently deleted his blog it looks like, not sure why. I&#039;ll try pinging him to see if I can figure out where he&#039;s moved to.</description>
		<content:encoded><![CDATA[<p>Thanks Roman! I forgot to double check Don&#8217;s link, it should be fixed now. Brent recently deleted his blog it looks like, not sure why. I&#8217;ll try pinging him to see if I can figure out where he&#8217;s moved to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman Heinrich</title>
		<link>http://www.arcaner.com/2009/08/09/my-first-year-at-appcelerator-in-retrospect/comment-page-1/#comment-17367</link>
		<dc:creator>Roman Heinrich</dc:creator>
		<pubDate>Sun, 09 Aug 2009 12:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.arcaner.com/?p=261#comment-17367</guid>
		<description>Hi Marshall, thanks for the writeup, I&#039;m always fascinated by the amount of energy and the end-results some well-chosen and motivated people can churn out with the right vision! Really admiring your dedication. 

BTW, the urls for Don and Brent need updating (maybe old info in your company wiki? ) Keep up the good work, this stuff is dynomite! 

P.S. my url is not working too, for now :)</description>
		<content:encoded><![CDATA[<p>Hi Marshall, thanks for the writeup, I&#8217;m always fascinated by the amount of energy and the end-results some well-chosen and motivated people can churn out with the right vision! Really admiring your dedication. </p>
<p>BTW, the urls for Don and Brent need updating (maybe old info in your company wiki? ) Keep up the good work, this stuff is dynomite! </p>
<p>P.S. my url is not working too, for now <img src='http://www.arcaner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

