
<?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>Boring Monday</title>
	<atom:link href="http://www.boringmonday.com/jc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.boringmonday.com/jc</link>
	<description>It&#039;s a cycle..</description>
	<lastBuildDate>Tue, 11 Oct 2011 06:14:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Readability</title>
		<link>http://www.boringmonday.com/jc/2011/03/30/readability/</link>
		<comments>http://www.boringmonday.com/jc/2011/03/30/readability/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 01:12:58 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=436</guid>
		<description><![CDATA[Readability is an awesome tool to convert ugly/messy/unreadable web pages to a comfortable and clean view for your reading pleasure. It&#8217;s an addon/extension to Firefox, Safari and Chrome users and bookmarklet for IE. For example, this java tutorial, cluttered with ads. A simple click on the Readability button and TADAAA: You can also adjust the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.readability.com/">Readability</a> is an awesome tool to convert ugly/messy/unreadable web pages to a comfortable and clean view for your reading pleasure.</p>
<p>It&#8217;s an addon/extension to Firefox, Safari and Chrome users and <a href="http://en.wikipedia.org/wiki/Bookmarklet" target="_blank">bookmarklet</a> for IE.</p>
<p>For example, this java tutorial, cluttered with ads.</p>
<div id="attachment_437" class="wp-caption alignnone" style="width: 735px"><a href="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/ads.png"><img class="size-full wp-image-437" title="Clutter with ads" src="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/ads.png" alt="" width="725" height="504" /></a><p class="wp-caption-text">Clutter with ads</p></div>
<p>A simple click on the Readability button and TADAAA:</p>
<div id="attachment_438" class="wp-caption alignnone" style="width: 724px"><a href="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/read1.png"><img class="size-full wp-image-438" title="Readability" src="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/read1.png" alt="" width="714" height="413" /></a><p class="wp-caption-text">After Readability is turned on</p></div>
<p>You can also adjust the font size, width and color theme to your liking.</p>
<div id="attachment_442" class="wp-caption alignnone" style="width: 954px"><a href="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/read2.png"><img class="size-full wp-image-442" title="Readability's Settings" src="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/read2.png" alt="" width="944" height="470" /></a><p class="wp-caption-text">Readability&#39;s Settings</p></div>
<p>Give it a try, you will definitely like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2011/03/30/readability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 4 scrolling &amp; tab change lag</title>
		<link>http://www.boringmonday.com/jc/2011/03/25/firefox-4-scrolling-tab-change-lag/</link>
		<comments>http://www.boringmonday.com/jc/2011/03/25/firefox-4-scrolling-tab-change-lag/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 01:33:29 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=431</guid>
		<description><![CDATA[If you encounter some lagging issue upon scrolling a page or switching tabs in Firefox 4, try to disable the hardware acceleration(Firefox -&#62; Options -&#62; Advanced -&#62; General)]]></description>
			<content:encoded><![CDATA[<p>If you encounter some lagging issue upon scrolling a page or switching tabs in Firefox 4, try to disable the hardware acceleration(Firefox -&gt; Options -&gt; Advanced -&gt; General)</p>
<p><a href="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/hwacc.png"><img class="alignmid size-full wp-image-432" title="hwacc" src="http://www.boringmonday.com/jc/wp-content/uploads/2011/03/hwacc.png" alt="Where to disable hardware acceleration" width="485" height="481" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2011/03/25/firefox-4-scrolling-tab-change-lag/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Spot Diff: Dragon Ball</title>
		<link>http://www.boringmonday.com/jc/2011/03/06/spot-diff-dragon-ball/</link>
		<comments>http://www.boringmonday.com/jc/2011/03/06/spot-diff-dragon-ball/#comments</comments>
		<pubDate>Sun, 06 Mar 2011 04:28:10 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=425</guid>
		<description><![CDATA[Fixed some bug and launched Spot Diff : Dragon Ball]]></description>
			<content:encoded><![CDATA[<p>Fixed some bug and launched Spot Diff : Dragon Ball</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2011/03/06/spot-diff-dragon-ball/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spot Diff: One Piece</title>
		<link>http://www.boringmonday.com/jc/2011/02/28/spot-diff-one-piece/</link>
		<comments>http://www.boringmonday.com/jc/2011/02/28/spot-diff-one-piece/#comments</comments>
		<pubDate>Mon, 28 Feb 2011 04:25:04 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=420</guid>
		<description><![CDATA[Released my 2nd app / first game to Android market.]]></description>
			<content:encoded><![CDATA[<p>Released my 2nd app / first game to Android market. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2011/02/28/spot-diff-one-piece/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best explanation of FPS</title>
		<link>http://www.boringmonday.com/jc/2010/12/13/best-explanation-of-fps/</link>
		<comments>http://www.boringmonday.com/jc/2010/12/13/best-explanation-of-fps/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 06:30:38 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=413</guid>
		<description><![CDATA[Lately I am quite into Android gaming development and I did some reading on the topic and came across this best explanation of FPS in my opinion. We measure the rendering in FPS which stands for frames per second. If we have 30FPS that means that we display 30 images every second. For a mobile [...]]]></description>
			<content:encoded><![CDATA[<p>Lately I am quite into Android gaming development and I did some reading on the topic and came across this best explanation of FPS in my opinion.</p>
<blockquote><p>We measure the rendering in FPS which stands for <em>frames per second</em>.  If we have 30FPS that means that we display 30 images every second. For  a mobile device 30 FPS is great so we will aim for that.</p>
<p><strong>Just imagine someone walking and close your eyes for exactly one second.  After opening your eyes you will see the person in the position after  one second. This is a 2FPS.</strong><br />
Source &#8211; <a href="http://obviam.net/index.php/2-1-a-little-about-game-architecture">http://obviam.net/index.php/2-1-a-little-about-game-architecture</a>/</p></blockquote>
<p>I never thought it could be explained this way! haha</p>
<p>Anyway, the posted link as above gives a good overall idea and implementation on how to develop a game (surface view is used, main game loop to update the UI running on another thread etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/12/13/best-explanation-of-fps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moved to Telok Blangah</title>
		<link>http://www.boringmonday.com/jc/2010/12/01/moved-to-telok-blangah/</link>
		<comments>http://www.boringmonday.com/jc/2010/12/01/moved-to-telok-blangah/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 15:51:18 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=410</guid>
		<description><![CDATA[Moved to Telok Blangah&#8230;exhausted!]]></description>
			<content:encoded><![CDATA[<p>Moved to Telok Blangah&#8230;exhausted!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/12/01/moved-to-telok-blangah/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sqlite database on your Android Emulator</title>
		<link>http://www.boringmonday.com/jc/2010/11/22/sqlite-database-on-your-android-emulator/</link>
		<comments>http://www.boringmonday.com/jc/2010/11/22/sqlite-database-on-your-android-emulator/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 12:26:08 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=386</guid>
		<description><![CDATA[I started to look into using databases with Android for my first application and searching high and low over the internet, this is what I&#8217;ve compiled. One may ask where does the sqlite database of the emulator is being stored on the hard disk of your PC, well, the files ystem of the emulator does [...]]]></description>
			<content:encoded><![CDATA[<p>I started to look into using databases with Android for my first application and searching high and low over the internet, this is what I&#8217;ve compiled. One may ask where does the sqlite database of the emulator is being stored on the hard disk of your PC, well, the files ystem of the emulator does not map to a directory on your hard drive. It&#8217;s stored as an image.</p>
<p>Sqlite database on your Android emulator</p>
<p>1.Create it in <strong>onCreate()</strong> when your app first launched:</p>
<p>According to<a href="http://developer.android.com/guide/topics/data/data-storage.html#db" target="_blank"> Using Databases | Android developer</a>:</p>
<blockquote><p>The recommended method to create a new SQLite database is to create a subclass of <code><a href="http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html">SQLiteOpenHelper</a></code> and override the <code><a href="http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html#onCreate%28android.database.sqlite.SQLiteDatabase%29">onCreate()</a></code> method, in which you can execute a SQLite command to create tables in the database</p></blockquote>
<p>There&#8217;s a sample coding on how to populate the DB programmatically here at the <a href="http://developer.android.com/guide/topics/data/data-storage.html#db" target="_blank">Data Storage| Android developer</a>.</p>
<p>2. Create the sqlite database on your PC and adb push it to your emulator.</p>
<p>- Use the <a title="adb" href="http://developer.android.com/guide/developing/tools/adb.html" target="_blank">Android Debug Bridge (adb)</a> pull/push to retrieve a copy of the database on your   Android emulator, populate it and put it back on the emulator.</p>
<ul>
<li>Fire up your emulator.</li>
<li>Open up your command shell (Start -&gt; Run -&gt; type in cmd):</li>
</ul>
<p><img src="file:///C:/Users/SteD/AppData/Local/Temp/moz-screenshot.png" alt="" /></p>
<p><a href="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/adb-pull.png"><img class="alignnone size-full wp-image-398" title="adb pull" src="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/adb-pull.png" alt="adb pull" width="937" height="57" /></a></p>
<p>Your database will be stored in data/data/&lt;package name&gt;/databases/&lt;db name of your choice&gt;</p>
<p>The full command as the screenshot above is:</p>
<p><strong>adb pull data/data/com.chien.programmersquote/databases/quote local_database</strong></p>
<p>&#8216;quote&#8217; is the DB that is stored on the emulator and obviously local_database is the DB file name I will be downloading my database to at C:\users\Sted\</p>
<p>After that you could manipulate the DB using one of the tools available freely, namely the <a title="SQlite Manager" href="https://addons.mozilla.org/en-US/firefox/addon/5817" target="_blank">firefox addon</a>, <a title="Sqlite Database Browser" href="http://sqlitebrowser.sourceforge.net/" target="_blank">Sqlite Database Browser</a>,  <a title="SqliteSpy" href="http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index" target="_blank">SqliteSpy</a>.</p>
<p>In the emulator you can access these database files directly; when connecting  to a real phone however you will need <strong>root access</strong> to access the database files  directly.</p>
<p>3. Import/Export via DDMS from Eclips</p>
<p>Inside Eclipse while the emulator is running, you can see your file hierarchy by going to <strong>Window -&gt; Show  View -&gt; Other.. -&gt; Android -&gt; File Explorer</strong> ( or just click on the <a title="DDMS" href="http://developer.android.com/guide/developing/tools/ddms.html" target="_blank">DDMS </a>icon)</p>
<p><a href="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/ddms.png"><img class="alignnone size-full wp-image-400" title="ddms" src="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/ddms.png" alt="ddms" width="493" height="185" /></a></p>
<p>It took me some time to figure out the there are 3 buttons here on the DDMS page that serves as adb pull, adb push and delete file.  Navigate to your database at data/data/&lt;package name&gt;/databases/ and just click on the button to either download / upload / delete the database.</p>
<p><a href="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/ddms.png"></a><a href="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/buttons-on-ddms.png"><img class="alignnone size-full wp-image-401" title="buttons on ddms" src="http://www.boringmonday.com/jc/wp-content/uploads/2010/11/buttons-on-ddms.png" alt="" width="473" height="175" /></a></p>
<p>Hope it helps. Ways described above are just generally some ways to deal with populating the database on your emulator for testing purposes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/11/22/sqlite-database-on-your-android-emulator/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Shuant in SG</title>
		<link>http://www.boringmonday.com/jc/2010/11/22/shuant-in-sg/</link>
		<comments>http://www.boringmonday.com/jc/2010/11/22/shuant-in-sg/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 11:16:03 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=394</guid>
		<description><![CDATA[Shuant came to Singapore from 19th night to 21st night]]></description>
			<content:encoded><![CDATA[<p>Shuant came to Singapore from 19th night to 21st night</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/11/22/shuant-in-sg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Penang trip 12th Nov till 14th Nov</title>
		<link>http://www.boringmonday.com/jc/2010/11/12/penang-trip-12th-nov-14th-nov/</link>
		<comments>http://www.boringmonday.com/jc/2010/11/12/penang-trip-12th-nov-14th-nov/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 06:34:03 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[timeline]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=383</guid>
		<description><![CDATA[Went back to Penang to sign a bank loan]]></description>
			<content:encoded><![CDATA[<p>Went back to Penang to sign a bank loan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/11/12/penang-trip-12th-nov-14th-nov/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Android HierarchyViewer tool missing</title>
		<link>http://www.boringmonday.com/jc/2010/11/05/android-hierarchyviewer-tool-missing/</link>
		<comments>http://www.boringmonday.com/jc/2010/11/05/android-hierarchyviewer-tool-missing/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 09:31:19 +0000</pubDate>
		<dc:creator>SteD</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.boringmonday.com/jc/?p=376</guid>
		<description><![CDATA[After some googling, it happens that this tool is missing in sdk07 for windows. Weird enough, it&#8217;s packed as a jar file under the /lib folder in the Android sdk. Execute this in your command prompt and you should get your hierarchy view up and running. java -jar ./lib/hierarchyviewer.jar Note that you need to add [...]]]></description>
			<content:encoded><![CDATA[<p>After some <a href="http://achorniy.wordpress.com/2010/10/29/android-hierarchyviewer-missed-sdkr07/" target="_blank">googling</a>, it happens that this tool is missing in sdk07 for windows.</p>
<p>Weird enough, it&#8217;s packed as a<a href="http://en.wikipedia.org/wiki/JAR_%28file_format%29" target="_blank"> jar file</a> under the /lib folder in the Android sdk.</p>
<p>Execute this in your command prompt and you should get your hierarchy view up and running.</p>
<blockquote>
<pre>java -jar ./lib/hierarchyviewer.jar</pre>
</blockquote>
<p>Note that you need to <a href="http://www.cs.princeton.edu/introcs/15inout/windows-cmd.html" target="_blank">add the Java interpreter <em>java</em> to the System Variables-&gt;PATH</a> to execute the above script.</p>
<p>After that, you could create a .bat file(put the above one line command in the .bat file) and put it in your tools folder to fire up the hierarchy view(with lesser typing).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.boringmonday.com/jc/2010/11/05/android-hierarchyviewer-tool-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.593 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-21 16:29:43 -->

