<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Green Galaxy</title>
	<atom:link href="http://greengalaxy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://greengalaxy.wordpress.com</link>
	<description>Mobile Development on Galaxy S and Galaxy TAB</description>
	<lastBuildDate>Sun, 03 Apr 2011 13:37:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='greengalaxy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Green Galaxy</title>
		<link>http://greengalaxy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://greengalaxy.wordpress.com/osd.xml" title="Green Galaxy" />
	<atom:link rel='hub' href='http://greengalaxy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Native code and Eclipse</title>
		<link>http://greengalaxy.wordpress.com/2011/04/03/native-code-and-eclipse/</link>
		<comments>http://greengalaxy.wordpress.com/2011/04/03/native-code-and-eclipse/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 13:37:45 +0000</pubDate>
		<dc:creator>greengalaxy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://greengalaxy.wordpress.com/?p=264</guid>
		<description><![CDATA[Using the Android NDK we can leverage native code for sections of code that require high performance. I used a combination of the info in here and here to get the latest NDK integrated with Eclipse. Install necessary components: 1. Download NDK (I downloaded r5b) 2. Download cygwin (when installed cygwin you only need to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=264&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Using the Android NDK we can leverage native code for sections of code that require high performance.</p>
<p>I used a combination of the info in <a href="http://www.rbgrn.net/content/348-get-your-eclipse-integrated-ndk-on">here</a> and <a href="http://www.experts-exchange.com/Programming/Editors_IDEs/Java/Eclipse/A_4125-Building-Android-app-with-NDK-integrated-in-Eclipse-with-CDT.html">here</a> to get the latest NDK integrated with Eclipse.</p>
<p><strong>Install necessary components:</strong><br />
1. Download NDK (I downloaded r5b)<br />
2. Download cygwin (when installed cygwin you only need to select &#8220;make&#8221; under the &#8220;develop&#8221; section&#8230; no need to install everything!)<br />
3. Install CDT module in Eclipse (for C++ development).<br />
4. I also added a reference the &#8220;cygwin\bin&#8221; folder and the &#8220;android sdk folder&#8221; to the PATH.</p>
<p><strong>Change app to also support C++:</strong><br />
1. Open app as per usual in Eclipse<br />
2. Right-click on the project and then &#8220;New -&gt; Convert to C/C++ project&#8221;, and then select &#8220;Makefile project with Other Toolchain&#8221;.<br />
3. Add the references to the android include locations<br />
-  Navigate to C/C++ General -&gt; Paths and Symbols.<br />
-  For both C and for C++ remove all built-in include paths. You will need the following three<br />
[NDK_PATH]\platforms\android-8\arch-arm\usr\include<br />
[NDK_PATH]\toolchains\arm-eabi-4.4.0\prebuilt\windows\lib\gcc\arm-eabi\4.4.0\include<br />
[NDK_PATH]\toolchains\arm-eabi-4.4.0\prebuilt\windows\lib\gcc\arm-eabi\4.4.0\include-fixed</p>
<p><strong>Create build procedure for NDK:</strong><br />
1. Create NATIVE builder<br />
- Right click on your project, pick properties.<br />
- Select &#8220;builders&#8221; from the left-hand list.<br />
- Click &#8220;New&#8230;&#8221; on the right side.<br />
- Select &#8220;Program&#8221; as the configuration type.<br />
- Change the name to &#8220;Native Builder&#8221;<br />
&gt;&gt; Location: [CYGWIN PATH]\bin\bash.exe<br />
&gt;&gt; Working Directory: [CYGWIN PATH]\bin<br />
&gt;&gt; Arguments: <strong>See bottom of post for this info</strong><br />
- Now go to the refresh tab<br />
&gt;&gt; Check &#8220;Refresh resources upon completion&#8221;<br />
&gt;&gt; Select &#8220;Specific resources&#8221;<br />
&gt;&gt; Click on the &#8220;Specify resources&#8221; button and select your project&#8217;s lib directory.<br />
&gt;&gt; Check &#8220;Recursively include sub-folders&#8221;<br />
- Now go to the build options tab<br />
&gt;&gt; Check &#8220;Allocate Console&#8221;<br />
&gt;&gt; Check &#8220;Launch in background&#8221;<br />
&gt;&gt; Check &#8220;Run the builder After a Clean&#8221;<br />
&gt;&gt; Check &#8220;Run the builder During manual builds&#8221;<br />
&gt;&gt; Check &#8220;Run the builder During auto builds&#8221;<br />
&gt;&gt; Check &#8220;Specify working set of relevant resources&#8221;<br />
&gt;&gt; Click on &#8220;Specify Resources&#8221;: Select your project&#8217;s JNI directory and all files within.<br />
- Now click OK on the bottom.<br />
2. Change BUILD behaviour<br />
- Go to Properties -&gt; C/C++ Build -&gt; Builder settings<br />
- Choose the Behavior tab (Properties -&gt; C/C++ Build again)<br />
- Remove target names from both &#8220;Build&#8221; boxes. Leave clean target for the third build type (Clean). </p>
<hr />
<p><strong>[CYGWIN PATH] = Your cygwin path<br />
[NDK_PATH] = Your NDK path</strong></p>
<p><strong>Builder arguments:</strong><br />
&#8211;login -c &#8220;cd /cygdrive/[App JNI folder] &amp;&amp;  /cygdrive/[NDK_PATH]/ndk-build&quot;</p>
<p>Example:<br />
App path = c:\android_dev\test<br />
Ndk path = c:\android-ndk-r5b</p>
<p>&#8211;login -c &quot;cd /cygdrive/c/android_dev/test/jni &amp;&amp;  /cygdrive/c/android-ndk-r5b/ndk-build&quot;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greengalaxy.wordpress.com/264/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greengalaxy.wordpress.com/264/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greengalaxy.wordpress.com/264/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=264&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greengalaxy.wordpress.com/2011/04/03/native-code-and-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">greengalaxy</media:title>
		</media:content>
	</item>
		<item>
		<title>Setup Development Environment</title>
		<link>http://greengalaxy.wordpress.com/2011/04/03/setup-development-environment/</link>
		<comments>http://greengalaxy.wordpress.com/2011/04/03/setup-development-environment/#comments</comments>
		<pubDate>Sun, 03 Apr 2011 12:51:36 +0000</pubDate>
		<dc:creator>greengalaxy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://greengalaxy.wordpress.com/?p=259</guid>
		<description><![CDATA[My android development is done using Eclipse as the development IDE. To install and setup Eclipse I followed the steps outlined here. It is important to note that the Eclipse version that should be downloaded is the &#8220;Eclipse IDE for Java EE Developers&#8221;. This is a larger download but includes a lot of additional modules [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=259&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My android development is done using Eclipse as the development IDE.</p>
<p>To install and setup Eclipse I followed the steps outlined <a href="http://www.vogella.de/articles/Android/article.html">here</a>.</p>
<p>It is important to note that the Eclipse version that should be downloaded is the &#8220;Eclipse IDE for Java EE Developers&#8221;.<br />
This is a larger download but includes a lot of additional modules that are needed for the &#8220;Android modules&#8221;.<br />
I had issues getting the Android modules working with the standard edition due to lots of missing dependencies.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greengalaxy.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greengalaxy.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greengalaxy.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=259&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greengalaxy.wordpress.com/2011/04/03/setup-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">greengalaxy</media:title>
		</media:content>
	</item>
		<item>
		<title>Updating to Froyo</title>
		<link>http://greengalaxy.wordpress.com/2011/02/27/updating-to-froyo/</link>
		<comments>http://greengalaxy.wordpress.com/2011/02/27/updating-to-froyo/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 07:57:36 +0000</pubDate>
		<dc:creator>greengalaxy</dc:creator>
				<category><![CDATA[samsung]]></category>
		<category><![CDATA[froyo]]></category>
		<category><![CDATA[galaxy s]]></category>

		<guid isPermaLink="false">http://greengalaxy.wordpress.com/?p=243</guid>
		<description><![CDATA[Here in South Africa we have a problem with Froyo updates for the Galaxy S. Both the network operators and Samsung locally are now silent on all the issues. With a &#8220;branded&#8221; firmware currently running on my phone I was left with to option but to &#8220;make &#8216;n plan&#8221;. Below is the process that I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=243&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here in South Africa we have a problem with Froyo updates for the Galaxy S.<br />
Both the network operators and Samsung locally are now silent on all the issues.<br />
With a &#8220;branded&#8221; firmware currently running on my phone I was left with to option but to &#8220;make &#8216;n plan&#8221;.</p>
<p><strong>Below is the process that I used – obviously I will not accept any responsibility for any damage/bricking to your phone – but you are welcome to try it. So far I have tried on 2 phones with 100% success rate.</strong></p>
<ul>
<strong>1. Check CSC version.</strong></p>
<li>This is done by &#8220;dialing&#8221; the following number: *2767*4387264636#</li>
<li>You will then know what version of firmware you are using: XFA or XFV or XFM etc.</li>
</ul>
<ul>
<strong>2. Set new market CSC</strong></p>
<li>This is done by &#8220;dialing&#8221; the following number: *#272*[current 24 hour time]#</li>
<li>eg. At 19h55 you need to type in *#272*1955#</li>
<li>Then select XFA… device is wiped and set to XFA device settings.</li>
</ul>
<ul>
<strong>3. Root device </strong></p>
<li>Check out: <a href="http://www.amitbhawani.com/blog/root-unroot-samsung-galaxy-s-i9000/">http://www.amitbhawani.com/blog/root-unroot-samsung-galaxy-s-i9000/</a></li>
<li>Make sure that you unzip this file in a known location&#8230; you need to use the &#8220;adb.exe&#8221; file for another step</li>
</ul>
<ul>
<strong>4. Download terminal app from Market</strong></p>
<li>Open up the market and search for &#8220;terminal emulator&#8221;</li>
</ul>
<ul>
<strong>5. Copy the current product code info onto your PC and edit it</strong></p>
<li>Use ADB.exe from the command prompt (in rar from Step3) to copy off nv_data.bin: <strong>adb pull /efs/nv_data.bin</strong></li>
<li>Edit to say XFA using a HEX editor… Search for XFV/XFM and replace with XFA</li>
<li>I used <a href="http://frhed.sourceforge.net/en/">http://frhed.sourceforge.net/en/</a> as my HEX editor. DO NOT USE A TEXT EDITOR</li>
<li>The info for this step is based on <a href="http://forum.xda-developers.com/showthread.php?t=780509">http://forum.xda-developers.com/showthread.php?t=780509</a></li>
</ul>
<ul>
<strong>6. Terminal:</strong></p>
<li>Open up the terminal that was downloaded in the previous steps and then run</li>
<li>su</li>
<li>chmod 777 /efs/nv_data.bin</li>
<li>mv nv_data.bin nv_data.bin.backup</li>
<li>mv nv_data.bin.md5 nv_data.bin.md5.backup</li>
</ul>
<ul>
<strong>7. Upload edited product code info</strong></p>
<li>Use ADB.exe from the command prompt (in rar from Step4) to copy off nv_data.bin: <strong>adb push nv_data.bin /efs</strong></li>
</ul>
<ul>
<strong>8. Terminal:</strong></p>
<li>Open up the terminal that was downloaded in the previous steps and then run</li>
<li>su</li>
<li>chmod 755 /efs/nv_data.bin</li>
<li>chown radio.radio /efs/nv_data.bin (or chown 1001.1001 /efs/nv_data.bin)</li>
</ul>
<ul>
<strong>9. Check new CSC version.</strong></p>
<li>This is done by &#8220;dialing&#8221; the following number: *2767*4387264636#</li>
<li>This should now say XFA</li>
</ul>
<ul>
<strong>10. KIES.</strong></p>
<li>Plug in to PC and update using KIES</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greengalaxy.wordpress.com/243/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greengalaxy.wordpress.com/243/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greengalaxy.wordpress.com/243/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=243&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greengalaxy.wordpress.com/2011/02/27/updating-to-froyo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">greengalaxy</media:title>
		</media:content>
	</item>
		<item>
		<title>Blog relaunch</title>
		<link>http://greengalaxy.wordpress.com/2010/12/31/blog-relaunch/</link>
		<comments>http://greengalaxy.wordpress.com/2010/12/31/blog-relaunch/#comments</comments>
		<pubDate>Fri, 31 Dec 2010 07:25:21 +0000</pubDate>
		<dc:creator>greengalaxy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://greengalaxy.wordpress.com/?p=240</guid>
		<description><![CDATA[Blog has been relaunched<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=240&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Blog has been relaunched</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/greengalaxy.wordpress.com/240/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/greengalaxy.wordpress.com/240/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/greengalaxy.wordpress.com/240/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=greengalaxy.wordpress.com&amp;blog=5260388&amp;post=240&amp;subd=greengalaxy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://greengalaxy.wordpress.com/2010/12/31/blog-relaunch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">greengalaxy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
