<?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>Reflections of a scattered Mind !! &#187; android</title>
	<atom:link href="http://blog.saionline.co.in/tag/android/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.saionline.co.in</link>
	<description>&#34;Not all scattered pieces are of broken glass&#34;</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:56:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
<cloud domain='blog.saionline.co.in' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Learning Android : Why I moved away from Eclipse</title>
		<link>http://blog.saionline.co.in/2011/11/learning-android-why-i-moved-away-from-eclipse/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=learning-android-why-i-moved-away-from-eclipse</link>
		<comments>http://blog.saionline.co.in/2011/11/learning-android-why-i-moved-away-from-eclipse/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 20:55:40 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[IDE]]></category>
		<category><![CDATA[IntelliJ IDEA]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=388</guid>
		<description><![CDATA[So, after a very long break, I started back with getting familiar with Android development&#8230; Felt happy seeing that Google has made a lot of improvements / features in the ADT. But, everything evaporated when I tried to debug an app on my machine, and got this error: &#8220;Android Packaging Problem:  [...]]]></description>
			<content:encoded><![CDATA[<p>So, after a very long break, I started back with getting familiar with Android development&#8230; Felt happy seeing that Google has made a lot of improvements / features in the ADT. But, everything evaporated when I tried to debug an app on my machine, and got this error: &#8220;Android Packaging Problem: resources.ap_ does not exist&#8221;. I tried cleaning the project, restarted Eclipse, and re-creating the Eclipse project and this error didn&#8217;t go away&#8230; Googling it also didn&#8217;t help much&#8230; Then, I went to sleep&#8230;.</p>
<p>The next day, to my surprise, there was no error and I was able to debug my app, at last&#8230; But, it didn&#8217;t last long&#8230; After 3 hours, the same error is back&#8230;. It looked like this ADT solves everything else (Resource Editors, WYSIWYG Editor etc.) but the basic task it is supposed to do (Basic compiling / packaging / debugging)&#8230;</p>
<p>Now that perfect mood is set to go hunting for a new and *reliable* IDE, I searched in <a href="http://www.stackoverflow.com" target="_blank">stackoverflow.com</a> for answers&#8230; Found some thread saying <a href="http://www.jetbrains.com/idea/features/google_android.html" target="_blank">IntelliJ IDEA</a> is good&#8230;. So, downloaded it, downloaded its dependencies (JSDK 1.6) and installed them&#8230; And there is no turning back&#8230; I don&#8217;t miss the resource.ap_ error at all&#8230;</p>
<p><strong>The Pros of IDEA:</strong></p>
<ol>
<li><strong></strong>Reliable (unlike ADT for Eclipse) at compiling and packaging&#8230;</li>
<li>Supports the Android &#8220;Library&#8221; projects also&#8230; (Tried it with <a href="https://github.com/cyrilmottier/GreenDroid" target="_blank">GreenDroid</a>, and worked without a glitch)</li>
<li>Import Eclipse projects directly&#8230;</li>
<li>Integrated github support (and a few more Version Controls)</li>
<li>Decent enough features, for Refactoring, Imports optimization, Code completion etc.</li>
</ol>
<p><strong>The Cons:</strong></p>
<p>This could become a big list, but the reliability when compared to Eclipse beats everything in the below list combined..at least for me&#8230;</p>
<ol>
<li>Page Scrolling &#8211; Cannot use the Mouse Scroll.. Need to click on scrollbar and scroll it down.. <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>Logcat sucks!! The one in Eclipse is hell lot better.. Seriously needs Filter by Application, Colored text based on log level, and saved searches.. A simple textarea doesn&#8217;t justify such an important feature..</li>
<li>The keyboard shortcuts are completely different from Eclipse.. Why doesn&#8217;t IDEs come with keyboard binding set of other IDEs that user can choose to use? <img src='http://blog.saionline.co.in/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>Memory hogger, seems to be more than Eclipse.. Could it be because of Swing &amp; Java?</li>
<li>Basic XML Editor &#8211; There are no Android Resource Editors&#8230;. I prefer to write XML files by hand, though&#8230;</li>
<li>Some code warnings may misguide you.. It keeps telling me that <a href="http://developer.android.com/reference/android/database/Cursor.html" target="_blank">Cursor</a> cannot be NULL, though I have personally seen cases where it will be&#8230;</li>
</ol>
<p>In simpler words, IDEA may not be as good as Eclipse in general, but for Android development, it is certainly a better choice&#8230; at least for now..</p>
<p>Atleast, you&#8217;ll know you are frustrated not because of IDE&#8230; (Trust me, frustration because of an IDE, instead of logic/code isn&#8217;t even worth trying to know.. )</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2011/11/learning-android-why-i-moved-away-from-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learning Android: Part I</title>
		<link>http://blog.saionline.co.in/2010/07/learning-android-part-one/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=learning-android-part-one</link>
		<comments>http://blog.saionline.co.in/2010/07/learning-android-part-one/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 17:10:58 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/?p=225</guid>
		<description><![CDATA[I will use this post to talk about my &#8216;Getting familiar with Android&#8217; learning. As announced in the last post, I&#8217;ve started learning Android, but not even at half-pace as I wanted to.
Anyways, let me tell what I&#8217;m doing in learning. I&#8217;m using ADT on Eclipse Helios and using the Emulator for testing  [...]]]></description>
			<content:encoded><![CDATA[<p>I will use this post to talk about my &#8216;Getting familiar with Android&#8217; learning. As announced in the last post, I&#8217;ve started learning Android, but not even at half-pace as I wanted to.</p>
<p>Anyways, let me tell what I&#8217;m doing in learning. I&#8217;m using ADT on Eclipse Helios and using the Emulator for testing purposes. Currently focusing on the samples present along with Android SDK. Gone through the Application Fundamentals available along with the SDK.</p>
<p>Interesting Things:</p>
<ul>
<li>Most importantly, its good to see myself learning the things I&#8217;m interested in from the start (FYI, I always have that thing for Web &amp; Mobile Development)</li>
<li>Very clear &amp; highly helpful documentation (and, also downloadable). And the docs are developer-focused &amp; also lays emphasis on good practices at every step, like i18n, using resources instead of hard-coded strings etc. etc..</li>
<li>Separation of layout of the app and the application logic (supports XML files for layout). I get the feeling this is inspired from Flex (mxml &amp; as), but I don&#8217;t know.</li>
<li>Provides a very good mechanisms for interoperability between various applications. Simply said, I can use the capabilities of other applications installed, and also I can expose my app&#8217;s capabilities to other apps. Also, Android search also integrates good with any application&#8217;s search.</li>
<li>Application Development is done in Java, which is said to be a very developer-friendly. I can utilize this to brush my skills in java, as I have other plans to work in Java in some not-so-far future.</li>
</ul>
<p>Annoying Things:</p>
<ul>
<li>Tabs are NOT simple to use. I&#8217;d prefer a way to declare tabs and its contents in the XML itself.</li>
<li>In TabHost, mandatory referencing of elements to&#8217; tabs&#8217; &amp; &#8216;tabcontent&#8217; doesn&#8217;t look like a good programming feature.</li>
<li>Missing the tabs &amp; tabcontent id referencing in the TabHost would give no error / warning by Compiler, but fails at Runtime, without any proper information (even while debugging)</li>
<li>Emulator takes very long time to start. So, its preferred not to close the emulator after every run. (start along with eclipse and close it before closing eclipse)</li>
<li>Emulator keyboard shortcuts &#8211; Not too easy to remember (like, Ctrl + F12 for Toggle Portrait / Landscape modes). I&#8217;d have preferred if the emulator itself has a help button, to show the shortcuts.</li>
<li>Nothing to do with Android, but the bug in Helios (Eclipse Web tools plug-in) has become a pain, forcing me not to us any features while editing resources. Bug &#8211; https://bugs.eclipse.org/bugs/show-bug.cgi?id=318108</li>
<li>Again, may not be related to ADT (frankly, I don&#8217;t know), but the auto-complete context is very slow, taking 30-60 seconds (which is tooooo long, btw). Here again, I&#8217;m forced to disable Auto-Activation of context Assist at &#8216;Window -&gt; Preferences -&gt; Java -&gt; Editor -&gt; Context Assist -&gt; Enable Auto Activation&#8217;</li>
<li>I  can&#8217;t run the application when my focus is on layout files (on resource files, for that matter). I always need to switch to a java file, to run (Ctrl + F11) the application</li>
<li>The layout filenames cannot contain uppercase letters. If it contains, the error shown doesn&#8217;t help in identifying it</li>
</ul>
<p>Unclear points for me:</p>
<ul>
<li>In Android XML, for TabHost, @android:id/tabhost works ( i.e; referencing other element with tabhost id ). How can access this element from my Activity class? (since, no reference is created in R.id )</li>
<li>Is XML compiled ? Or interpreted at Runtime? If compiled, how can I see the generated Java (?) files? (something similar to -keep compiler option in Flash Builder)</li>
<li>And many other things (like, working of Intent, i18n, logging), but these are somethings I need to learn as I dive further in android..</li>
</ul>
<p>Tasks for coming days:</p>
<ul>
<li>Finish the Tutorials in the resources, and then go to the samples folder available with the SDK.</li>
<li>Try to make a couple of simple *usable* apps, so that I get enough practice with the SDK APIs</li>
</ul>
<p>Also, attaching the projects <a title="HelloAndroid.zip" href="http://blog.saionline.co.in/wp-content/uploads/2010/07/HelloAndroid.zip">HelloAndroid.zip</a> and <a title="HelloViews.zip" href="http://blog.saionline.co.in/wp-content/uploads/2010/07/HelloViews.zip">HelloViews.zip</a> I made during my learning.</p>
<p>Wish me that I gain pace in learning Android over the next few weeks&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2010/07/learning-android-part-one/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing Android !!!</title>
		<link>http://blog.saionline.co.in/2009/04/installing-android/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=installing-android</link>
		<comments>http://blog.saionline.co.in/2009/04/installing-android/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 18:01:00 +0000</pubDate>
		<dc:creator>Sai Prasad</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://blog.saionline.co.in/2009/04/installing-android/</guid>
		<description><![CDATA[Few steps for setting up things before developing applications for Android&#8230;.

Download &#38; Install JRE from http://www.java.com/en/download/manual.jsp
Download &#38;  Extract Eclipse IDE for Java Developers from http://www.eclipse.org/downloads/
Download the latest version of Android SDK from  [...]]]></description>
			<content:encoded><![CDATA[<p>Few steps for setting up things before developing applications for Android&#8230;.</p>
<ul>
<li>Download &amp; Install JRE from<a href="http://www.java.com/en/download/manual.jsp"> http://www.java.com/en/download/manual.jsp</a></li>
<li>Download &amp;  Extract Eclipse IDE for Java Developers from <a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></li>
<li>Download the latest version of Android SDK from<a href="http://developer.android.com/sdk/"> http://developer.android.com/sdk/</a></li>
<li>Download ADT (Android Development Tools) from<a href="http://developer.android.com/sdk/adt_download.html"> http://developer.android.com/sdk/adt_download.html</a></li>
<li>Start Eclipse, then select <strong>Help</strong> &gt; <strong>Software Updates</strong> &gt; <strong>Find and Install&#8230;</strong>.</li>
<li>Select <span style="font-weight: bold;">Archive</span> and then browse to the downloaded ADT Zip file.</li>
<li> You should see the plugin listed by the URL,     with &#8220;Developer Tools&#8221; nested within it. Select the checkbox next to        Developer Tools and click <strong>Install&#8230;</strong></li>
<li>On the subsequent Install window, &#8220;Android DDMS&#8221; and &#8220;Android Developer Tools&#8221;     should both be checked. Click <strong>Next</strong>, then <span style="font-weight: bold;">Finish. </span>Restart Eclipse.</li>
<li>Select <strong>Window</strong> &gt; <strong>Preferences&#8230;</strong> to open the Preferences         panel (Mac: <strong>Eclipse</strong> &gt; <strong>Preferences</strong>).</li>
<li>Select <strong>Android</strong> from the left panel.</li>
<li>For the <em>SDK Location</em> in the main panel, click <strong>Browse&#8230;</strong> and  locate your downloaded SDK directory. Click <strong>Apply</strong>, then <strong>OK</strong>.</li>
<li>Now, lets install an AVD (Android Virtual Device). Navigate to /tools in a command line and execute:
<pre>android create avd --name  #your_avd_name# --target #targetid#</pre>
</li>
<li>Just press <span style="font-weight: bold;">Enter</span> when asked to create an hardware profile.</li>
</ul>
<p>Now you are done with setup&#8230;&#8230;. Happy developing with Android !!!<br />
Start with<span style="font-style: italic;"> Hello, World</span> program in the documentation.</p>
<p>&#8211;</p>
<p>Sai Prasad</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.saionline.co.in/2009/04/installing-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

