<?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>htmlpress.net</title>
	<atom:link href="http://htmlpress.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://htmlpress.net</link>
	<description>WordPress website tutorial and HTML tutorial for everyone.</description>
	<lastBuildDate>Thu, 17 May 2012 00:27:30 +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 Test Your Mobile App In Different Android Devices</title>
		<link>http://htmlpress.net/how-to-test-your-mobile-app-in-different-android-devices/</link>
		<comments>http://htmlpress.net/how-to-test-your-mobile-app-in-different-android-devices/#comments</comments>
		<pubDate>Thu, 17 May 2012 00:22:13 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16311</guid>
		<description><![CDATA[The challenge for Android developers when it comes to smart phone app development is how to test their mobile apps. Obviously, testing your app on just one Android mobile would probably be not the smart thing to do. Because there are many brands and models of Android mobile phone out there, sometimes this becomes really [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>The challenge for Android developers when it comes to smart phone app development is how to test their mobile apps. Obviously, testing your app on just one Android mobile would probably be not the smart thing to do. Because there are many brands and models of Android mobile phone out there, sometimes this becomes really daunting for the developer.</p>
<p><img src="http://tctechcrunch2011.files.wordpress.com/2012/05/devices.png?w=640" /><br />
(<em>Source: Techcrunch.com</em>)</p>
<p>The best way to approach testing your apps is to do your market research. This means that you have to define your demogrpahics up to the most detailed level like what brand and model of Android phone they are using. If you are developing a weather app for North America for example, then chances are most of Android users have the potential to take interest in your app especially if it it free. Give the above chart of Android devices, you do not need to test your app on all of them.</p>
<p>In such cases, it is good to employ <a href="http://en.wikipedia.org/wiki/Pareto_principle" target="_blank">Pareto&#8217;s law</a> &#8211; or the 80 / 20 rule. Pareto&#8217;s law states that &#8220;for many events, roughly 80% of the effects come from 20% of the causes&#8221;. This is widely known by Sales manager wherein they realize that 20% of their sales force brings in 80% of the revenue. And because this law&#8217;s application is quite ubiquitous is other areas, you can apply Pareto&#8217;s law in your mobile app testing strategy.</p>
<p><a href="http://opensignalmaps.com/reports/fragmentation.php" target="_blank">Opensignals</a> have done their research regarding Android devices and displayed their data in graphical form like the one above. By taking 20% of the most widely used Android devices that access Opendata, you should be able to reach more of your target audience with the least amount of effort when it comes to testing. These device are:</p>
<ul>
<li>Samsung GT-I9100</li>
<li>Samsung GT-I9000</li>
<li>HTC Desire HD</li>
<li>Samsung GT-S5830</li>
<li>HTC Desire</li>
<li>Samsung GT-N700</li>
</ul>
<p>Market changes from time to time as mobile manufacturers create new models every year. And this is why it is important to do your market research first and not waste time on testing your app on a device that just makes a little impact on the overall marketing strategy of your mobile app.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/how-to-test-your-mobile-app-in-different-android-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World Android App Explained</title>
		<link>http://htmlpress.net/hello-world-android-app-explained/</link>
		<comments>http://htmlpress.net/hello-world-android-app-explained/#comments</comments>
		<pubDate>Fri, 04 May 2012 04:36:04 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16222</guid>
		<description><![CDATA[This is a detailed explanation of the last article regarding android app creation. You can find that article here. In this Android tutorial you will learn: - where the project files are located - define the roles of the project files - what files create the application&#8217;s user interface (UI) - what files are used [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>This is a detailed explanation of the last article regarding android app creation. You can find that article <a href="http://htmlpress.net/android-for-beginners-creating-your-first-app/" title="android for beginners" target="_blank">here</a>.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/HelloWorld-Huawei-Ideos.png" /></p>
<p>In this Android tutorial you will learn:</p>
<p>- where the project files are located<br />
- define the roles of the project files<br />
- what files create the application&#8217;s user interface (UI)<br />
- what files are used for programming the app&#8217;s functionality<br />
- understand the programming concepts of this app</p>
<p><strong>Project Files</strong></p>
<p>Since this is a beginners tutorial, it&#8217;s good to know what and where the various files were produced to create this simple Hello World app. To find out where the files are produced from your Eclipse editor, just go to <em>Project</em> | <em>Properties</em> and a similar screen found below should appear.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/05/Properties-for-Hello-World-.png" /></p>
<p>From this screen, look at the location field and there you should find the location of your Hello World android app. In this example, it is /home/htmlpress/workspace-android/Hello World. There are five folders and three files on the main project folder.</p>
<p><strong>Folders:</strong></p>
<ul>
<li>assets &#8211; does not contain anything for this project.</li>
<li>bin &#8211; contains the binary files i.e. the .apk file. APK files are what you submit to the Google Play website so that others can download your app.</li>
<li>gen &#8211; folders and the file generated here are not to be modified by hand so we shall leave this alone. Contains the R.java file which is an index to all the resources used by your app to which you can refer in your source code. </li>
<li>res &#8211; contains folders and files that renders the look and feel of your app.</li>
<li>src &#8211; contains the java source code of the Hello World app</li>
</ul>
<p><strong>Files:</strong></p>
<ul>
<li>AndroidManifest.xml</li>
<li>proguard.cfg</li>
<li>project.properties</li>
</ul>
<p>These three files are text files. </p>
<p>You should be able to see most, if not all, of these folders and files from your Eclipse editor.</p>
<p><strong>User Interface</strong></p>
<p>The files that construct the user interface for this Hello World android app are found in the <em>res > layout > main.xml</em> in the Package Explorer frame of Eclipse.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/05/main.xml_.png" /></p>
<p>The screen above shows the graphical layout of the Hello World app. To look at the code just click on the tab on the lower left hand side called main.xml. You should see the following code:</p>
<p><code><br />
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"<br />
    android:layout_width="fill_parent"<br />
    android:layout_height="fill_parent"<br />
    android:orientation="vertical" &gt;</p>
<p>    &lt;TextView<br />
        android:layout_width="fill_parent"<br />
        android:layout_height="wrap_content"<br />
        android:text="@string/hello" /&gt;</p>
<p>&lt;/LinearLayout&gt;<br />
</code></p>
<p>So from this code, we can find out that the Linear Layout is used and that a TextView object called hello is used to display a string. This is defined in the TextView tag and the android:text attribute of the mentioned tag. With Android, there are different types of layout you can use which will be the topic of future posts. For now we just want to understand the Hello World app.</p>
<p>To find out the value for the TextView tag, open the file <em>res > values > strings.xml</em> in the Project Explorer frame of Eclipse. You should see the following code:</p>
<p><code><br />
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br />
&lt;resources&gt;</p>
<p>    &lt;string name="hello"&gt;Hello World, HelloWorldActivity!&lt;/string&gt;<br />
    &lt;string name="app_name"&gt;Hello World&lt;/string&gt;</p>
<p>&lt;/resources&gt;<br />
</code></p>
<p>You can then compare the string values here from the AVD screen shot above. From here you can make out where the text comes from. If you plan to do some layout changes, then Google strongly encourages developers to make changes from the two <a href="http://developer.android.com/resources/tutorials/hello-world.html" target="_blank">xml layout files</a> mentioned above. This makes your code more readable and lessens the complexity of a mobile app.</p>
<p><strong>Programmatic Source Code</strong></p>
<p>The programmatic code for this Hello World mobile app is found in <em>src > net.htmlpress.helloworld > HelloWorldActivity.java</em> of your Eclipse&#8217;s Package Explorer frame. The code should look like the following:</p>
<p><code><br />
package net.htmlpress.helloworld;</p>
<p>import android.app.Activity;<br />
import android.os.Bundle;</p>
<p>public class HelloWorldActivity extends Activity {<br />
    /** Called when the activity is first created. */<br />
    @Override<br />
    public void onCreate(Bundle savedInstanceState) {<br />
        super.onCreate(savedInstanceState);<br />
        setContentView(R.layout.main);<br />
    }<br />
}<br />
</code></p>
<p>In this code, there is one class &#8211; <em>HelloWorldActivity</em> &#8211; which is based on the <em>Activity</em> class. In an Android, an Activity is a single application entity that have functions being performed. An application can have more than one Activity where the user can use each one at a time. In this app it only has one. It&#8217;s only function is to display a message. An activity can have a user interface or can just run in the background without a UI.</p>
<p>The onCreate method is an event that gets triggered when your application starts. Thus, any code defined in this method get executed when your application starts. Below is a diagram illustrating the various events in an Android application.</p>
<p><a href="http://developer.android.com/reference/android/app/Activity.html" target="_blank"><img src="http://developer.android.com/images/activity_lifecycle.png" /></a></p>
<p>The code <code> super.onCreate(savedInstanceState) </code> ensures that the Android state prior to executing your app is saved. Without this, you&#8217;ll be getting an unexpected error while starting your application (applies to the version of Android used in this tutorial).</p>
<p>The code <code> setContentView(R.layout.main) </code> sets the Activity&#8217;s user interface. Omitting this line of code will give you a blank screen. you would still get the title bar through with the text <em>Hello World</em>. But the layout that includes the Text View object are not included. The <code> setContentView </code> received a view object as a parameter. And the view passed is the desired content to display.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/hello-world-android-app-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Apps That Bring In Results For Your Website</title>
		<link>http://htmlpress.net/mobile-apps-that-bring-in-results-for-your-website/</link>
		<comments>http://htmlpress.net/mobile-apps-that-bring-in-results-for-your-website/#comments</comments>
		<pubDate>Thu, 03 May 2012 02:01:57 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16218</guid>
		<description><![CDATA[The interesting infographic below shows that 59% of mobile apps do not generate revenue to break even and that there is a correlation between the big spenders and having a successful mobile app. This statistics applies to mobile apps in general. But what if you develop mobile apps for your website and use it differently? [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>The interesting infographic below shows that 59% of mobile apps do not generate revenue to break even and that there is a correlation between the big spenders and having a successful mobile app. This statistics applies to mobile apps in general.</p>
<p>But what if you develop mobile apps for your website and use it differently?</p>
<p><img src="http://app-promo.com/wp-content/uploads/2012/05/AppPromo-WakeUpCallInfographic.jpg" /></p>
<p>An example of mobile apps that are developed for websites are the facebook app and twitter app. The twitter app and Twitter as a company haven&#8217;t broke even yet when it comes to revenue and expenditures. But its app has a purpose &#8211; to get people to use its services and get the traffic for its website. This means that you can think of developing mobile apps for the purpose of generating traffic to your website. And the more traffic you have, the more chances you will have in increasing your conversion rates whether that would be in terms of sales, opt-ins, etc.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/mobile-apps-that-bring-in-results-for-your-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Do 70 Million Sites Use WordPress?</title>
		<link>http://htmlpress.net/why-do-70-million-sites-use-wordpress/</link>
		<comments>http://htmlpress.net/why-do-70-million-sites-use-wordpress/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 12:57:36 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16216</guid>
		<description><![CDATA[There are now 70 million sites that use WordPress as reported by a couple of websites. That&#8217;s up 50% from last year&#8217;s figure of 35 million! And if you missed this report, 48% of the top 100 blogs are actually developed in WordPress But this should come as no surprise at all. Here are the [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>There are now 70 million sites that use WordPress as reported by a couple of <a href="http://www.thedomains.com/2012/04/25/word-press-now-powers-70-million-sites/" target="_blank">websites</a>. That&#8217;s up 50% from last year&#8217;s figure of 35 million! And if you missed this <a href="http://htmlpress.net/wordpress-now-on-48-of-top-100-blogs/" target="_blank">report</a>, 48% of the top 100 blogs are actually developed in WordPress But this should come as no surprise at all. Here are the reasons why WordPress is the most popular tool for developing websites in this day and age.</p>
<p><strong>1 &#8211; Easy to install</strong>. WordPress has been famous for its 5 minute install. And in most cases they have over delivered. A WordPress install can actually take less than 2 minutes!</p>
<p><strong>2 &#8211; Easy to use</strong>. Once you have install WordPress, all you have to do is to start posting. And if you can use a popular word editor like MS Word, then you can use the WordPress editor.</p>
<p><strong>3 &#8211; Easy to customize</strong>. AS long as you know HTML and CSS, you can do your own User Interface customization. And we have that type of tutorial here. Or, if you do not have these skills, then the most easiest way would be select another theme. This makes it appear that you have &#8220;customized&#8221; your website.</p>
<p><strong>4 &#8211; Features can be added easily</strong>. You can add features just by installing and activating plug-ins. There&#8217;s no programming knowledge needed.</p>
<p>5 &#8211; Mobile web app ready. You can install plugins so that your WordPress website can be viewed well with mobile devices. </p>
<p>So, if your website is not developed in WordPress, now is the time to jump on the band wagon.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/why-do-70-million-sites-use-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where The Android Tablet Users Are</title>
		<link>http://htmlpress.net/where-the-android-tablet-users-are/</link>
		<comments>http://htmlpress.net/where-the-android-tablet-users-are/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 02:11:38 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16212</guid>
		<description><![CDATA[If you are developing your WordPress website or Android application and are targeting tablet users, it&#8217;s good to do some basic research first before doing the development itself. An android web application would mean that the bulk of the work would be in WordPress and HTML 5. A native Android application would mean that the [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>If you are developing your WordPress website or Android application and are targeting tablet users, it&#8217;s good to do some basic research first before doing the development itself. An android web application would mean that the bulk of the work would be in WordPress and HTML 5.  A native Android application would mean that the bulk of the work will be in your Android source codes. Since Android tablet devices comes in many flavour, it&#8217;s good to know which brand leads the pack. In the US, it is surprising to note that Amazon Kindle is in the lead as reported by <a href="http://techcrunch.com/2012/04/26/comscore-amazons-kindle-fire-now-has-over-half-the-u-s-android-tablet-market-and-all-the-mindshare/" target="_blank" rel="nofollow">TechCrunch</a>. </p>
<p>54.4% Amazon Kindle Fire<br />
15.4% Samsung Galaxy Tab Family<br />
7.0% Motorola Zoom<br />
6.3% Asus Transformer<br />
5.7% Toshiba AT 100<br />
4.3% Acer Picasso<br />
2.1% Acer Iconia<br />
1.3% Dell Streak<br />
1.2% Lenovo Idea Pad<br />
0.7% Sony Tablet S<br />
1.6% Other</p>
<p>The report also found out that the more bigger the screen size is on the tablet, the more page views it generates from the user. The statistics above apply to the US and the rankings would probably be different is you are targeting Android tablet users in an international scale.</p>
<p>Whether you have a WordPress website, a web application or a native mobile application, it&#8217;s always good to test these on the devices that your target audience is using. It&#8217;s a good thing for Android, you can always <a href="http://htmlpress.net/how-to-create-an-avd-for-android/" title="create an AVD">create an Android Virtual Devic</a>e &#8211; or AVD &#8211; from you PC and see how they render.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/where-the-android-tablet-users-are/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Have Fun With Your WordPress Website</title>
		<link>http://htmlpress.net/have-fun-with-your-wordpress-website/</link>
		<comments>http://htmlpress.net/have-fun-with-your-wordpress-website/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 01:19:22 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[DNA]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16209</guid>
		<description><![CDATA[If you are creating your own website with WordPress, it&#8217;s good to put some fun into it &#8211; especially when a visitor visits a page or a post that does not exist. This can happen quite easily as your website grows. Once you posted an article, this gets indexed by the search engines. A number [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>If you are creating your own website with WordPress, it&#8217;s good to put some fun into it &#8211; especially when a visitor visits a page or a post that does not exist. This can happen quite easily as your website grows. Once you posted an article, this gets indexed by the search engines. A number of reasons can occur as to why you may want to delete an indexed post or page. One of the popular reasons is the duration a user stays on that page. If they just stay on the page for 2 seconds, then SEO-conscious website owners would have it deleted or modified. The former is the easier way out. You don&#8217;t want your website to be categorized by search engines as that of having low quality post.</p>
<p>When a user visits a link that has been deleted, they usually get an error. So why not put some fun into it? Here&#8217;s some websites (not necessarily in WordPress) that have done so.</p>
<p><a href="http://domaining.com" target="_blank">Domaining.com</a> has a funny picture of a man who seemed to get the electrical wirings wrong when their website went down.</p>
<p><a href="http://htmlpress.net/wp-content/uploads/2012/04/domaining.com_.png"><img src="http://htmlpress.net/wp-content/uploads/2012/04/domaining.com_-300x225.png" alt="" title="domaining.com" width="300" height="225" class="aligncenter size-medium wp-image-16208" /></a></p>
<p>and what about this &#8211; a <a href="http://heyzap.com/abc123" target="_blank" rel="nofollow">gaming website</a> where you can play games, even if the page you are looking for does not exist.</p>
<p><a href="http://htmlpress.net/wp-content/uploads/2012/04/heyzap-404.png"><img src="http://htmlpress.net/wp-content/uploads/2012/04/heyzap-404-300x225.png" alt="" title="heyzap-404" width="300" height="225" class="aligncenter size-medium wp-image-16207" /></a></p>
<p>And some of them are just <a href="http://blogof.francescomugnai.com/2008/08/the-100-most-funny-and-unusual-404-error-pages/" target="_blank">out of this world</a>!</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/have-fun-with-your-wordpress-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android for Beginners &#8211; Creating Your First App</title>
		<link>http://htmlpress.net/android-for-beginners-creating-your-first-app/</link>
		<comments>http://htmlpress.net/android-for-beginners-creating-your-first-app/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 02:53:13 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16168</guid>
		<description><![CDATA[It&#8217;s easy to create your first application in Android once you have a development environment. Thus, the pre-requisites fro this Android tutorial are: * Create an Android development environment * Research the audience / device you are targeting and create the AVD Once you are able to do the above, you are now ready to [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>It&#8217;s easy to create your first application in Android once you have a development environment. Thus, the pre-requisites fro this Android tutorial are:</p>
<p>* <a href="http://htmlpress.net/getting-started-with-android-development/" title="android development" target="_blank">Create an Android development environment</a><br />
* <a href="http://htmlpress.net/how-to-create-an-avd-for-android/" title="create an avd for android" target="_blank">Research the audience / device you are targeting and create the AVD</a></p>
<p>Once you are able to do the above, you are now ready to create your first Android application.</p>
<p><strong>Create An Android App</strong></p>
<p>1 &#8211; Start Eclipse<br />
2 &#8211; Click File | New | Project&#8230;</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Eclipse-New-Project-.png" /></p>
<p>3 &#8211; On the <em>New Project</em> window, select <em>Android</em> | <em>Android Project</em> then click the <em>Next</em> button. The <em>New Android Project</em> window will appear.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Eclipse-New-Android-Project-.png" /></p>
<p>4 &#8211; On the <em>New Android Project</em> window, enter <em>Hello World</em> in the <em>Project Name</em> text box; click the <em>Next</em> button. The following screen will appear.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Eclipse-New-Android-Project-2.png" /></p>
<p>5 &#8211; On the <strong>next</strong> New Android Project window, select the SDK to target. In this case Google API 2.2 is selected so that we can use the <a href="http://htmlpress.net/how-to-create-a-huawei-ideos-android-virtual-device-avd/">Huawei Ideos AVD</a> created in the previous post.  Click the <em>Next</em> button. The following screen will appear.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Eclipse-New-Android-Project-3.png" /></p>
<p>6 &#8211; On the <strong>next</strong> <em>New Android Project</em> window, enter <em>net.htmlpress.helloworld</em> in the <em>Package Name</em> text box, then click the <em>Finish</em> button</p>
<p>7 &#8211; To run the project, double click on the <em>HelloWorld</em> project in Eclipse&#8217;s <em>Package Explorer</em> panel then click on the <em>Run</em> button found at the top of the Eclipse editor. This will launch the default AVD. This is not a problem if you created a single AVD. </p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/HelloWorld-Huawei-Ideos.png" /></p>
<p>If you have multiple AVDs and would like to select a particular one for this project just set your Target configuration to manual in Eclipse. You can do this by clicking the menu <em>Run</em> | <em>Run Configurations</em>&#8230; The following screen should appear.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Eclipse-Run-Configurations-.png" /></p>
<p>In the <em>Run Configuration</em> screen, select the <em>Target</em> tab and click on the <em>Manual</em> option. Once you run your Android project in Eclipse, the Android Device Choose window will appear and from here you can select what AVD to use.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Android-Device-Chooser-.png" /></p>
<p>Once Android is running in your AVD, unlock it by dragging the Arrow to the right. This will take you to the main Android screen. And from here the HelloWorld app will run automatically.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/android-for-beginners-creating-your-first-app/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create A Huawei Ideos Android Virtual Device (AVD)</title>
		<link>http://htmlpress.net/how-to-create-a-huawei-ideos-android-virtual-device-avd/</link>
		<comments>http://htmlpress.net/how-to-create-a-huawei-ideos-android-virtual-device-avd/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 01:47:42 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16160</guid>
		<description><![CDATA[Huawei Ideos is an Android smart phone that is marketed to the masses worldwide. For less than $90 you can purchase this smartphone outright. So if you are planning to target users of this demographics then it&#8217;s essential to create and test your Android app on a Huawei Ideos AVD. In order to create one, [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Huawei Ideos is an Android smart phone that is marketed to the masses worldwide. For less than $90 you can purchase this smartphone outright. So if you are planning to target users of this demographics then it&#8217;s essential to create and test your Android app on a Huawei Ideos AVD. In order to create one, we first did our research on its <a href="http://www.phonearena.com/phones/Huawei-U8150-IDEOS_id4917" rel="nofollow">technical specifications</a>:</p>
<p>OS &#8211; Android 2.2<br />
Display Resolution &#8211; 240&#215;320 pixels<br />
Pixel density &#8211; 143 ppi</p>
<p>Based on this information, the following AVD is created. The Skin is QVGA which was not mentioned in the first reference but mentioned <a href="http://www.engadget.com/2010/09/03/huawei-ideos-hands-on/" rel="nofollow">here</a>.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Huawei-Ideos-AVD-.png" /></p>
<p>The AVD specifications are as follows:</p>
<p>Target &#8211; Android 2.2; API Level 8<br />
Skin: Built-in &#8211; QVGA<br />
Hardware Property:<br />
  Abstracted LCD Density = 120<br />
  LCD pixel height = 320<br />
  LCD pixel width = 240<br />
  Max Application VM Heap = 24</p>
<p>When this AVD was started, it didn&#8217;t quite match up to the smartphone&#8217;s actual size. In order to correct this, play around with its <em>Launch Options</em> settings. These settings appear after you press the <em>Start</em>&#8230; button in the AVD Manager.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Huawei-Ideos-Launch-Options-.png" /></p>
<p>After coming up with the Launch Options settings above, this AVD appeared which is close enough to the real thing:</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Huawei-Ideos.png" /></p>
<p>Ideos does not come with a physical keyboard because its keyboard is on the screen. Luckily with AVDs you can specify a keyboard outside of the screen to make your testing much easier.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/how-to-create-a-huawei-ideos-android-virtual-device-avd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Create An AVD For Android</title>
		<link>http://htmlpress.net/how-to-create-an-avd-for-android/</link>
		<comments>http://htmlpress.net/how-to-create-an-avd-for-android/#comments</comments>
		<pubDate>Mon, 16 Apr 2012 12:31:40 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16150</guid>
		<description><![CDATA[Even before you start developing, it is essential to know who you are developing for. And by this, we mean, defining the Android device where the majority of your audience are. Unlike the iPhone, Android mobile phones are fragmented in the sense that there could be different types of display configuration. This means that if [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>Even before you start developing, it is essential to know who you are developing for. And by this, we mean, defining the Android device where the majority of your audience are. Unlike the iPhone, Android mobile phones are fragmented in the sense that there could be different types of display configuration. This means that if you develop for a Huawei Ideos Android phone, the screen rendition may be different in a Samsung Galaxy mobile phone because the latter has a bigger screen display compared to a Huawei. And the more objects (i.e. buttons, text boxes, etc.) you have on your mobile app, the more testing you will need to do on the different devices.</p>
<p>Realistically you cannot test on all android devices unless you are a big company. But there is a smart work around to do this and it is in the form of AVDs &#8211; or Android Virtual Devices. Once you have installed your <a href="http://htmlpress.net/getting-started-with-android-development/" title="android">android development environment</a> decide on what version of Android and the Android device(s) you are targeting for. Listed below are the different versions of Android and their commercial names:</p>
<ul>
<li>Eclair &#8211; version 2.0 / 2.1</li>
<li>Froyo &#8211; version 2.2 / 2.2x</li>
<li>Gingerbread &#8211; version 2.3 / 2.3x</li>
<li>Honeycomb &#8211; version 3.0 / 3.x</li>
<li>Ice Cream Sandwhich &#8211; version 4.0 / 4.x</li>
</ul>
<p>Once you have decided this, find out what Android devices came pre-installed with the Android version that you are targeting for. Then research for its technical specifications and then create the AVD.</p>
<p><strong>Create an Android Virtual Device (AVD)</strong></p>
<p>1 &#8211; Just start your Android SDK Manager. If you are using <em>Ubuntu</em>, go to <em>Terminal</em> and type <em>Android</em>. You should see the following screen below:</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Screenshot-Android-SDK-Manager-.png" width="550px"/></p>
<p>2 &#8211; Click on the Tools | Manager AVD </p>
<p>3 &#8211; The Android Virtual Device Manager will appear</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Screenshot-Android-Virtual-Device-Manager-.png" width="550px /></p>
<p>4 &#8211; Click the <em>New</em> button</p>
<p>5 &#8211; The <em>Create new Android Virtual Device (AVD)</em> screen will appear</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Screenshot-Create-new-Android-Virtual-Device-AVD-.png" width="550px" /></p>
<p>6 &#8211; Fill out the fields based on the technical specifications of a particular smartphone you have researched</p>
<p>7 &#8211; Click on the <em>Create AVD</em> button. This should take you back to the <em>Android Virtual Device Manager</em>. To start the AVD you have created, select its AVD Name and click on the Start&#8230; button. In this case, Nexus One was selected and after clicking the Start button the following Launch Options screen appeared. </p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Screenshot-Launch-Options-.png" /></p>
<p>Just press the <em>Launch</em> button to continue in order to load the AVD.</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/Screenshot-5554-NexusOne.png" width="550px" /></p>
<p>Once you get your AVD running, your ready to develop some web apps!</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/how-to-create-an-avd-for-android/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Online Android Development Environment</title>
		<link>http://htmlpress.net/online-android-development-environment/</link>
		<comments>http://htmlpress.net/online-android-development-environment/#comments</comments>
		<pubDate>Fri, 13 Apr 2012 13:31:09 +0000</pubDate>
		<dc:creator>htmlpress</dc:creator>
				<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://htmlpress.net/?p=16119</guid>
		<description><![CDATA[If you haven&#8217;t started your android environment yet, or if you find that there&#8217;s too much work setting up an android environment in Ubuntu or Windows, then fret not. There&#8217;s an online service where you can actually code for Android and it&#8217;s called programr.com. This enables you to get on right with Android programming without [...]]]></description>
			<content:encoded><![CDATA[<div class="KonaBody"><p>If you haven&#8217;t <a href="http://htmlpress.net/getting-started-with-android-development/" title="android">started your android environment</a> yet, or if you find that there&#8217;s too much work setting up an android environment in Ubuntu or Windows, then fret not. There&#8217;s an online service where you can actually code for Android and it&#8217;s called <a href="http://www.programr.com/Android" target="_blank">programr.com</a>. This enables you to get on right with Android programming without ever having to learn to setup and local Android environment. It&#8217;s a good place to start and there&#8217;s probably a monthly fee in order for you to use it.</p>
<p>So why have an Android tutorial?</p>
<p>Our website&#8217;s motto is: <strong>learning the web</strong>. Note too that the motto is always speaking in presence tense. And this graph will explain why:</p>
<p><img src="http://htmlpress.net/wp-content/uploads/2012/04/wordpress-android.png" width="550px" /></p>
<p>So although we started as a WordPress website tutorial, we decided not to stop there becuase the web continues to evolve. In one of our post, we have shown how <a href="http://htmlpress.net/wordpress-now-on-48-of-top-100-blogs/" title="wordpress">WordPress continues to grow</a> as the most popular CMS platform on the web. And this is the main reason why we have our <a href="http://htmlpress.net/wordpress-tutorial/" title="wordpress tutorial">WordPress tutorial</a> in order to help you build your own website. And as the graph above shows, Android is just too hot a technology to ignore. We were then confronted with the question on how to bridge the gap between WordPress and Android. But this is getting ahead of the story. Most important thing now is to get that Android development up and running.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://htmlpress.net/online-android-development-environment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
