<?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>kBLOG &#187; Mobile</title>
	<atom:link href="http://blog.amr-gawish.com/tag/mobile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.amr-gawish.com</link>
	<description>All things about Life, Oracle Middleware and Technology</description>
	<lastBuildDate>Mon, 26 Dec 2011 07:08:18 +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>Arabic SMS Reader v1.0.1</title>
		<link>http://blog.amr-gawish.com/55/arabic-sms-reader-v101/</link>
		<comments>http://blog.amr-gawish.com/55/arabic-sms-reader-v101/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 02:05:18 +0000</pubDate>
		<dc:creator>agawish</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[arabic]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.amr-gawish.com/?p=55</guid>
		<description><![CDATA[Dear All, I&#8217;ve published my first Android application Arabic SMS Reader v1.0.0 search for it in the market and give it a test. Unfortunately I cant test it on my emulator, so I&#8217;m having faith in you guys to tell  &#8230; <a href="http://blog.amr-gawish.com/55/arabic-sms-reader-v101/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-56" title="Arabic Android" src="http://blog.amr-gawish.com/wp-content/uploads/2009/02/picture-3-300x254.png" alt="Arabic Android" width="300" height="254" /></p>
<p>Dear All,</p>
<p>I&#8217;ve published my first Android application Arabic SMS Reader v1.0.0 search for it in the market and give it a test.</p>
<p>Unfortunately I cant test it on my emulator, so I&#8217;m having faith in you guys to tell  me, if it works well or not <img src='http://blog.amr-gawish.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The Application is simple, it suppose to have the sms inbox just as u open it, and when clicking on one item, it supposed to reveal your message into its right arabic format.</p>
<p>If you have any feedback dont hesitate to tell me at once, thanks <img src='http://blog.amr-gawish.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amr-gawish.com/55/arabic-sms-reader-v101/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Arabic Language in Android</title>
		<link>http://blog.amr-gawish.com/39/arabic-language-in-android/</link>
		<comments>http://blog.amr-gawish.com/39/arabic-language-in-android/#comments</comments>
		<pubDate>Mon, 19 Jan 2009 22:58:29 +0000</pubDate>
		<dc:creator>agawish</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[agawish]]></category>
		<category><![CDATA[Amr Gawish]]></category>
		<category><![CDATA[arabic]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://blog.amr-gawish.com/?p=39</guid>
		<description><![CDATA[Thanks to Ahmad Essam&#8216;s Article about google android, I had the ArabicReshaper.java file and made some enhancements. With the help of this person, I was able to develop my first Arabic writer program that proves that Android is Arabic support &#8230; <a href="http://blog.amr-gawish.com/39/arabic-language-in-android/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_40" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-40" title="Arabic Android" src="http://blog.amr-gawish.com/wp-content/uploads/2009/01/arabic-300x187.png" alt="Arabic Android" width="300" height="187" /><p class="wp-caption-text">Arabic Android</p></div>
<p>Thanks to <a href="http://www.ahmed-essam.com/2007/11/applicability-for-arabizing-android.html" target="_blank">Ahmad Essam</a>&#8216;s Article about google android, I had the ArabicReshaper.java file and made some enhancements.</p>
<p>With the help of this person, I was able to develop my first Arabic writer program that proves that Android is Arabic support and hopefully to have a fully functional application that read/write Arabic and may help other applications that need Arabic support to find their purpose perfectly.</p>
<p><span style="color: #993300;">Updated</span>: now check this <a href="http://blog.amr-gawish.com/55/arabic-sms-reader-v101arabic-sms-reader-v101/">link</a> for the SMS Arabic Mobile Manager</p>
<p><span id="more-39"></span>First the file lacked some enhancements regarding the placing of the letters, but it almost was complete, i only did a small touch and it was complete.</p>
<p>But the Reshaper class is only processing one word, it couldnt be a good success to combine arabic english letters, or add a space, so i made my helper class, ArabicUtilities.java with four functions in it, to determine if the text contain arabic letters, and to reshape a whole text containing english, Arabic and others.</p>
<p>The Tricky part was to insert the font to be working with, as described in Ahmad Essam&#8217;s blog article &#8220;<a href="http://www.ahmed-essam.com/2007/12/how-do-arabization-works-idea-behind.html" target="_blank">How Does Arabization Work</a>&#8221; that the free type font is already supported, and BiDi is already supported, so just reshaping and have a freetype font and your good to go, so how to load my arabic free type font library without having to force it in my SDK, because it wouldnt be reasonable to have this in a real working mobile.</p>
<p>The answer to that is really simple actually, in Android they provided a great thing called Asset Manager where i can have my read-only files to load them as streams or with whatever way i want -helpful for configurations and stuff-, and with a little help of java Font library it was done by only a few lines of code here is the snippet</p>
<blockquote><p><code><br />
AssetManager manager=this.getAssets();<br />
try<br />
{<br />
manager.open("tahoma.ttf");<br />
TextView tv=(TextView)this.findViewById(R.id.testMe);<br />
tv.setTypeface(Typeface.createFromAsset(manager, "tahoma.ttf"));<br />
tv.setTextSize(50f);<br />
tv.setText(ArabicUtilities.reshape("adsdads الحمد لله asdad"));<br />
}catch(Exception ex){<br />
//TODO<br />
}</code></p></blockquote>
<p>and Hopp it all went great, and my android start reading Arabic like it was born doing it!</p>
<p>I&#8217;ll be putting the solution online for download soon, just need to modify few issues first.</p>
<p><strong><span style="color: #993300;">Updated</span>: now check this <a href="http://blog.amr-gawish.com/55/arabic-sms-reader-v101arabic-sms-reader-v101/">link</a> for the SMS Arabic Mobile Manager</strong></p>
<p><strong><span style="color: #993300;">Updated</span>: new news considering Android Application in <a title="Arabic Reshaper goes Open Source" href="http://blog.amr-gawish.com/110/arabic-reshaper-goes-open-source-codename-bar-better-arabic-reshaper">here</a> </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.amr-gawish.com/39/arabic-language-in-android/feed/</wfw:commentRss>
		<slash:comments>172</slash:comments>
		</item>
	</channel>
</rss>

