<?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>SMSrobot</title>
	<atom:link href="http://www.smsrobot.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.smsrobot.com</link>
	<description>Mobile development blog</description>
	<lastBuildDate>Sun, 18 Mar 2012 08:05:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Good ol&#8217; c++ code</title>
		<link>http://www.smsrobot.com/2012/03/good-ol-c-code/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=good-ol-c-code</link>
		<comments>http://www.smsrobot.com/2012/03/good-ol-c-code/#comments</comments>
		<pubDate>Sun, 18 Mar 2012 08:03:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c++ old good]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=355</guid>
		<description><![CDATA[<p>Look what I just found in my basement Good old c++ function for calculating number of days in one month, it might still be of some use (it takes into account leap year): int daysformonth(int month, int year) { /* &#8230; <a href="http://www.smsrobot.com/2012/03/good-ol-c-code/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p><em>Look what I just found in my basement <img src='http://www.smsrobot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>Good old c++ function for calculating number of days in one month, it might still be of some use (it takes into account leap year):</p>
<pre>int daysformonth(int month, int year) {
/* This function returns the number of days for the given month in the given year */
return (30 + (((month &amp; 9) == <img src='http://www.smsrobot.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> || ((month &amp; 9) == 1)) - (month == 2) - (!(((year % 4) == 0) &amp;&amp; (((year % 100) != 0) || ((year % 400) == 0))) &amp;&amp; (month == 2)));</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2012/03/good-ol-c-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr Fun &#8211; new ios App</title>
		<link>http://www.smsrobot.com/2012/02/flickr-fun-new-ios-app/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flickr-fun-new-ios-app</link>
		<comments>http://www.smsrobot.com/2012/02/flickr-fun-new-ios-app/#comments</comments>
		<pubDate>Thu, 23 Feb 2012 09:52:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ios iPad apple programming]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=345</guid>
		<description><![CDATA[<p>We&#8217;ve been quiet for a really long time, which is a shame :) All that time we were busy creating new App. Flickr Fun iTunes link   Flickr fun promo page App is free with all unlocked features, as always. App brings fun to Flickr image &#8230; <a href="http://www.smsrobot.com/2012/02/flickr-fun-new-ios-app/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p><em>We</em>'<em>ve been quiet</em> for a really <em>long time</em>, which is a shame :)<br />
All that time we were busy creating new App. <a title="iTunes link to Flick Fun app" href="http://itunes.apple.com/us/app/flickr-fun/id503440710?mt=8">Flickr Fun iTunes link</a></p>
<p><a title="Flickr Fun" href="http://www.smsrobot.com/ios/flickr-fun.html"><img class="alignnone" title="new flickr app" src="http://www.smsrobot.com/ios/images/screen3_small.jpg" alt="new flickr app" width="185" height="139" /></a> <a title="Flickr Fun promotion page" href="http://www.smsrobot.com/ios/flickr-fun.html"> Flickr fun promo page</a></p>
<p>App is free with all unlocked features, as always.<br />
App brings fun to Flickr image browsing.</p>
<p>We hope you'll enjoy it as much as we do!<br />
Please leave your suggestions, features request in replay. Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2012/02/flickr-fun-new-ios-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IOS UIButton</title>
		<link>http://www.smsrobot.com/2012/01/ios-uibutton/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ios-uibutton</link>
		<comments>http://www.smsrobot.com/2012/01/ios-uibutton/#comments</comments>
		<pubDate>Sun, 15 Jan 2012 10:45:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ios uibutton]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=339</guid>
		<description><![CDATA[<p>Just one quick note, I just spent hours on this problem: if you&#8217;re adding your button to an UIImageView programmatically make sure that: UIImageView.userInteractionEnabled = YES; Otherwise button click action will not be called. That&#8217;s it, over and out</p>
]]></description>
			<content:encoded><![CDATA[<p>Just one quick note, I just spent hours on this problem:</p>
<p>if you're adding your button to an UIImageView programmatically make sure that:<br />
UIImageView.userInteractionEnabled = YES;</p>
<p>Otherwise button click action will not be called.</p>
<p>That's it, over and out</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2012/01/ios-uibutton/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Montastic Widget</title>
		<link>http://www.smsrobot.com/2010/07/android-montastic-widget/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-montastic-widget</link>
		<comments>http://www.smsrobot.com/2010/07/android-montastic-widget/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 10:19:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[montastic]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=330</guid>
		<description><![CDATA[<p>We did it again, another app for our beloved Android. It runs on android versions from 1.5 to 2.2. Android Market link: Montastic Widget App lets you see the status of all your web servers monitored with montastic service.  You &#8230; <a href="http://www.smsrobot.com/2010/07/android-montastic-widget/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>We did it again, another app for our beloved Android. It runs on android versions from 1.5 to 2.2.</p>
<p>Android Market link: <a href="market://details?id=smsr.com.mw">Montastic Widget</a></p>
<p>App lets you see the status of all your web servers monitored with montastic service.  You need a Montastic account to use this widget, montastic is "The website monitoring service that doesn't suck" please visit <a title="Montastic" href="http://www.montastic.com" target="_blank">montastic site</a> for more info.</p>
<p>Montastic Widget will remain green as long as all your servers are well, showing time of last update. When one or more have problems, it will turn red and show you how many servers are not responding.</p>
<p><img class="alignnone" title="Montastic widget settings" src="/images/montastic1.png" alt="" width="160" height="240" /> <img class="alignnone" title="montastic widget green" src="/images/montastic2.png" alt="" width="160" height="240" /></p>
<p>Widget also supports notification alert, which is active by default. Alert will play your default notification sound and will activate green blinking led light. That's all folks, if you have suggestions or feature requests please hit reply button.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2010/07/android-montastic-widget/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Analog Clock Collection for Android</title>
		<link>http://www.smsrobot.com/2010/05/analog-clock-collection-for-android/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=analog-clock-collection-for-android</link>
		<comments>http://www.smsrobot.com/2010/05/analog-clock-collection-for-android/#comments</comments>
		<pubDate>Sat, 22 May 2010 23:44:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=319</guid>
		<description><![CDATA[<p>We have released new free application for Android, desktop widget called Analog Clock Collection. You can download it from following market location Clock Collection Application comes with 24 different analog clock styles from which you can choose your favorite one, &#8230; <a href="http://www.smsrobot.com/2010/05/analog-clock-collection-for-android/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>We have released new free application for Android, desktop widget called Analog Clock Collection.<br />
<strong> You can download it from following market location </strong><a href="market://details?id=smsr.com.acc"><strong>Clock Collection</strong></a></p>
<p>Application comes with 24 different analog clock styles from which you can choose your favorite one, all clock widgets are 2x2 size.<br />
To Insert a widget, long-press in an empty area on the home screen select 'Widgets', then 'Analog Clock Collection'.</p>
<p>If you have suggestions, feature request, new clock style that you want to see in next app. version hit the replay button.</p>
<p><img class="alignnone" title="Android desktop" src="/images/clock_desktop_s.png" alt="" width="160" height="240" /> <img class="alignnone" title="Widget clock selection" src="/images/select_clock_s.png" alt="" width="160" height="240" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2010/05/analog-clock-collection-for-android/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Google rewards Android developers with free phones</title>
		<link>http://www.smsrobot.com/2010/03/google-rewards-android-developers-with-free-phones/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-rewards-android-developers-with-free-phones</link>
		<comments>http://www.smsrobot.com/2010/03/google-rewards-android-developers-with-free-phones/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 01:07:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=301</guid>
		<description><![CDATA[<p>Google, in order to give initial push for android 2.1 application development, is giving free Nexus one and Droid phones. Developers with apps having 3.5 star or higher rating and more than 5,000 unique downloads qualify for free android phone. &#8230; <a href="http://www.smsrobot.com/2010/03/google-rewards-android-developers-with-free-phones/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>Google, in order to give initial push for android 2.1 application development, is giving free Nexus one and Droid phones. Developers with apps having 3.5 star or higher rating and more than 5,000 unique downloads qualify for free android phone.</p>
<blockquote><p>
You will receive either a Verizon Droid by Motorola or a Nexus One. Developers with mailing addresses in the US will receive either a Droid or Nexus one, based on random distribution. Developers from Canada, EU, and the EEA states (Norway, Lichtenstein), Switzerland, Hong Kong, Taiwan, and Singapore will receive a Nexus One. Developers with mailing addresses in countries not listed above will not receive a phone since these phones are not certified to be used in other countries.
</p></blockquote>
<p>It's a shame that lot of great android developers are left out and will not receive free phone because their countries are not listed in Google's official email. Also developers from "not listed countries" are not able to sell their applications on android market and they are offering them for free, making android market a great place with 46% of free apps. This is how they get rewarded <img src='http://www.smsrobot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2010/03/google-rewards-android-developers-with-free-phones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTC Magic</title>
		<link>http://www.smsrobot.com/2009/07/htc-magic/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=htc-magic</link>
		<comments>http://www.smsrobot.com/2009/07/htc-magic/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 11:48:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[htc]]></category>
		<category><![CDATA[htc magic]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=251</guid>
		<description><![CDATA[<p>HTC Magic comes to Serbia, taa daa !!! (drum roll) Vip mobile Serbian mobile operator has launched HTC Magic. VIP Mobile has signed a strategic partnership, during 2008, with Vodafone who has exclusivity on HTC Magic in moust Europen countries. This is first Android &#8230; <a href="http://www.smsrobot.com/2009/07/htc-magic/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>HTC Magic comes to Serbia, taa daa !!! (drum roll)<br />
<img src="http://www.smsrobot.com/images/htc_magic_serbia.jpg" alt="HTC Magic Serbia" /><br />
<a rel="nofollow" href="http://www.vipmobile.rs">Vip mobile</a> Serbian mobile operator has launched HTC Magic.<br />
VIP Mobile has signed a strategic partnership, during 2008, with Vodafone who has exclusivity on HTC Magic in moust Europen countries. This is first Android device available on Serbian market. Cost without contract will be 450 €, and subsidized on two year contract 100 € with 40 € monthly fee.<br />
In a meantime <a rel="nofollow" href="http://www.telenor.rs">Teleonor</a> second largest Serbian mobile operator has started taking pre orders for Samsung Galaxy Android smart phone.<br />
It is going to be hot summer for Android fans in Serbia, I can tell you that <img src='http://www.smsrobot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
I'm still in doubt which one to choose, I will publish review as soon as I get my hands on one of those two.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2009/07/htc-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox again</title>
		<link>http://www.smsrobot.com/2009/07/firefox-again/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firefox-again</link>
		<comments>http://www.smsrobot.com/2009/07/firefox-again/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:30:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=243</guid>
		<description><![CDATA[<p>Recently I was writing about my problems with Firefox. Annoying but I could live with it. But after upgrading to version 3.5.1. my Firefox has died on me. Permanently. I tried everything reasonable to fix it, tried to start firefox &#8230; <a href="http://www.smsrobot.com/2009/07/firefox-again/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>Recently I was writing about my problems with Firefox. Annoying but I could live with it.<br />
But after upgrading to version 3.5.1. my Firefox has died on me. Permanently. I tried everything reasonable to fix it, tried to start firefox in safe mod, rebooted computer. Did little of googling. It didn't help... This error keeps popping up again and again:<br />
<img src="http://www.smsrobot.com/images/firefox_died_on_me.png" alt="Firefox dead" /><br />
<code>The procedure entry point JS_GetOperationLimit could not be located in the dynamic link library js3250.dll.</code><br />
So long Firefox it was good while it lasted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2009/07/firefox-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox crashes with no reason</title>
		<link>http://www.smsrobot.com/2009/06/firefox-crashes-with-no-reason/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=firefox-crashes-with-no-reason</link>
		<comments>http://www.smsrobot.com/2009/06/firefox-crashes-with-no-reason/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 14:06:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=242</guid>
		<description><![CDATA[<p>I didn&#8217;t believe that this day would came, my Firefox 3.0.10 keeps crashing all day with no apparent reason, while all other apps work OK. I did not install no new plugins neither new version, strange indeed. While at the &#8230; <a href="http://www.smsrobot.com/2009/06/firefox-crashes-with-no-reason/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>I didn't believe that this day would came, my Firefox 3.0.10 keeps crashing all day with no apparent reason, while all other apps work OK. I did not install no new plugins neither new version, strange indeed.</p>
<p><img src="/images/firefox_crash.png" alt="Firefox crash" /></p>
<p>While at the same time I am being offered to update to new version 3.0.11, which has been released literally few hours ago. This version has been working with no problems for a long time. I'm wondering are crashing and release of new version related <img src='http://www.smsrobot.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Let see, What’s New in Firefox 3.0.11:</p>
<p>Firefox 3.0.11 fixes several issues found in Firefox 3.0.10:<br />
    * Fixed several security issues.<br />
    * Fixed several stability issues.</p>
<p>Maybe it is paranoia but I think that bad news travel with speed of lite and that this info about Firefox security issues has been somehow exploited.<br />
Update: After installation of new version everything is back to normal, now I am puzzled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2009/06/firefox-crashes-with-no-reason/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated wordpress backup</title>
		<link>http://www.smsrobot.com/2009/05/automated-wordpress-backup/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=automated-wordpress-backup</link>
		<comments>http://www.smsrobot.com/2009/05/automated-wordpress-backup/#comments</comments>
		<pubDate>Mon, 11 May 2009 00:23:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.smsrobot.com/?p=189</guid>
		<description><![CDATA[<p>From many different choices for wordpress backup, I picked this one. I have made some minor changes, original script was reporting some silly warnings regarding tar params. You can download altered script here: dbBackUp.txt. I like this particular php script &#8230; <a href="http://www.smsrobot.com/2009/05/automated-wordpress-backup/">Continue reading <span class="meta-nav">&#8594;</span></a></p>
]]></description>
			<content:encoded><![CDATA[<p>From many different choices for wordpress backup, I picked <a href="http://www.sematopia.com/?p=61" target="_blank">this one</a>. I have made some minor changes, original script was reporting some silly warnings regarding tar params. You can download altered script here: <a title="Altered php code" href="http://www.smsrobot.com/content/dbBackUp.txt">dbBackUp.txt</a>.<br />
I like this particular php script because it sends me email with compressed wordpress database in attachment whenever it is executed. It can be called manually from web browser, if you place it in public directory on your website server. Or, as I'm using it, you can use cron daemon to activate script. I have created little bash script and placed it under folder: <code>/etc/cron.daily/</code> Bash script is trivial:</p>
<pre>#!/bin/sh
/usr/bin/php /srv/mysitefolder/dbBackUp.php
exit 0</pre>
<p>Every morning I get fresh email with compressed database backup file. To make my life easier, I have created separate gmail account whose sole purpose is to receive "backup emails".<br />
Only draw back that I see is that you must have at least one writable folder, in case you are calling script via web browser on shared hosting, or ssh access to server to schedule cron job for auto backup.<br />
Oh, and one more thing, it requires that you have installed <a href="http://pear.php.net/" rel="nofollow" title="PEAR home page" target="_blank">PEAR - PHP Extension</a> on your server.<br />
One thing that can be improved is compressing and emailing images and wordpress content directory along with database dump.<br />
So remember, backup early and backup often, don't learn it the hard way!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.smsrobot.com/2009/05/automated-wordpress-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

