<?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>Get Solved</title>
	<atom:link href="http://www.getsolved.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.getsolved.com</link>
	<description>And Feel Light</description>
	<lastBuildDate>Sun, 06 May 2012 00:27:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to write Google App Engine Hello World Web App using Python</title>
		<link>http://www.getsolved.com/web/python/google-app-engine-hello-world-web-app-python/</link>
		<comments>http://www.getsolved.com/web/python/google-app-engine-hello-world-web-app-python/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 21:13:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[App]]></category>
		<category><![CDATA[Appspot]]></category>
		<category><![CDATA[Google App Engine]]></category>
		<category><![CDATA[Guestbook]]></category>
		<category><![CDATA[Hello World]]></category>
		<category><![CDATA[Launcher]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=2005</guid>
		<description><![CDATA[<p></p> Google App Engine is google&#8217;s cloud computing platform for developing and hosting web application. Its free up to a certain usage levels of CUP cycles, storage and bandwidth. Google App Engine mainly supports three programming languages Go, Java and Python. This tutorial helps you in setting up the development environment and running the &#8220;Hello World&#8221; app [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-thumbnail wp-image-2014" title="images" src="http://www.getsolved.com/wp-content/uploads/2010/11/images-150x150.jpg" alt="" width="150" height="150" /></p>
<h5>Google App Engine is google&#8217;s cloud computing platform for developing and hosting web application. Its free up to a certain usage levels of CUP cycles, storage and bandwidth. Google App Engine mainly supports three programming languages Go, Java and Python. This tutorial helps you in setting up the development<span id="more-2005"></span> environment and running the &#8220;Hello World&#8221; app using Python.</h5>
<h5></h5>
<h5><span class="Apple-style-span" style="font-size: 14px; line-height: 22px; color: #993300;"><strong>Step 1: Setup Development Environment</strong></span></h5>
<h5><span class="Apple-style-span" style="font-size: 14px; line-height: 22px;">You need to download and install followings to setup development environment for <strong>Windows</strong>.</span></h5>
<p><a title="Python 2.5 msi installer" href="http://www.python.org/ftp/python/2.5/python-2.5.msi">Python 2.5</a><br />
<a title="Google App Engine SDK 1.3.8 msi installer" href="http://googleappengine.googlecode.com/files/GoogleAppEngine-1.3.8.msi">Google App Engine SDK 1.3.8</a></p>
<p><span style="color: #993300;"><strong>Step 2: Run Sample App Locally</strong></span><br />
Run Google App Engine Launcher and copy guestbook demo using Help &gt; Demos &gt; guestbook</p>
<p style="text-align: left;"><a href="http://www.getsolved.com/wp-content/uploads/2010/11/demo-guestbook.png"><img class="size-full wp-image-2007 aligncenter" title="demo-guestbook" src="http://www.getsolved.com/wp-content/uploads/2010/11/demo-guestbook.png" alt="Demo Guestbook" width="359" height="167" /></a>Demo application will appear in listing, select the application and click <strong><span style="color: #333399;">Run</span></strong> to run server. Now click <span style="color: #333399;"><strong>Browse</strong></span> to view application in browser or enter http://localhost:8080/ in browser.</p>
<p><span style="color: #993300;"><strong>Step 3: Deploy Application on Google App Engine</strong></span><br />
Log in to <a title="Google App Engine" href="http://appengine.google.com/">Google App Engine</a> using existing Google Account or create new one. Now create new application with available <strong>identifier</strong>. Now rename the guestbook application to the identifier specified for the application in Google App Engine in <em>app.yaml</em>. You can open <em>app.yaml</em> manually or by clicking <strong><span style="color: #333399;">Edit</span></strong> after selecting application. Change the first line and add application identifier in place of guestbook. Now click <strong><span style="color: #333399;">Deploy</span></strong> and provide your Google Account Info to deploy your application Google App Engine.</p>
<p>You can now test it using this url [<span style="color: #333399;">application_identifier].appspot.com</span> , replace application_identifier by your own application identifier.</p>
<p><em>For more details and documentations visit <a href="http://code.google.com/appengine/docs/python/">http://code.google.com/appengine/docs/python/</a></em></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://googleappengine.googlecode.com/files/GoogleAppEngine-1.3.8.msi</div>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/python/google-app-engine-hello-world-web-app-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to output JSON using PHP</title>
		<link>http://www.getsolved.com/web/php/how-to-output-json-using-php/</link>
		<comments>http://www.getsolved.com/web/php/how-to-output-json-using-php/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 22:37:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[json_encode]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=1971</guid>
		<description><![CDATA[<p>PHP (version 5 &#62;= 5.2.0, PECL json &#62;= 1.2.0) provides a method json_encode to convert array to string.</p> $sample = array&#40; 'name'=&#38;gt;'My Name', 'email'=&#38;gt;'my_email@example.com' &#41;; echo json_encode&#40;$sample&#41;; <p><br /> The above code will output JSON string, but please NOTE that it is not ready to be considered as JSON. We need to set content type [...]]]></description>
			<content:encoded><![CDATA[<p>PHP (version 5 &gt;= 5.2.0, PECL json &gt;= 1.2.0) provides a method <strong>json_encode</strong> to convert array to string.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$sample</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
    <span style="color: #0000ff;">'name'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #0000ff;">'My Name'</span><span style="color: #339933;">,</span>
    <span style="color: #0000ff;">'email'</span><span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span><span style="color: #0000ff;">'my_email@example.com'</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">json_encode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sample</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p><span id="more-1971"></span><br />
The above code will output JSON string, but please <span style="color: #ff6600;"><strong><span style="color: #ff0000;">NOTE</span></strong></span> that it is not ready to be considered as JSON. We need to set content type using http headers before printing the JSON string.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>del<span style="color: #339933;">&gt;</span>header<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Type: text/javascript'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;&lt;/</span>del<span style="color: #339933;">&gt;</span>
<span style="color: #990000;">header</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Content-Type: text/javascript'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>   <span style="color: #666666; font-style: italic;">//strongly agree with Gajus's comment</span>
<span style="color: #b1b100;">echo</span> <span style="color: #990000;">json_encode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sample</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/php/how-to-output-json-using-php/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How can I show the full path of directory in command line Freebsd</title>
		<link>http://www.getsolved.com/desktop/unix/how-can-i-show-the-full-path-of-directory-in-command-line-freebsd/</link>
		<comments>http://www.getsolved.com/desktop/unix/how-can-i-show-the-full-path-of-directory-in-command-line-freebsd/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 07:46:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[CSH]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=1950</guid>
		<description><![CDATA[<p>FreeBSD comes with CSH (C shell) as default., that do not show full path of present working directory. We need to change default shell to BASH (Bourne-again shell) using following command:</p> # chsh -s /usr/local/bin/bash <p></p> <p>You must have BASH in /usr/local/bin/ if not you can get it via ports.</p> # cd /usr/ports/shells/bash # make install [...]]]></description>
			<content:encoded><![CDATA[<p>FreeBSD comes with CSH (C shell) as default., that do not show full path of present working directory. We need to change default shell to BASH (Bourne-again shell) using following command:</p>
<pre># chsh -s /usr/local/bin/bash</pre>
<p><span id="more-1950"></span></p>
<pre></pre>
<p>You must have BASH in <span style="font-family: monospace;">/usr/local/bin/ </span>if not you can get it via ports.</p>
<pre># cd /usr/ports/shells/bash
# make install clean</pre>
<p>To see the changes exit the session and login again. Now you can see full path like in my case</p>
<pre>[root@freebsd /usr/ports/shells/bash]#</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/desktop/unix/how-can-i-show-the-full-path-of-directory-in-command-line-freebsd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to increase storage of Android Emulator</title>
		<link>http://www.getsolved.com/mobile/android/how-to-increase-storage-of-android-emulator/</link>
		<comments>http://www.getsolved.com/mobile/android/how-to-increase-storage-of-android-emulator/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 08:02:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[apk]]></category>
		<category><![CDATA[AVD]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=1955</guid>
		<description><![CDATA[<p></p> <p>First you need to <a title="Google Android Hello World! with Eclipse" href="http://www.getsolved.com/mobile/android-mobile/google-android-hello-world-with-eclipse/" target="_blank">set up Google Android SDK</a>. While creating Android Virtual Device (AVD) you can specify the storage size in SD Card settings. You can specify any size upto 128 GB. Its really helpful if you want to install .apk applications on Emulator. If you do [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-193 alignright" src="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif" alt="" width="76" height="76" /></p>
<p>First you need to <a title="Google Android Hello World! with Eclipse" href="http://www.getsolved.com/mobile/android-mobile/google-android-hello-world-with-eclipse/" target="_blank">set up Google Android SDK</a>. While creating Android Virtual Device (AVD) you can specify the storage size in SD Card settings. You can specify any size upto 128 GB. Its really helpful if you want to install .apk applications on Emulator. <span id="more-1955"></span>If you do not set size you will get this error while<br />
installing application.</p>
<p><span class="Apple-style-span" style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE</span></p>
<p>&nbsp;</p>
<div id="attachment_1958" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2010/07/set-avd-size.gif"><img class="size-medium wp-image-1958" title="set-avd-size" src="http://www.getsolved.com/wp-content/uploads/2010/07/set-avd-size-300x221.gif" alt="Set Storage Size" width="300" height="221" /></a><p class="wp-caption-text">Set Storage Size</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/mobile/android/how-to-increase-storage-of-android-emulator/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to invite others to Google Wave</title>
		<link>http://www.getsolved.com/web/how-to-invite-others-to-google-wave/</link>
		<comments>http://www.getsolved.com/web/how-to-invite-others-to-google-wave/#comments</comments>
		<pubDate>Mon, 31 May 2010 19:23:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Product]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Invite]]></category>
		<category><![CDATA[Wave]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=1941</guid>
		<description><![CDATA[Now you can add anyone to new or existing wave even if he is not in your contacts. An invitation will be sent to him to join Google Wave with the description of wave.]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1942 alignright" title="google_wave_logo" src="http://www.getsolved.com/wp-content/uploads/2010/05/google_wave_logo.gif" alt="" width="64" height="64" /></p>
<p>You can invite anyone to <span style="color: #993300;">Google Wave</span>. Google Wave is now open for all.  Anyone can signup to <a href="http://wave.google.com/">Google Wave</a>. Google opened Wave as part 2of Google Labs on 18 May, 2010. Now you can add anyone to new or existing wave even if he is not in your contacts. An invitation will be sent to him to join Google Wave with the description of wave. Just follow these steps.<span id="more-1941"></span></p>
<p><strong>1.</strong> Create a blank wave or use an existing wave</p>
<p><strong>2.</strong> Click on <span style="color: #993300;">&#8216;+&#8217;</span> sign to add any email address as a participant to wave</p>
<p><a href="http://www.getsolved.com/wp-content/uploads/2010/05/add-to-wave.gif"><img class="aligncenter size-medium wp-image-1944" title="add-to-wave" src="http://www.getsolved.com/wp-content/uploads/2010/05/add-to-wave-300x155.gif" alt="" width="300" height="155" /></a></p>
<p><strong>3.</strong> Enter the email address and click on <span style="color: #648a2d;">I</span><span style="color: #648a2d;">nvite via Email</span> button</p>
<p><a href="http://www.getsolved.com/wp-content/uploads/2010/05/invite-email.gif"><img class="aligncenter size-medium wp-image-1945" title="invite-email" src="http://www.getsolved.com/wp-content/uploads/2010/05/invite-email-300x200.gif" alt="" width="300" height="200" /></a>The mentioned email will receive an invitation to join your wave and will automatically become the participant of that particular wave.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/how-to-invite-others-to-google-wave/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Android Hello World! with Eclipse</title>
		<link>http://www.getsolved.com/mobile/android/google-android-hello-world-with-eclipse/</link>
		<comments>http://www.getsolved.com/mobile/android/google-android-hello-world-with-eclipse/#comments</comments>
		<pubDate>Sat, 29 May 2010 00:00:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[ADT]]></category>
		<category><![CDATA[Configure]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Hello]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[World]]></category>

		<guid isPermaLink="false">http://blog.cmnajs.com/?p=30</guid>
		<description><![CDATA[<a href="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif"></a> Your decision to start development on a new platform depends on how easy it is to write a &#8220;Hello World&#8221;. This tutorial helps you set up the development environment and write &#8220;Hello World&#8221; in few easy steps. This tutorial assumes that you are already familiar with eclipse and its installation.<a href="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif"><br /> </a> <p>Step 1: Set up [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif"><img class="alignright" title="Android Development" src="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif" alt="Android Development" width="76" height="76" /></a></h3>
<h3><span class="Apple-style-span" style="font-size: 14px; line-height: 22px;">Your decision to start development on a new platform depends on how easy it is to write a &#8220;Hello World&#8221;. This tutorial helps you set up the development environment and write &#8220;Hello World&#8221; in few easy steps. This tutorial assumes that you are already familiar with eclipse and its installation.<a href="http://www.getsolved.com/wp-content/uploads/2010/05/developers.gif"><br />
</a><span id="more-30"></span></span></h3>
<p><strong><span style="color: #ff0000;"><span style="color: #993300;"><strong>Step 1: </strong>Set up Eclipse</span></span></strong></p>
<p>You can get the latest version of Eclipse from <a title="Eclipse Downloads" href="http://www.eclipse.org/downloads/" target="_blank">Eclipse Downloads</a>. I am using <a title="Eclipse Classic 3.7.2" href="http://www.eclipse.org/downloads/packages/eclipse-classic-372/indigosr2" target="_blank">Eclipse Classic 3.7.2</a> for windows for this tutorial. If you plan to install 64-bit version, make sure you have latest 64-bit version of Java Development (JDK) installed.</p>
<p><strong><span style="color: #993300;">Step 2: Install Android Development Tools (ADT) Plugin</span></strong></p>
<p><span style="color: #000000;">First we need to install Eclipse Plugin named Android Development Tools (ADT).</span></p>
<p><span style="color: #000000;">Its very simple to get this plugin installed. Just Open Eclipse IDE , go to</span> <span style="color: #333399;">Help&gt;Install New Software&#8230;</span></p>
<div id="attachment_177" class="wp-caption aligncenter" style="width: 290px"><a href="http://www.getsolved.com/wp-content/uploads/2009/01/install-new-software.gif"><img class="size-full wp-image-177" title="install-new-software" src="http://www.getsolved.com/wp-content/uploads/2009/01/install-new-software.gif" alt="" width="280" height="276" /></a><p class="wp-caption-text">Install New Software</p></div>
<p><span style="color: #000000;">An</span> <span style="color: #333399;">Install</span> <span style="color: #000000;">window will appear with Available softwares. Now enter following link provided by Google in &#8220;Work with&#8221; field:</span></p>
<pre><span style="color: #000000;">https://dl-ssl.google.com/android/eclipse/</span></pre>
<p>&nbsp;</p>
<div id="attachment_176" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2009/01/select.gif"><img class="size-medium wp-image-176" title="select" src="http://www.getsolved.com/wp-content/uploads/2009/01/select-300x286.gif" alt="" width="300" height="286" /></a><p class="wp-caption-text">Installing ADT Plugin</p></div>
<p><span style="color: #000000;">A new update link will appear put a check mark and click on</span> <span style="color: #333399;">Next <span style="color: #000000;">to start installation.</span></span><span style="color: #000000;"> After installation the Eclipse IDE would require a restart.</span></p>
<p><!--more--></p>
<p><strong><span style="color: #333399;"><span style="color: #993300;">Step 3: Install Google Android SDK</span></span></strong></p>
<p>There are two ways to get and install Google Android SDK.</p>
<p><strong>1. Install new SDK <strong>(Recomended)</strong></strong></p>
<p>A &#8220;Welcome to Android&#8221; window appears for SDK configuration when Eclipse restarts after ADT plugin installation (Step 2).  You can choose between installing new SDK or use existing. If you choose first option, it will automatically download and configure SDK with Eclipse. You can also get SDK platform (Android APIs) version of your choice. Second option will allow you to locate SDK manually if you already have downloaded it.</p>
<div id="attachment_2110" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2010/05/Configure-SDK.png"><img class="size-medium wp-image-2110" title="Configure SDK" src="http://www.getsolved.com/wp-content/uploads/2010/05/Configure-SDK-300x224.png" alt="" width="300" height="224" /></a><p class="wp-caption-text">Configure SDK</p></div>
<p><strong><span style="color: #333399;"><span style="color: #000000;">2. Use existing SDKs</span></span></strong></p>
<p><span style="color: #333399;"><span style="color: #000000;">If you skip above, </span></span><span style="color: #333399;"><span style="color: #000000;">you can <a title="Google Android SDK" href="http://developer.android.com/sdk/index.html" target="_blank">Download</a> Android SDK in zip format and configure it using preferences window <span style="color: #333399;">Window &gt; Preferences. <span style="color: #000000;">Here you s</span></span></span></span><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;">elect </span><span style="color: #333399;">Android </span><span style="color: #000000;">from left side bar and set SDK location manually. </span></span></span></span></span></span></p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2009/01/locate-sdk.gif"><img class="size-medium wp-image-184" title="locate-sdk" src="http://www.getsolved.com/wp-content/uploads/2009/01/locate-sdk-300x257.gif" alt="Locate SDK" width="300" height="257" /></a><p class="wp-caption-text">Locate SDK</p></div>
<p><span><span>Android SDK Manager <span style="color: #333399;">Window &gt; Android SDK Manager</span> allows you to get any version of Android Platform any time. You can also get documentation, sources, samples and other stuff here. </span></span></p>
<p>&nbsp;</p>
<div id="attachment_2111" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2010/05/Android-SDK-Manager.png"><img class="size-medium wp-image-2111" title="Android SDK Manager" src="http://www.getsolved.com/wp-content/uploads/2010/05/Android-SDK-Manager-300x214.png" alt="" width="300" height="214" /></a><p class="wp-caption-text">Android SDK Manager</p></div>
<p>&nbsp;</p>
<p><strong><span id="createAVD" style="color: #800000;">Step 4: Create New Android Virtual Device (AVD)</span></strong></p>
<p><span style="color: #800000;"><span style="color: #000000;">Now we need to create a virtual device to run <span style="color: #333399;">Android Application</span> on <span style="color: #333399;">Android Emulator<span style="color: #000000;">. Go to</span> Window &gt;AVD Manager <span style="color: #000000;">and select</span> Virtual Devices<span style="color: #000000;">. Click on <span style="color: #333399;">New</span> to create a <span style="color: #333399;">Virtual Device</span>, give it some <span style="color: #333399;">Name</span> and select <span style="color: #333399;">Target <span style="color: #000000;">Android Platform</span><span style="color: #000000;"> from the drop down list. If you are using 4.x.x version of Android Platform you need to get <em>ARM EBI v7a System Image </em>using Android SDK Manager (see the previous image) to create virtual device.</span></span></span></span></span></span></p>
<p>&nbsp;</p>
<div id="attachment_2112" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.getsolved.com/wp-content/uploads/2010/05/AVD-Manager.png"><img class="size-medium wp-image-2112" title="AVD Manager" src="http://www.getsolved.com/wp-content/uploads/2010/05/AVD-Manager-300x279.png" alt="" width="300" height="279" /></a><p class="wp-caption-text">AVD Manager</p></div>
<p><!--more--></p>
<p><strong><span style="color: #800000;">Step 5: Create First Android Project</span></strong></p>
<p><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;">Create a new</span> <span style="color: #333399;">Project File &gt;&gt; New &gt;&gt; Project </span><span style="color: #000000;"><span style="color: #000000;"><span style="color: #000000;">, a new wizard will appear to select project type,  select</span><span style="color: #333399;"> Android Project from</span> <span style="color: #333399;">Android</span> <span style="color: #000000;">and click</span> <span style="color: #333399;">Next</span> <span style="color: #000000;">from the wizard. Now you are to specify</span> <span style="color: #333399;">Project Name</span>. <span style="color: #000000;">A directory with this name would be created in yous system. Next is the</span> <span style="color: #333399;">Package Name</span> <span style="color: #000000;">the namespace actually where all your code will go.  S</span></span></span></span></span></span></span></span><span style="color: #000000;">tandard domain style is used for naming. Then Activity Name it is the name of the class that is created by ADT, the plugin we installed. And Application Name that will appear as title of your app. For example my settings are</span><span style="color: #000000;"> like:</span></p>
<p><span style="color: #333399;">Project Name: AndroidHelloWorld</span></p>
<p><span style="color: #333399;">Package Name: com.getsolved.android</span></p>
<p><span style="color: #333399;">Activity Name: HelloWorld<br />
</span></p>
<p><span style="color: #333399;">Application Name: My Hello World App</span></p>
<p><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;"><span style="color: #000000;"> Now Click on Finsh. If the Finish button is inactive make sure that your are not missing any information discussed above and the <span style="color: #333399;">Pakage Name</span> follow the domain style.</span></span></span></span></span></span></span></p>
<p><strong><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;"><span style="color: #000000;"><span style="color: #800000;">Step 6: Run the App</span></span></span></span></span></span></span></span></strong></p>
<p><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;"><span style="color: #000000;"><span style="color: #800000;"><span style="color: #000000;">Now click on dropdown next to run button, select Run Configurations, Double Click on Android Application, it will create new configuration. At right side just browse the the application you just created and click on Run button. Here you will see your output.</span></span></span></span></span></span></span></span></span></p>
<p><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333399;"><span style="color: #000000;"><span style="color: #333333;"><span style="color: #000000;"><span style="color: #000000;"><span style="color: #800000;"><span style="color: #000000;"><br />
</span></span></span></span></span></span></span></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/mobile/android/google-android-hello-world-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>How to disable page jump while clicking on anchore</title>
		<link>http://www.getsolved.com/web/js/how-to-disable-link/</link>
		<comments>http://www.getsolved.com/web/js/how-to-disable-link/#comments</comments>
		<pubDate>Fri, 21 May 2010 20:36:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[link]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>

		<guid isPermaLink="false">http://www.getsolved.com/?p=139</guid>
		<description><![CDATA[How to disable link's default behavior on click]]></description>
			<content:encoded><![CDATA[<p>Sometimes we want to perform some javascript actions using link but don’t want to jump to another page. We can do this using event object.</p>
<p>For example we have a link say:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a onclick=&quot;alert('Hello');&quot; href=&quot;http://www.example.com/&quot;&gt;Say Hello&lt;/a&gt;</pre></div></div>

<p>Clicking this link will show an alert saying &#8220;Hello&#8221; but will then move to http://www.example.com/.<span id="more-139"></span></p>
<p>To prevent this behavior first we will capture the <em><strong><span style="color: #800000;">event</span></strong></em>object and use its method <strong><span style="color: #800000;"><em>preventDefault()</em></span></strong>:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a onclick=&quot;alert('Hello');event.preventDefault()&quot; href=&quot;http://www.example.com/&quot;&gt;Say Hello&lt;/a&gt;</pre></div></div>

<p>The above will work fine in <span style="color: #333399;"><strong>Firefox</strong></span>, <strong><span style="color: #333399;">Chrome</span></strong>, <strong><span style="color: #333399;">Safari</span></strong> and <strong><span style="color: #333399;">Opera</span></strong> but does not work in <strong><span style="color: #333399;">IE</span></strong> instead <span style="color: #333399;"><strong>IE</strong></span> provides a property of <strong><span style="color: #800000;"><em>event</em></span></strong> object named <span style="color: #800000;"><em><strong>returnValue</strong></em></span>, setting this to <em><strong><span style="color: #800000;">false</span></strong></em> resolves the issue:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a onclick=&quot;alert('Hello');event.returnFalse()&quot; href=&quot;http://www.example.com/&quot;&gt;Say Hello&lt;/a&gt;</pre></div></div>

<p>Again this works fine with <strong><span style="color: #333399;">IE</span></strong>, <strong><span style="color: #333399;">Chrome</span></strong>, <strong><span style="color: #333399;">Safari</span></strong>, <strong><span style="color: #333399;">Opera</span></strong> but does not work with <strong><span style="color: #333399;">Firefox</span></strong>. So the right way is to take care of both i.e. <strong><span style="color: #333399;">IE</span></strong> and <strong><span style="color: #333399;">Firefox</span></strong> :</p>
<pre>&lt;a href="http://www.example.com/" onclick="alert('Hello');if(event.preventDefault) event.preventDefault(); else event.returnValue = false;" &gt;Say Hello&lt;/a&gt;</pre>
<p>or Simply</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a onclick=&quot;foo(event)&quot; href=&quot;http://www.example.com/&quot;&gt;Say Hello&lt;/a&gt;</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span><span style="color: #006600; font-style: italic;">// &lt;![CDATA[</span>
     <span style="color: #003366; font-weight: bold;">function</span> foo<span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>         <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Hello&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>         <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>e.<span style="color: #660066;">preventDefault</span><span style="color: #009900;">&#41;</span>            e.<span style="color: #660066;">preventDefault</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>         <span style="color: #000066; font-weight: bold;">else</span>            e.<span style="color: #660066;">returnValue</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span>     <span style="color: #009900;">&#125;</span>
<span style="color: #006600; font-style: italic;">// ]]&gt;&lt;/script&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/js/how-to-disable-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why PHP ini_set() does not work with upload_max_filesize</title>
		<link>http://www.getsolved.com/web/php/why-php-ini_set-does-not-work-with-upload_max_filesize/</link>
		<comments>http://www.getsolved.com/web/php/why-php-ini_set-does-not-work-with-upload_max_filesize/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 12:21:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[ini]]></category>
		<category><![CDATA[ini_set]]></category>
		<category><![CDATA[upload_max_filesize]]></category>

		<guid isPermaLink="false">http://blog.cmnajs.com/uncategorized/why-php-ini_set-does-not-work-with-upload_max_filesize/</guid>
		<description><![CDATA[<p>&#8216;upload_max_filesize&#8217; and &#8216;post_max_size&#8217; are of type PHP_INI_PERDIR, which means &#8220;Entry can be set in php.ini, .htaccess or httpd.conf&#8221;. So you can&#8217;t set it in your script.</p> <p>We can set PHP_INI_PERDIR settings in a .htaccess file with &#8216;php_flag&#8217; like this:</p> <p>php_flag register_globals off<br /> php_flag magic_quotes_gpc on</p>]]></description>
			<content:encoded><![CDATA[<p>&#8216;upload_max_filesize&#8217; and &#8216;post_max_size&#8217; are of type PHP_INI_PERDIR, which means &#8220;Entry can be set in php.ini, .htaccess or httpd.conf&#8221;. So you can&#8217;t set it in your script.</p>
<p>We can set PHP_INI_PERDIR settings in a .htaccess file with &#8216;php_flag&#8217;<span id="more-133"></span> like this:</p>
<p>php_flag register_globals off<br />
php_flag magic_quotes_gpc on</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/php/why-php-ini_set-does-not-work-with-upload_max_filesize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How can I get the name of the calling method in PHP</title>
		<link>http://www.getsolved.com/web/php/how-can-i-get-the-name-of-the-calling-method-in-php/</link>
		<comments>http://www.getsolved.com/web/php/how-can-i-get-the-name-of-the-calling-method-in-php/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 07:32:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Binding]]></category>
		<category><![CDATA[Calling]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Late]]></category>
		<category><![CDATA[Method]]></category>
		<category><![CDATA[Static]]></category>

		<guid isPermaLink="false">http://blog.cmnajs.com/?p=98</guid>
		<description><![CDATA[<p>I just fell in need of knowing the name of the method that is currently being called. After having a few minutes of unsuccessful searching i just thought of Late Static Binding and here the PHP Manual helped me.</p> <p>Just do this inside your method;</p> echo __CLASS__; // For Class Name echo __METHOD__; // For [...]]]></description>
			<content:encoded><![CDATA[<p>I just fell in need of knowing the name of the method that is currently being called. After having a few minutes of unsuccessful searching i just thought of Late Static Binding and here the PHP Manual helped me.</p>
<p><span id="more-98"></span>Just do this inside your method;</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #009900; font-weight: bold;">__CLASS__</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// For Class Name</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #009900; font-weight: bold;">__METHOD__</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// For Method Name</span></pre></div></div>

<p>Good Luck Developers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/php/how-can-i-get-the-name-of-the-calling-method-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create Google Gadget Ads</title>
		<link>http://www.getsolved.com/web/product/how-to-create-google-gadget-ads/</link>
		<comments>http://www.getsolved.com/web/product/how-to-create-google-gadget-ads/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 18:51:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Product]]></category>
		<category><![CDATA[Ad]]></category>
		<category><![CDATA[Adword]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Gadget]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://blog.cmnajs.com/?p=94</guid>
		<description><![CDATA[<p>The APIs stuff is just making life easier.</p> <p>Gadgets are like small applications we play with at different platforms.</p> <p>Google already have gadgets platform available at <a title="iGoogle" href="http://google.com/ig" target="_blank">iGoogle</a>. Now google introduced Gadget Ads for Adwords. Now you can have more interactive ad campaigns with gadget ads.</p> <p>For opensocial  gadget developers there is nothing [...]]]></description>
			<content:encoded><![CDATA[<p>The APIs stuff is just making life easier.</p>
<p>Gadgets are like small applications we play with at different platforms.</p>
<p>Google already have gadgets platform available at <a title="iGoogle" href="http://google.com/ig" target="_blank">iGoogle</a>. Now google introduced Gadget Ads for Adwords. Now you can have more interactive ad campaigns with gadget ads.<span id="more-94"></span></p>
<p>For opensocial  gadget developers there is nothing to do. New developers needs little effort for.</p>
<p>First thing we need to sort out is the <a title="Gadget API" href="http://code.google.com/apis/gadgets/" target="_blank">Gadget API</a>.</p>
<p>Currently there are two versions of Gadget API. One is the Legacy and other is a &#8220;renamespaced&#8221; to gadgets.* an advanced one.</p>
<p>Gadget Ads are currently use the <a href="http://code.google.com/apis/gadgets/docs/legacy/dev_guide.html" target="_blank">Lagacy Version of Gadget API</a>. The documentation in previous link simplifies all about Gadgets.</p>
<p>Finally go through <a href="http://www.google.com/adwords/gadgetads/tutorial.html" target="_blank">Gadgets Ads</a> and move ahead to start yours.</p>
<p>Gadget Ads need a little alteration to Gadgets. We can use Gadget Ad Editor for writing, testing, validating and publishing Gadget Ads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.getsolved.com/web/product/how-to-create-google-gadget-ads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

