<?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>Arejae.Com &#187; Programming</title>
	<atom:link href="http://www.arejae.com/blogv2/category/programming/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arejae.com/blogv2</link>
	<description>me,myself,english and programming..</description>
	<lastBuildDate>Thu, 22 Jul 2010 07:19:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Javascript to generate Query String</title>
		<link>http://www.arejae.com/blogv2/javascript-to-generate-query-string.html</link>
		<comments>http://www.arejae.com/blogv2/javascript-to-generate-query-string.html#comments</comments>
		<pubDate>Thu, 22 Jul 2010 07:19:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL/ETL]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/javascript-to-generate-query-string.html</guid>
		<description><![CDATA[For my future reference, I know that I will need this later on. &#160; function create_request_string(theForm) { var reqStr = ""; for(i=0; i &#60; theForm.elements.length; i++) { isFormObject = false; switch (theForm.elements[i].tagName) { case "INPUT": switch (theForm.elements[i].type) { case "text": case "hidden": reqStr += theForm.elements[i].name + "=" + encodeURIComponent(theForm.elements[i].value); isFormObject = true; break; case "checkbox": [...]]]></description>
			<content:encoded><![CDATA[<p>For my future reference, I know that I will need this later on.</p>
<p>&nbsp;</p>
<pre class="sql" name="code">
function create_request_string(theForm)
{
var reqStr = "";

for(i=0; i &lt; theForm.elements.length; i++)
{
isFormObject = false;

switch (theForm.elements[i].tagName)
{
case "INPUT":

switch (theForm.elements[i].type)
{
case "text":
case "hidden":
reqStr += theForm.elements[i].name + "=" + encodeURIComponent(theForm.elements[i].value);
isFormObject = true;
break;

case "checkbox":
if (theForm.elements[i].checked)
{
reqStr += theForm.elements[i].name + "=" + theForm.elements[i].value;
}else{
reqStr += theForm.elements[i].name + "=";
}
isFormObject = true;
break;

case "radio":
if (theForm.elements[i].checked)
{
reqStr += theForm.elements[i].name + "=" + theForm.elements[i].value;
isFormObject = true;
}
}
break;

case "TEXTAREA":

reqStr += theForm.elements[i].name + "=" + encodeURIComponent(theForm.elements[i].value);
isFormObject = true;
break;

case "SELECT":
var sel = theForm.elements[i];
reqStr += sel.name + "=" + sel.options[sel.selectedIndex].value;
isFormObject = true;
break;
}

if ((isFormObject) &amp;&amp; ((i+1)!= theForm.elements.length))
{
reqStr += "&amp;";
}

}

return reqStr;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/javascript-to-generate-query-string.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first blackberry application. MyLampu</title>
		<link>http://www.arejae.com/blogv2/my-first-blackberry-application-mylampu.html</link>
		<comments>http://www.arejae.com/blogv2/my-first-blackberry-application-mylampu.html#comments</comments>
		<pubDate>Sat, 05 Jun 2010 03:21:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/my-first-blackberry-application-mylampu.html</guid>
		<description><![CDATA[Previously, I&#8217;m having a problem to run my apps on blackberry device. It&#8217;s giving me attempts-to-access-a-security-api-error. After getting my BlackBerry JDE Signature key, now I can run it without a problem. In Eclipse, it will show something like below. We can see the required RIM Runtime API(RRT) has been signed &#160; &#160; MyLampu is a [...]]]></description>
			<content:encoded><![CDATA[<p>Previously, I&#8217;m having a problem to run my apps on blackberry device. It&#8217;s giving me <a href="http://www.arejae.com/blogv2/blackberry-programming-attempts-to-access-a-security-api-error.html">attempts-to-access-a-security-api-error</a>. After getting my BlackBerry JDE Signature key, now I can run it without a problem. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>In Eclipse, it will show something like below. We can see the required RIM Runtime API(RRT) has been signed</p>
<p><a href="http://www.arejae.com/blogv2/wp-content/uploads/2010/06/2010-06-06_020555.png"><img alt="2010-06-06 020555" align="left" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/06/2010-06-06_020555-small.png" width="450" height="38" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><img alt="Capture2 55 55" align="left" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/06/capture2_55_55-1.jpg" width="225" height="168" />MyLampu is a simple application where it starts the video camera, and the flash light comes on immediately.</p>
<p>It&#8217;s something like a torchlight.</p>
<p><img alt="buka" align="left" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/06/buka.png" width="225" height="50" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>It&#8217;s cool right ? you can write your own Java code and communicate with your blackberry device <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>p/s: anyone into blackberry programming ?</p>
<p>p/s: I&#8217;m having a very big problem in my life&#8230;but I won&#8217;t blog it here.. Perhaps time will be my best medicine.Good luck to me. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/my-first-blackberry-application-mylampu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advance Shell Command &#8211; Remove .svn folders in Windows.</title>
		<link>http://www.arejae.com/blogv2/advance-shell-command-remove-svn-folders-in-windows.html</link>
		<comments>http://www.arejae.com/blogv2/advance-shell-command-remove-svn-folders-in-windows.html#comments</comments>
		<pubDate>Mon, 31 May 2010 15:43:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[:Else:]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/advance-shell-command-remove-svn-folders-in-windows.html</guid>
		<description><![CDATA[If you are using subversion source control, you should know that there are hidden folders named .svn inside your project. If you need to deploy the apps to the server, you should consider to remove all the .svn folder first. Thanks to Jon Galloway. I found out the easiest way to do that. Step 1. [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using subversion source control, you should know that there are hidden folders named .svn inside your project. If you need to deploy the apps to the server, you should consider to remove all the .svn folder first.</p>
<p>Thanks to <a href="http://weblogs.asp.net/jgalloway/archive/2007/02/24/shell-command-remove-svn-folders.aspx" target="_blank">Jon Galloway</a>. I found out the easiest way to do that.</p>
<p>Step 1. Copy below code, put it into the file and name it to <strong>whatever.reg</strong></p>
<pre class="vb" name="code">
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN]
@="Delete SVN Folders"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN\command]
@="cmd.exe /c \"TITLE Removing SVN Folders in %1 &amp;&amp; COLOR 9A &amp;&amp; FOR /r \"%1\" %%f IN (.svn) DO RD /s /q \"%%f\" \""
</pre>
<p>Step 2. Right click the file and merge.</p>
<p><img alt="svn merge" align="left" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/05/svn_merge.png" width="311" height="88" /></p>
<p><span id="more-719"></span>
<p>Step 3. Now you can go to the folder, right click and you can see new context menu.</p>
<p><img alt="svn delete" align="left" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/05/svn_delete.png" width="237" height="59" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now you know what you should do next right ? <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>That&#8217;s all.</p>
<p>Till then..Happy coding&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/advance-shell-command-remove-svn-folders-in-windows.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Hello World in BlackBerry</title>
		<link>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html</link>
		<comments>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html#comments</comments>
		<pubDate>Tue, 16 Feb 2010 18:54:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html</guid>
		<description><![CDATA[After following some of the BlackBerry developer tutorials here and here, I finally manage to run my first BlackBerry application. It&#8217;s cool. Here is my BlackBerry screenshot taken by CaptureIt Why develop for BlackBerry ??]]></description>
			<content:encoded><![CDATA[<p>After following some of the BlackBerry developer tutorials <a href="http://na.blackberry.com/eng/developers/resources/tutorials.jsp#tab_tab_development" target="_blank">here</a> and <a href="http://www.devx.com/wireless/Article/27869/1954" target="_blank">here</a>, I finally manage to run my first BlackBerry application. It&#8217;s cool. <img src='http://www.arejae.com/blogv2/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here is my BlackBerry screenshot taken by <a href="http://www.thetechmogul.com/CaptureIt/" target="_blank">CaptureIt</a></p>
<p><img alt="Capture19 20 23" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/capture19_20_23.jpg" width="240" height="183" /></p>
<p>Why develop for BlackBerry ??</p>
<p><img alt="whyBB" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/whybb.png" width="450" height="219" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/my-first-hello-world-in-blackberry.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to change SVN URL in Eclipse</title>
		<link>http://www.arejae.com/blogv2/how-to-change-svn-url-in-eclipse.html</link>
		<comments>http://www.arejae.com/blogv2/how-to-change-svn-url-in-eclipse.html#comments</comments>
		<pubDate>Mon, 08 Feb 2010 00:02:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.arejae.com/blogv2/how-to-change-svn-url-in-eclipse.html</guid>
		<description><![CDATA[For whatever reason, sometimes you will need to change your SVN URL. Perhaps you need to place the server to a new building and change the ip address. After the changes, you cannot commit to that server using your eclipse. To solve the problem, you can relocate your SVN server and change to the new [...]]]></description>
			<content:encoded><![CDATA[<p>For whatever reason, sometimes you will need to change your SVN URL. Perhaps you need to place the server to a new building and change the ip address. After the changes, you cannot commit to that server using your eclipse.</p>
<p>To solve the problem, you can <strong>relocate</strong> your SVN server and change to the new URL. Look at the image below and you will know that it&#8217;s very easy</p>
<p><u>Open up SVN Repositories perspective in eclipse</u>.</p>
<p><img alt="SVN Relocate" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/svn_relocate.png" width="410" height="278" /></p>
<p><span id="more-668"></span>
<p><u>Change to the new URL.</u></p>
<p><img alt="SVN Relocate2" src="http://www.arejae.com/blogv2/wp-content/uploads/2010/02/svn_relocate2.png" width="299" height="158" /></p>
<p>That&#8217;s all.</p>
<p>Till then&#8230;happy coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.arejae.com/blogv2/how-to-change-svn-url-in-eclipse.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
