<?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>aplus moments</title>
	<atom:link href="http://aplus.rs/feed/" rel="self" type="application/rss+xml" />
	<link>http://aplus.rs</link>
	<description>mostly modern web design with get-a-life sparks</description>
	<lastBuildDate>Tue, 03 Aug 2010 15:39:58 +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>iPad 2gen prediction</title>
		<link>http://aplus.rs/apple/ipad-2gen-prediction/</link>
		<comments>http://aplus.rs/apple/ipad-2gen-prediction/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 15:39:58 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[ipad]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=553</guid>
		<description><![CDATA[When Apple updated screen res of the iPhone 4 to 640×960 on the same 3.5″ (diagonal) form factor as previous iPhones, the magic Retina Display number turned out to be 326ppi (pixels per inch). The result is an awesome display, the best I have ever seen.
iPad on the other hand has 9.7″ (diagonal) with 1024×768 [...]]]></description>
			<content:encoded><![CDATA[<p>When Apple updated screen res of the iPhone 4 to 640×960 on the same 3.5″ (diagonal) form factor as previous iPhones, the magic Retina Display number turned out to be 326ppi (pixels per inch). The result is an awesome display, the best I have ever seen.</p>
<p>iPad on the other hand has 9.7″ (diagonal) with 1024×768 resolution, which gives 132ppi. John Siracusa <a href="http://twitter.com/siracusa/status/20223336428">said</a> that next iPad will most likely have the same improvement in display rez, meaning it will have 2048×1536 – so the iOS4′ <code>@2x</code> API stuff work the same.<br />
Granted, such resolution sounds ginormous – not even Apple’s latest 27″ monitor is big enough to design interfaces that big. But if that really happen…</p>
<p>…how big the iPad would physically needs to be?</p>
<p>iPad has 1.33x aspect ratio and 9.7″ diagonal display now. <code>2048x1536</code> and with <code>326ppi</code> equals to about <code>9650in</code> in one very long line, or divide again to get about <code>29.6in<sup>2</sup></code>. From there, the math is easy: <code>1.33x * x = 29.6</code>, means that <code>x</code> is 4.71in and that physical screen size of the Retina Display iPad would be 4.71 x 6.28, or about <strong>7.85″ diagonal</strong>.</p>
<p>Sounds quite possible, does it not?</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/apple/ipad-2gen-prediction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color of raw image pixel data and iPhone 4’s retina display</title>
		<link>http://aplus.rs/programming/color-of-raw-image-pixel-data-and-iphone-4s-retina-display/</link>
		<comments>http://aplus.rs/programming/color-of-raw-image-pixel-data-and-iphone-4s-retina-display/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 21:47:08 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[2d]]></category>
		<category><![CDATA[graphics]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[pixel]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=544</guid>
		<description><![CDATA[On my first taste of resolution independent programming - how iPhone 4's huge screen ppi is influencing the pixel color readout.]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://codeaplus.com/moodlamp/">Ambient Mood Lamp</a> app, I have a color picker where you can choose the background color by simply tapping the color on an image, like this:</p>
<div id="attachment_545" class="wp-caption aligncenter" style="width: 270px"><img class="size-full wp-image-545" title="iphone-colorswirl4" src="http://aplus.rs/wpa/wp-content/uploads/2010/07/iphone-colorswirl4.png" alt="" width="260" height="260" /><p class="wp-caption-text">Color swirl</p></div>
<p>What I need from there is the actual RGB representation of the pixel color. To get that, there’s quite a bit of code involved. A large part of it is taken from Apple’s <a href="http://developer.apple.com/mac/library/qa/qa2007/qa1509.html">technical note QA1509</a>. </p>
<p>Pixel color fetching is done in this <code>if</code> block from that article:</p>
<div class="igBar"><span id="lobjc-1"><a href="#" onclick="javascript:showPlainTxt('objc-1'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-1">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>data != <span style="color: #a61390;">NULL</span><span style="color: #002200;">&#41;</span></div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #002200;">&#123;</span></div>
</li>
<li style="color:#333;">
<div style="">    <span style="color: #11740a; font-style: italic;">// **** You have a pointer to the image data ****</span></div>
</li>
<li style="color:#26536A;">
<div style="">    <span style="color: #11740a; font-style: italic;">// **** Do stuff with the data here ****</span></div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #002200;">&#125;</span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>I picked up the code to get the pixel color from some web page I lost track of. This is the code:</p>
<div class="igBar"><span id="lobjc-2"><a href="#" onclick="javascript:showPlainTxt('objc-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-2">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">int</span> offset = <span style="color: #002200;">&#40;</span><span style="color: #002200;">&#40;</span>w*round<span style="color: #002200;">&#40;</span>point.y<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>+round<span style="color: #002200;">&#40;</span>point.x<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span> * <span style="color: #2400d9;color:#800000;">4</span>;</div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #a61390;">int</span> alpha =  data<span style="color: #002200;">&#91;</span>offset<span style="color: #002200;">&#93;</span>;</div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">int</span> red = data<span style="color: #002200;">&#91;</span>offset+<span style="color: #2400d9;color:#800000;">1</span><span style="color: #002200;">&#93;</span>;</div>
</li>
<li style="color:#26536A;">
<div style=""><span style="color: #a61390;">int</span> green = data<span style="color: #002200;">&#91;</span>offset+<span style="color: #2400d9;color:#800000;">2</span><span style="color: #002200;">&#93;</span>;</div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">int</span> blue = data<span style="color: #002200;">&#91;</span>offset+<span style="color: #2400d9;color:#800000;">3</span><span style="color: #002200;">&#93;</span>;</div>
</li>
<li style="color:#26536A;">
<div style="">color = <span style="color: #002200;">&#91;</span>UIColor colorWithRed:<span style="color: #002200;">&#40;</span>red/<span style="color: #2400d9;color:#800000;">255</span>.0f<span style="color: #002200;">&#41;</span> green:<span style="color: #002200;">&#40;</span>green/<span style="color: #2400d9;color:#800000;">255</span>.0f<span style="color: #002200;">&#41;</span> blue:<span style="color: #002200;">&#40;</span>blue/<span style="color: #2400d9;color:#800000;">255</span>.0f<span style="color: #002200;">&#41;</span> alpha:<span style="color: #002200;">&#40;</span>alpha/<span style="color: #2400d9;color:#800000;">255</span>.0f<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#93;</span>; </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p><code>w</code> is the width of one row of data, and point <code>{x,y}</code> is where the screen was touched. The <code>* 4</code> in the first line means 4 bytes of raw data per pixel. Well, 4 bytes when your screen res is up to 160ish ppi. On iPhone 4’s Retina Display, with its 326ppi resolution, this should be 8. Which means correct code now is:</p>
<div class="igBar"><span id="lobjc-3"><a href="#" onclick="javascript:showPlainTxt('objc-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-3">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">int</span> offset = <span style="color: #002200;">&#40;</span><span style="color: #002200;">&#40;</span>w*round<span style="color: #002200;">&#40;</span>point.y<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span>+round<span style="color: #002200;">&#40;</span>point.x<span style="color: #002200;">&#41;</span><span style="color: #002200;">&#41;</span> * <span style="color: #2400d9;color:#800000;">4</span> * <span style="color: #002200;">&#91;</span><span style="color: #002200;">&#91;</span>UIScreen mainScreen<span style="color: #002200;">&#93;</span> scale<span style="color: #002200;">&#93;</span>; </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>Welcome to wonderful world of resolution independent programming.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/programming/color-of-raw-image-pixel-data-and-iphone-4s-retina-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better icons for your iPhone apps on the iPad</title>
		<link>http://aplus.rs/programming/better-icons-for-your-iphone-apps-on-the-ipad/</link>
		<comments>http://aplus.rs/programming/better-icons-for-your-iphone-apps-on-the-ipad/#comments</comments>
		<pubDate>Sun, 23 May 2010 01:10:10 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[icons]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphonedev]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=530</guid>
		<description><![CDATA[Treat iPhone-only apps the same way as universal apps and iPad will correctly use proper icon.]]></description>
			<content:encoded><![CDATA[<p>When you have iPhone apps installed on the iPad, chances are they are doubly-ugly: they look pixelated when doubled and their icons are even more ugly extrapolated from 57x57px to 72x72px.</p>
<p>Recently, David Frampton posted <a href="http://www.flickr.com/photos/8953623@N06/4583207492/">great idea</a> how Apple should have done this (the idea got picked by Daring Fireball, TUAW and many others). While idea is great, it’s more than doubtful that Apple would do this.</p>
<p>What Apple would likely prefer is that you, as developer, make an iPad version of your iPhone app and use the full capability of the device. In the process, you’ll create proper iPad icons and no ugliness then. In the Apple’s DevForums, there’s a <a href="https://devforums.apple.com/thread/43845?tstart=0">thread with guidelines</a> on how to populate <i>App</i>–info.plist file and what icon files are needed.</p>
<p>In there, it says that for iPhone-only apps you need to populate <code>CFBundleIconFile</code> key with 57px icon. However, if you move down a bit, you’ll find section on setting up universal app. <strong>Do that</strong>, even if your app is not universal and voila — iPad will use the proper icon for your iPhone-only app.</p>
<div id="attachment_531" class="wp-caption aligncenter" style="width: 419px"><a href="http://aplus.rs/wpa/wp-content/uploads/2010/05/Screen-shot-2010-05-23-at-02.33.02.png"><img src="http://aplus.rs/wpa/wp-content/uploads/2010/05/Screen-shot-2010-05-23-at-02.33.02.png" alt="" title="Setting up icon meta data" width="409" height="146" class="size-full wp-image-531" /></a><p class="wp-caption-text">Setting up icon meta data, so it displays proper icons on iPhone/iPad</p></div>
<p>The settings above are from my <a href="http://codeaplus.com/quickie/">Quickie to do</a> app — here’s before and after:</p>
<div id="attachment_532" class="wp-caption aligncenter" style="width: 674px"><img src="http://aplus.rs/wpa/wp-content/uploads/2010/05/Pastebot-2010-05-23-02.32-2.jpg" alt="" title="Quickie icon facelift" width="664" height="229" class="size-full wp-image-532" /><p class="wp-caption-text">Quickie icon on the iPad, before and after</p></div>
<p>Much better looking.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/programming/better-icons-for-your-iphone-apps-on-the-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Always use isEqualToString for string comparisons</title>
		<link>http://aplus.rs/programming/always-use-isequaltostring-for-string-comparisons/</link>
		<comments>http://aplus.rs/programming/always-use-isequaltostring-for-string-comparisons/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 23:28:10 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cocoa touch]]></category>
		<category><![CDATA[core data]]></category>
		<category><![CDATA[nsstring]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=516</guid>
		<description><![CDATA[Always, always, always test and re-test your iPhone app on the actual device. Simulator can trick you in many ways. Here's one, involving string comparison.]]></description>
			<content:encoded><![CDATA[<p>While working on my iPhone app <a href="http://codeaplus.com/quickie/">Quickie</a>, I encountered one of many examples why you must <em>always check your code on the actual device</em>.</p>
<p>Quickie uses Core Data for storage and in one particular place I was comparing the <code>NSString</code> variable to a <code>NSString</code>–typed property of my CoreData class, <code>QuickieList</code>. Like this:</p>
<div class="igBar"><span id="lobjc-4"><a href="#" onclick="javascript:showPlainTxt('objc-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-4">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>QuickieList.listName != theListName<span style="color: #002200;">&#41;</span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p><code>listName</code> is defined as <code>NSString</code> and <code>theListName</code> is obviously that as well. In this particular instance, both of those had the value of “test”.<br />
In the iPhone Simulator (running on 10.6.2) this comparison returned <code>false</code>, but on the iPhone running 3.1.2 it returned <code>true</code>. When changed into:</p>
<div class="igBar"><span id="lobjc-5"><a href="#" onclick="javascript:showPlainTxt('objc-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-5">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>!<span style="color: #002200;">&#91;</span>QuickieList.listName isEqualToString:theListName<span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>result was the same.</p>
<p>Never – I repeat — <em>never</em> assume that simulator testing will be fine, even for seemingly small things. It can bite you when you least expect it.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/programming/always-use-isequaltostring-for-string-comparisons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UITextField.text is not always there</title>
		<link>http://aplus.rs/programming/uitextfield-text-is-not-always-there/</link>
		<comments>http://aplus.rs/programming/uitextfield-text-is-not-always-there/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 08:25:59 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[cocoa touch]]></category>
		<category><![CDATA[uitextfield]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=515</guid>
		<description><![CDATA[Explaining a not so obvious issue with UITextField.text when checking is the text empty.]]></description>
			<content:encoded><![CDATA[<p>If you have UITextField on the page and you need to validate is there something in it (so if yes you can save the input or something), you might do something like this:</p>
<div class="igBar"><span id="lobjc-6"><a href="#" onclick="javascript:showPlainTxt('objc-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-6">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>!<span style="color: #002200;">&#91;</span>addNewCellTextField.text isEqualToString:@<span style="color: #bf1d1a;">""</span><span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span></div>
</li>
<li style="color:#26536A;">
<div style="">…</div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #002200;">&#125;</span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>However, this will fail if the field is never touched. That is, until your user taps the field and it gets focus, UITextField.text is nil. Which means that condition above yields true, which is not what you want.<br />
Once it is touched though, this becomes an instance of NSString with value of @””. Thus, always use:</p>
<div class="igBar"><span id="lobjc-7"><a href="#" onclick="javascript:showPlainTxt('objc-7'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">OBJC:</span>
<div id="objc-7">
<pre class="objc">
<ol>
<li style="color:#333;">
<div style=""><span style="color: #a61390;">if</span> <span style="color: #002200;">&#40;</span>addNewCellTextField.text != <span style="color: #a61390;">nil</span> &amp;amp;&amp;amp; !<span style="color: #002200;">&#91;</span>addNewCellTextField.text isEqualToString:@<span style="color: #bf1d1a;">""</span><span style="color: #002200;">&#93;</span><span style="color: #002200;">&#41;</span> <span style="color: #002200;">&#123;</span></div>
</li>
<li style="color:#26536A;">
<div style="">…</div>
</li>
<li style="color:#333;">
<div style=""><span style="color: #002200;">&#125;</span> </div>
</li>
</ol>
</pre>
</div>
</div>
<p></p>
<p>Watch out for this little trap hole.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/programming/uitextfield-text-is-not-always-there/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>iTunes 9 on Windows 2003 — the complete solution</title>
		<link>http://aplus.rs/software/itunes-9-on-windows-2003-the-complete-solution/</link>
		<comments>http://aplus.rs/software/itunes-9-on-windows-2003-the-complete-solution/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 23:49:28 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Software I use]]></category>
		<category><![CDATA[DEP]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[itunes]]></category>
		<category><![CDATA[windows 2003]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=508</guid>
		<description><![CDATA[If you have any of these issue, this article will most likely help you.
You use Windows 2003 and iTunesSetup.exe refuses to run on it (it's touting only XP or Vista/Windows 7 as supported OSes).
At the end of the iTunes install, when dialog says "Starting services" it failes to start iPodService.exe with the following message: "Service 'iPodService' (iPodService) failed to start. Verify that you have sufficient privileges to start system service."
You have trouble starting iTunes.exe after install.
You see dialog boxes telling iTunesHelper.exe failed to start.]]></description>
			<content:encoded><![CDATA[<p>Some of the stuff here also apply to problems appearing during installation or use of iTunes 9 on Windows XP, Vista or Windows 2008. Meaning — do try them, it might help you solve the issues you’re having.</p>
<h3>What does this solve?</h3>
<p>If you have any of these issue, this article will most likely help you.</p>
<ol>
<li>You use Windows 2003 and iTunesSetup.exe refuses to run on it (it’s touting only XP or Vista/Windows 7 as supported OSes).</li>
<li>At the end of the iTunes install, when dialog says <em>“Starting services”</em> it failes to start iPodService.exe with the following message: <em>“Service ‘iPodService’ (iPodService) failed to start. Verify that you have sufficient privileges to start system service.”</em></li>
<li>You have trouble starting iTunes.exe after install.</li>
<li>You see dialog boxes telling iTunesHelper.exe failed to start.</li>
</ol>
<p>My wife uses Windows 2003 as development machine and I had all of these happening.</p>
<h3>iTunes refuses to install due to OS mismatch</h3>
<p>Apple is — like many other companies do in the last year or two — touting iTunes 9 as compatible only with Windows XP and Vista or Windows 7. This is safe net for them. If you run Windows 2003, this is just about the same thing as XP, regarding ordinary software.</p>
<p>Thus, solution here is to kill the OS-based launch conditions, which good people at WebKeyDesign have <a href="http://www.webkeydesign.com/260/itunes-install-on-windows-2003/">already explained</a> how to do. The solution goes like this:</p>
<ol>
<li>Unpack iTunesSetup.exe so you have all the various .msi files inside it copied to some folder. Use Winzip, Total Commander or any other de-archiver to open iTunesSetup.exe and extract the files</li>
<li>Download free tool called <a href="http://www.instedit.com/">InstED</a> and start it</li>
<li>Drag all .msi files into InstED</li>
<li>For each of them, find the LaunchCondition key in the left panel and then in the right-panel look for ((VersionNT=501 And ServicePackLevel&gt;=2) OR VersionNT&gt;501) and delete it. Then save the file.</li>
</ol>
<div id="attachment_511" class="wp-caption alignnone" style="width: 1007px"><img class="size-full wp-image-511" title="insted-edit" src="http://aplus.rs/wpa/wp-content/uploads/2009/11/insted-edit.png" alt="InstEd - removing launch conditions" width="997" height="442" /><p class="wp-caption-text">InstEd — removing launch conditions</p></div>
<div id="attachment_510" class="wp-caption alignnone" style="width: 835px"><img class="size-full wp-image-510" title="insted-edit-qt" src="http://aplus.rs/wpa/wp-content/uploads/2009/11/insted-edit-qt.png" alt="QuickTime has two conditions, remove both" width="825" height="142" /><p class="wp-caption-text">QuickTime has two conditions, remove both</p></div>
<p>Once you’re done with all of them, install them, one by one. Start with AppleApplicationSupport, then AppleMobileDeviceSupport and then continue until iTunes as the last. Ignore SetupAdmin.exe</p>
<h3>iPodService.exe failed to start</h3>
<p>At the end of iTunes installation, it will try to start iPodService.exe. This fails and manifests in a variety of ways. There’s an amazing number of “solutions” on the net, but remarkably none has pinpointed the actual cause.</p>
<p>It’s Data Execution Prevention feature of the Windows — it will kill the process as soon as it tries to run. DEP is made to prevent malicious software using private or undocumented API or doing any sort of suspected malicious activity. iPodService.exe falls into this trap according to DEP, so we need to tell DEP to let it go as exception to the rule.<br />
Here’s how:</p>
<ol>
<li>Right-click My computer, choose Properties</li>
<li>Go to Advanced tab, click on Settings under Performance, then onto the DEP tab</li>
<li>Click Add, go to Program Files\iPod\bin and choose iPodService.exe</li>
<li>Retry/continue the iTunes installation and it will finish it up very quickly.</li>
</ol>
<div id="attachment_513" class="wp-caption alignnone" style="width: 616px"><img class="size-full wp-image-513" title="dep" src="http://aplus.rs/wpa/wp-content/uploads/2009/11/dep.png" alt="Data Execution Prevention is what kills iPodService.exe" width="606" height="723" /><p class="wp-caption-text">Data Execution Prevention is what kills iPodService.exe</p></div>
<h3>iTunes.exe or iTunesHelper.exe don’t start</h3>
<p>You click, they appear to start but then fail. The reason is the same as above: DEP. Add both .exe files (they are in Program Files\iTunes folder) to the DEP exception window and they will start just fine afterwards.</p>
<p>To expand this a bit — every time you have a known, valid software failing to start, always add them to DEP and see if they work. Most likely they would.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/software/itunes-9-on-windows-2003-the-complete-solution/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Q: Would you like to move or copy? A: Yes / No?</title>
		<link>http://aplus.rs/software/q-would-you-like-to-move-or-copy-a-yes-no/</link>
		<comments>http://aplus.rs/software/q-would-you-like-to-move-or-copy-a-yes-no/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 09:06:24 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Software I use]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[user interface]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=500</guid>
		<description><![CDATA[This is in Windows Explorer, copying/moving files across networked disks.
Given my experience so far in big software projects, this kind of bad UI is direct consequence of the background API being done before front-end people had any say. At the moment when front-end work came to play, there was probably no info to determine is [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_501" class="wp-caption aligncenter" style="width: 355px"><img class="size-full wp-image-501" title="windows-ui-nonsense" src="http://aplus.rs/wpa/wp-content/uploads/2009/09/windows-ui-nonsense.png" alt="Hmm...say again?" width="345" height="135" /><p class="wp-caption-text">Hmm…say again?</p></div>
<p>This is in Windows Explorer, copying/moving files across networked disks.</p>
<p>Given my experience so far in big software projects, this kind of bad UI is direct consequence of the background API being done before front-end people had any say. At the moment when front-end work came to play, there was probably no info to determine is the current operation a <em>copy</em> or <em>move</em>, so they did what they could. Or it could be sloppy FE work, but I somehow believe it’s the former.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/software/q-would-you-like-to-move-or-copy-a-yes-no/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to find crash logs for iPhone applications on Mac, Vista and XP</title>
		<link>http://aplus.rs/apple/how-to-find-crash-logs-for-iphone-applications-on-mac-vista-and-xp/</link>
		<comments>http://aplus.rs/apple/how-to-find-crash-logs-for-iphone-applications-on-mac-vista-and-xp/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 14:31:00 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[crash logs]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=487</guid>
		<description><![CDATA[Detailed, heavily illustrated tutorials to locate iPhone crash logs, as synced through iTunes. This is very useful and needed if you need send these to a developer of the application you have and it's crashing.
Developers are people, people make mistakes. By investing a bit of your time, you'll help a developer fix the problems that plagues you and thus you get a better app in return.]]></description>
			<content:encoded><![CDATA[<p>iTunesConnect service — a web site that iPhone developers use to manage their published applications — has a separate area that will list all the synced crash reports from the application users.</p>
<p>However, not all of the crashes appear there, or are slow to appear. Thus, if you have a desperate problem with someone’s application, it’s a good idea to pick these up and send them to a developer.</p>
<p>Here’s how, in three major operations systems: Mac OS X, Windows Vista / Windows 7 and for Windows XP.</p>
<h3>iTunes sync</h3>
<p>Application crash logs are transfered to your computer each time you do a sync with the device, in the iTunes. Thus, first step is to sync with iTunes:</p>
<div id="attachment_489" class="wp-caption alignnone" style="width: 1024px"><img class="size-full wp-image-489" title="Picture-1" src="http://aplus.rs/wpa/wp-content/uploads/2009/08/Picture-1.jpg" alt="Sync the iPhone or iPod Touch through iTunes" width="1014" height="658" /><p class="wp-caption-text">Sync the iPhone or iPod Touch through iTunes</p></div>
<h3>Mac OS X</h3>
<p>On the Mac, crash logs are kept at:</p>
<pre><code>~/Library/Logs/CrashReporter/MobileDevice/&lt;DEVICE_NAME&gt;</code></pre>
<p>where ~ is your Home folder. Here’s an example:</p>
<div id="attachment_490" class="wp-caption alignnone" style="width: 772px"><img class="size-full wp-image-490" title="Picture-3" src="http://aplus.rs/wpa/wp-content/uploads/2009/08/Picture-3.png" alt="Crash logs on the Mac OS X. Device name is &quot;iPhone AV&quot; here" width="762" height="283" /><p class="wp-caption-text">Crash logs on the Mac OS X. Device name is “iPhone AV” here</p></div>
<p>There’s the <code>.crash</code> file and <code>.plist</code> file — archive them both and send to a developer. Actually, pick all the files you find there that have the name of the problematic application.</p>
<h3>Windows Vista / Windows 7</h3>
<p>Files are located here:</p>
<pre><code>C:\Users\&lt;USERNAME&gt;\AppData\Roaming\Apple computer\Logs\CrashReporter/MobileDevice/&lt;DEVICE_NAME&gt;</code></pre>
<p><code>AppData</code> folder is hidden by default, so here’s how to access it. Get into your personal folder:</p>
<div id="attachment_491" class="wp-caption alignnone" style="width: 810px"><img class="size-full wp-image-491" title="1" src="http://aplus.rs/wpa/wp-content/uploads/2009/08/1.png" alt="User folder, with Vista folder path" width="800" height="245" /><p class="wp-caption-text">User folder, with Vista folder path</p></div>
<p>Now click on the folder (address) bar which will change the display into Windows folder path and add <code>\AppData</code> to it, then click Enter.</p>
<div id="attachment_493" class="wp-caption alignnone" style="width: 592px"><img class="size-full wp-image-493" title="2" src="http://aplus.rs/wpa/wp-content/uploads/2009/08/21.png" alt="When clicked, the address bar changes into regular Windows folder path" width="582" height="169" /><p class="wp-caption-text">When clicked, the address bar changes into regular Windows folder path</p></div>
<p>This will then show the folder contents. From here, you can follow the path above until you get to the crash logs.</p>
<p>For Windows 7, follow the same procedure.</p>
<h3>Windows XP</h3>
<p>Location is here:</p>
<pre><code>C:\Documents and Settings\&lt;USERNAME&gt;\Application Data\Apple computer\Logs\CrashReporter/&lt;DEVICE_NAME&gt;</code></pre>
<p>&lt;USERNAME&gt; is your login username. <code>Application Data</code> folder is usually hidden by default, so you need to reveal it in the same way as in Vista — by typing in and pressing Enter.</p>
<p>And that’s it. Easy :) — rest is for developer to sweat it.</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/apple/how-to-find-crash-logs-for-iphone-applications-on-mac-vista-and-xp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Apple should ditch DVD drive in their notebooks</title>
		<link>http://aplus.rs/apple/apple-should-ditch-dvd-drive-in-their-notebooks/</link>
		<comments>http://aplus.rs/apple/apple-should-ditch-dvd-drive-in-their-notebooks/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 09:25:49 +0000</pubDate>
		<dc:creator>Aleksandar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[maccbook pro]]></category>
		<category><![CDATA[notebooks]]></category>

		<guid isPermaLink="false">http://aplus.rs/?p=485</guid>
		<description><![CDATA[I wrote about my disappointment due to Apple’s removal of  ExpressCard/34 slot in the last generation of its Macbooks. I can’t imagine this is due to cost issues — it’s probably the space constraint since they wanted to add SD card slot.
Here’s a proposal: remove the DVD drive entirely. I don’t know about you, [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="/apple/apple-killed-the-pro-line-of-its-notebooks/">wrote about my disappointment</a> due to Apple’s removal of  ExpressCard/34 slot in the last generation of its Macbooks. I can’t imagine this is due to cost issues — it’s probably the space constraint since they wanted to add SD card slot.</p>
<p>Here’s a proposal: <strong>remove the DVD drive entirely</strong>. I don’t know about you, but I have used that thing less than 10 times in last 2 years of owning Macbook Pro. It mostly collected dust and stopped working reliably rather quickly due to that same dust; last few times when I wanted to do anything with it, it spent ages trying to recognize the disk. Or even failed to read it — even Leopard original install disk, which is in pristine condition. Or last night, when it failed to write an empty DVD, which I then burned with no issues on my wife’s Sony VAIO drive.<br />
It’s by far the worst part of the otherwise great notebook.</p>
<p>It’s useless outdated thing, ripe for replacement. It would free up huge space in the notebook for many, much more useful things like:</p>
<ul>
<li> integrated SIM card slot</li>
<li> ExpressCard/34 or even /54 slot</li>
<li> one or two eSATA connectors</li>
<li> at least one more USB port</li>
</ul>
<p>For anyone that needs the drive, they already sell external SuperDrive for Macbook Air and there’s plenty of 3rd party external packages.</p>
<p>What’s not to like? Eh, Apple, how about that?</p>
]]></content:encoded>
			<wfw:commentRss>http://aplus.rs/apple/apple-should-ditch-dvd-drive-in-their-notebooks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: aplus.rs @ 2010-09-03 03:19:15 -->