<?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>Android Tutorials and Android Development Course for Beginners</title>
	<atom:link href="http://www.androidtutorials.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.androidtutorials.org</link>
	<description>Android programming tips and tricks for android developers</description>
	<lastBuildDate>Thu, 26 Apr 2012 10:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Calendar Application</title>
		<link>http://www.androidtutorials.org/calendar-application/</link>
		<comments>http://www.androidtutorials.org/calendar-application/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 10:16:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Application Development]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Android Programming]]></category>
		<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[app development]]></category>

		<guid isPermaLink="false">http://www.androidtutorials.org/?p=924</guid>
		<description><![CDATA[This example explains how to call and use system calendar into your application. Algorithm: 1.)   Create a new project by File-&#62; New -&#62; Android Project name it CalendarApplication. 2.)   Write following into main.xml file: &#38;lt;?xml version=&#60;em&#62;&#34;1.0&#34;&#60;/em&#62; encoding=&#60;em&#62;&#34;utf-8&#34;&#60;/em&#62;?&#38;gt; &#38;lt;LinearLayout xmlns:android=&#60;em&#62;&#34;http://schemas.android.com/apk/res/android&#34;&#60;/em&#62; android:layout_width=&#60;em&#62;&#34;fill_parent&#34;&#60;/em&#62; &#8230; <a href="http://www.androidtutorials.org/calendar-application/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.androidtutorials.org/wp-content/uploads/2012/04/thumb.jpg"><img class="alignleft size-thumbnail wp-image-930" title="thumb" src="http://www.androidtutorials.org/wp-content/uploads/2012/04/thumb-150x150.jpg" alt="" width="150" height="150" /></a><strong> </strong>This example explains how to call and use system calendar into your application.</p>
<p><strong>Algorithm:</strong></p>
<p><strong> </strong></p>
<p>1.)   Create a new project by File-&gt; New -&gt; Android Project name it CalendarApplication.</p>
<p>2.)   Write following into main.xml file:</p>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;"><span class="sc1">&amp;lt;</span>?xml version=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;1.0&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span> encoding=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;utf-8&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span>?<span class="sc1">&amp;gt;</span></p>
<p><span class="sc1">&amp;lt;</span>LinearLayout xmlns:android=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;http://schemas.android.com/apk/res/android&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_width=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;fill_parent&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_height=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;fill_parent&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:orientation=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;vertical&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span> <span class="sc1">&amp;gt;</span></p>
<p><span class="sc1">&amp;lt;</span>Button</p>
<p>android:id=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;@+id/button1&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_width=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;wrap_content&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_height=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;wrap_content&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:onClick=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;onClick&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:text=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;Create Event&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span> /<span class="sc1">&amp;gt;</span></p>
<p><span class="sc1">&amp;lt;</span>Button</p>
<p>android:id=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;@+id/button2&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_width=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;wrap_content&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:layout_height=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;wrap_content&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:onClick=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;queryCalendar&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span></p>
<p>android:text=<span class="sc3"><span class="re1">&lt;em<span class="re2">&gt;</span></span></span>&quot;Query Calendar&quot;<span class="sc3"><span class="re1">&lt;/em<span class="re2">&gt;</span></span></span> /<span class="sc1">&amp;gt;</span></p>
<p><span class="sc1">&amp;lt;</span>/LinearLayout<span class="sc1">&amp;gt;</span></div>
</div>
<p>3.)   Put INTERNET permission to manifest file:</p>
<p>&lt;uses-permission</p>
<p>android:name=<em>&#8220;android.permission.READ_CALENDAR&#8221;</em>&gt;</p>
<p>&lt;/uses-permission&gt;</p>
<p>&lt;uses-permission</p>
<p>android:name=<em>&#8220;android.permission.WRITE_CALENDAR&#8221;</em>&gt;</p>
<p>&lt;/uses-permission&gt;</p>
<p>4.)   Run for output.</p>
<p><strong>Steps:</strong></p>
<p><strong> </strong></p>
<p>1.) Create a project named CalendarApplication and set the information as stated in the image.</p>
<p>Build Target: Android 4.0</p>
<p>Application Name: CalendarApplication</p>
<p>Package Name: com. example. CalendarApplication</p>
<p>Activity Name: CalendarApplicationActivity</p>
<p>Min SDK Version: 14</p>
<p><a href="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp1.png"><img class="alignnone size-medium wp-image-925" title="calendarapp1" src="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp1-300x159.png" alt="" width="300" height="159" /></a></p>
<p>2.) Open CalendarApplicationActivity.java file and write following code there:</p>
<div class="codesnip-container" >
<div class="java codesnip" style="font-family:monospace;"><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>package<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> com.<span class="me1">example</span>.<span class="me1">CalendarApplication</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> java.<span class="me1">util</span>.<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Agregoriancalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">GregorianCalendar</span></a><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">app</span>.<span class="me1">Activity</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">content</span>.<span class="me1">ContentResolver</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">content</span>.<span class="me1">Intent</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">database</span>.<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Acursor+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Cursor</span></a><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">net</span>.<span class="me1">Uri</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">os</span>.<span class="me1">Bundle</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">provider</span>.<span class="me1">CalendarContract</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">provider</span>.<span class="me1">CalendarContract</span>.<span class="me1">Calendars</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">provider</span>.<span class="me1">CalendarContract</span>.<span class="me1">Events</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">view</span>.<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aview+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">View</span></a><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>import<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> android.<span class="me1">widget</span>.<span class="me1">Toast</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>public<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>class<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> CalendarApplicationActivity  <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>extends<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> Activity <span class="br0">&#123;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>public<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>static<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>final<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EVENT_PROJECTION<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span> <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>new<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="br0">&#123;</span></p>
<p>Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>_ID<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="co1">// 0</span></p>
<p>Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACCOUNT_NAME<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="co1">// 1</span></p>
<p>Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>CALENDAR_DISPLAY_NAME<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span> <span class="co1">// 2</span></p>
<p><span class="br0">&#125;</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>private<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>static<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>final<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>int<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>PROJECTION_DISPLAY_NAME_INDEX<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span> <span class="sy0">=</span> <span class="nu0">2</span><span class="sy0">;</span></p>
<p>@Override</p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>public<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>void<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> onCreate<span class="br0">&#40;</span>Bundle savedInstanceState<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>super<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span>.<span class="me1">onCreate</span><span class="br0">&#40;</span>savedInstanceState<span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>setContentView<span class="br0">&#40;</span>R.<span class="me1">layout</span>.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>main<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="br0">&#125;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>public<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>void<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> onClick<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aview+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">View</span></a> view<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p>Intent intent <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>new<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> Intent<span class="br0">&#40;</span>Intent.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACTION_INSERT<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">setType</span><span class="br0">&#40;</span><span class="st0">&quot;vnd.android.cursor.item/event&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>TITLE<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="st0">&quot;Learn Android&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EVENT_LOCATION<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="st0">&quot;Home suit home&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>DESCRIPTION<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="st0">&quot;Download Examples&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Agregoriancalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">GregorianCalendar</span></a> calDate <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>new<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Agregoriancalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">GregorianCalendar</span></a><span class="br0">&#40;</span>2012, 10, 02<span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>CalendarContract.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EXTRA_EVENT_BEGIN_TIME<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>,</p>
<p>calDate.<span class="me1">getTimeInMillis</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>CalendarContract.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EXTRA_EVENT_END_TIME<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>,</p>
<p>calDate.<span class="me1">getTimeInMillis</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>CalendarContract.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EXTRA_EVENT_ALL_DAY<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>true<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>RRULE<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>,</p>
<p><span class="st0">&quot;FREQ=WEEKLY;COUNT=11;WKST=SU;BYDAY=TU,TH&quot;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACCESS_LEVEL<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACCESS_PRIVATE<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>intent.<span class="me1">putExtra</span><span class="br0">&#40;</span>Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>AVAILABILITY<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, Events.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>AVAILABILITY_BUSY<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>startActivity<span class="br0">&#40;</span>intent<span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="br0">&#125;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>public<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>void<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> queryCalendar<span class="br0">&#40;</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Aview+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">View</span></a> view<span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Acursor+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">Cursor</span></a> cur <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>null<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;;</span></p>
<p>ContentResolver cr <span class="sy0">=</span> getContentResolver<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>Uri uri <span class="sy0">=</span> Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>CONTENT_URI<span class="sy0">&lt;/</span>em<span class="sy0">&gt;;</span></p>
<p><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> selection <span class="sy0">=</span> <span class="st0">&quot;((&quot;</span> <span class="sy0">+</span> Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACCOUNT_NAME<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span> <span class="sy0">+</span> <span class="st0">&quot; = ?) AND (&quot;</span></p>
<p><span class="sy0">+</span> Calendars.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>ACCOUNT_TYPE<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span> <span class="sy0">+</span> <span class="st0">&quot; = ?))&quot;</span><span class="sy0">;</span></p>
<p><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> selectionArgs <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>new<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a><span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="br0">&#123;</span> <span class="st0">&quot;Lars.Vogel@gmail.com&quot;</span>,</p>
<p><span class="st0">&quot;com.google&quot;</span> <span class="br0">&#125;</span><span class="sy0">;</span></p>
<p>cur <span class="sy0">=</span> cr.<span class="me1">query</span><span class="br0">&#40;</span>uri, <span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>EVENT_PROJECTION<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span>, selection, selectionArgs, <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>null<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>while<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span> <span class="br0">&#40;</span>cur.<span class="me1">moveToNext</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span></p>
<p><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3Astring+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span class="kw3">String</span></a> displayName <span class="sy0">=</span> <span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>null<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;;</span></p>
<p>displayName <span class="sy0">=</span> cur.<span class="me1">getString</span><span class="br0">&#40;</span><span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>PROJECTION_DISPLAY_NAME_INDEX<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p>Toast.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>makeText<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#40;</span><span class="sy0">&lt;</span>strong<span class="sy0">&gt;</span>this<span class="sy0">&lt;/</span>strong<span class="sy0">&gt;</span>, <span class="st0">&quot;Calendar &quot;</span> <span class="sy0">+</span> displayName, Toast.<span class="sy0">&lt;</span>em<span class="sy0">&gt;</span>LENGTH_SHORT<span class="sy0">&lt;/</span>em<span class="sy0">&gt;</span><span class="br0">&#41;</span></p>
<p>.<span class="me1">show</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></p>
<p><span class="br0">&#125;</span></p>
<p><span class="br0">&#125;</span></p>
<p><span class="br0">&#125;</span></div>
</div>
<p>3.) Compile and build the project.</p>
<p><strong> </strong></p>
<p><strong>Output</strong></p>
<p><a href="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp2.png"><img class="alignnone size-medium wp-image-926" title="calendarapp2" src="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp2-300x268.png" alt="" width="300" height="268" /></a></p>
<p><a href="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp3.png"><img class="alignnone size-medium wp-image-928" title="calendarapp3" src="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp3-300x267.png" alt="" width="300" height="267" /></a></p>
<p>4.) If your phone doesn’t have any default calendar installed you will see the screen as below. Follow the instructions and see your calendar.</p>
<p><a href="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp4.png"><img class="alignnone size-medium wp-image-929" title="calendarapp4" src="http://www.androidtutorials.org/wp-content/uploads/2012/04/calendarapp4-300x267.png" alt="" width="300" height="267" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/calendar-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Android 4.0: Ice Cream Sandwich Comes With Some Amazing Features</title>
		<link>http://www.androidtutorials.org/google-android-4-0-ice-cream-sandwich-features/</link>
		<comments>http://www.androidtutorials.org/google-android-4-0-ice-cream-sandwich-features/#comments</comments>
		<pubDate>Sat, 17 Mar 2012 09:14:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[android 4.0]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Android Programming]]></category>
		<category><![CDATA[Android Tutorial]]></category>

		<guid isPermaLink="false">http://www.androidtutorials.org/?p=903</guid>
		<description><![CDATA[Google android currently is a most well-known stand, as per varied survey company this android mobile operating system turned into most common than apple iPhone smart phone. And still in frequently developing and that makes it different and that is &#8230; <a href="http://www.androidtutorials.org/google-android-4-0-ice-cream-sandwich-features/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Google android currently is a most well-known stand, as per varied survey company this <a href="http://www.androidtutorials.org/wp-content/uploads/2012/03/Android-4.0-Launch.jpeg"><img class="alignright size-full wp-image-904" title="Android 4.0 Launch" src="http://www.androidtutorials.org/wp-content/uploads/2012/03/Android-4.0-Launch.jpeg" alt="Android tutorials" width="264" height="219" /></a>android mobile operating system turned into most common than apple iPhone smart phone. And still in frequently developing and that makes it different and that is the major valid reason for turning into so much widely used in short period of time. Google has launched android 3. 1, 3. 0, and 3. 2 honeycomb and even the gingerbread for smart phone. Last year company has declared about android 4. 0 that is also identified as ice cream sandwich, by that android has shake the complete smart phone market and people who are eager of utilizing smart phone they will definitely wait for this completely unique product.</p>
<p>The essential thing is after the announcement of this news is spreading like a wind all over the internet and folks are looking to buy it. And Google also says that by this latest version they will try to create the operating system that can run everywhere and so android 4. 0 was urbanized. After thriving in android based device the necessity of <strong>android app developer</strong> is also thriving on quick way.</p>
<p>Below stated are some of the significant options of android 4. 0</p>
<p><span style="text-decoration: underline;"><strong>1) Multi-tasking Button</strong></span></p>
<p>Android 4. 0 comes with a virtual button that makes it simple to browse and quickly switch to apps you recently used. The list exhibits thumbnail images of apps&#8211;instead of just icons&#8211;so you can observe which part of the apps are at present functioning in the background. And, if you choose to throw away or discard an item on the list, simply just flick the thumbnail so that you can remove it from the list.</p>
<p><span style="text-decoration: underline;"><strong>2) Face Unlock</strong></span></p>
<p>Now neglect to remember password, pin codes, and patterns. Android 4. 0 ice cream sandwich has customized phone unlocking quite easy, with most recently released aspect on unlocking the device, now your android tablet can find the owner face and by that it will unlock.</p>
<p><span style="text-decoration: underline;"><strong>3) Multiple keyboard languages</strong></span></p>
<p>Consumers that converse multiple languages will really enjoy this characteristic. You can now add multiple languages to the keyboard and easily switch between Latin-based input languages by swiping across the space bar. Not only does this results the keys but it influences the auto-correct dictionary as well.</p>
<p><span style="text-decoration: underline;"><strong>4) Instant Screenshots with Button Press</strong></span></p>
<p>There are lots of occasions in which users wish to share others what is right now exhibited on your screen. There are also times when they just need to save a screenshot for later use. In previous versions of <strong>Android tutorials</strong>, they could take screenshots by installing apps for that purpose. In Android 4. 0, it&#8217;s a built-in feature. By sustaining the Power and Volume Down buttons together, your Android smartphone lets you grab screen images promptly.</p>
<p><span style="text-decoration: underline;"><strong>5) Data Usage Monitoring</strong></span></p>
<p>The Android 4 OS originates with an in-built ability to observe the data usage of the phone. Phones users normally fear of their data usage. Data prices are high once your go beyond the data usage limit. The new OS monitor the level of data utilized displays it in a nice graphical format to the user. Users can add extra warning signals for excess data usage limits. Further, data usage for each application can be set in advance for managed mobile data usage.</p>
<p><strong><span style="text-decoration: underline;">6) Powerful voice input engine</span></strong></p>
<p><strong>Android 4. 0</strong> initiates a amazing new voice input engine that offers you a frequent &#8220;open microphone&#8221; experience and streaming voice recognition. Now you can speak continuously for a longed time, even pause for intervals if needed and dictate punctuation to create correct sentences. As the voice input engine enters text, it shows underlines to possible dictation errors in gray. You can tap the underlined words to rapidly replace them from a list of solutions.</p>
<p><strong><span style="text-decoration: underline;">7) Copy and Paste</span></strong></p>
<p>Copy and paste overall performance got a re-vamp and is much easier to use. You can now move around whole blocks of text.</p>
<p>This upgrade only shows how committed Google is to making Android the top mobile operating system. As you can see, there are countless superb new options in Ice Cream Sandwich that make it a top contender in the mobile and tablet market. This also illustrates that we can expect many more great new things from <strong>Android development</strong> in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/google-android-4-0-ice-cream-sandwich-features/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Development Tutorial-TableLayout</title>
		<link>http://www.androidtutorials.org/android-development-tutorial-tablelayout/</link>
		<comments>http://www.androidtutorials.org/android-development-tutorial-tablelayout/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 21:07:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android Course]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Development Tutorial-TableLayout]]></category>
		<category><![CDATA[Android Development Tutorials]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[Android Programming Tutorials]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[android tutorial fr beginners]]></category>
		<category><![CDATA[learn android]]></category>
		<category><![CDATA[Online Android Tutorial]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=727</guid>
		<description><![CDATA[Android Development Tutorial-TableLayout 7.1. Overview In earlier chapter we have used the LinearLayout which allows to stack widgets vertical or horizontal. LinearLayout can be nestled to archive nice effects. This chapter will demonstrate the usage of &#8220;TableLayout&#8221;. This layout allows &#8230; <a href="http://www.androidtutorials.org/android-development-tutorial-tablelayout/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Android Development Tutorial</strong>-TableLayout<br />
7.1. Overview</p>
<p>In earlier chapter we have used the LinearLayout which allows to stack widgets vertical or horizontal. LinearLayout can be nestled to archive nice effects. This chapter will demonstrate the usage of &#8220;TableLayout&#8221;.</p>
<p>This layout allows to organize view into a table format. You specify via the view group &#8220;TableRow&#8221; rows for your table. Afterwards you put widgets into the individual rows.</p>
<p>On the &#8220;TableLayout&#8221; you can define which column should take additional space via the &#8220;android:stretchColumns&#8221; attribute. If several columns should take the available space you can specific them as a comma-separated list. Similar you can use the attribute &#8220;android:shrinkColumn&#8221;, which will try to word-wrap the content of the specified widgets and the attribute &#8220;android:collapseColums&#8221; to define initially hidden columns. Via Java you can display / hide these columns via the method setColumnVisible().</p>
<p>Columns will be automatically created based on the maximum number of widgets in one row. Per default each widgets creates a new column in the row. You can specific via &#8220;android:layout_column&#8221; the column a widget should go and via &#8220;android:layout_span&#8221; how many columns a widget should take.</p>
<p>You can also put non TableRows in a table. This way you can for example add dividers between your columns.<br />
7.2. Example</p>
<p>Create the project &#8220;de.vogella.android.layout.table&#8221; with the activity &#8220;DemoTableLayout&#8221;. Change &#8220;main.xml&#8221; to the following.</p>
<p>&lt; ?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt;</p>
<p>android:orientation=&#8221;vertical&#8221; android:layout_width=&#8221;fill_parent&#8221;<br />
android:layout_height=&#8221;fill_parent&#8221;&gt;<br />
android:id=&#8221;@+id/tableLayout1&#8243; android:layout_height=&#8221;wrap_content&#8221;<br />
android:stretchColumns=&#8221;1&#8243;&gt;<br />
android:layout_height=&#8221;wrap_content&#8221; android:id=&#8221;@+id/tableRow1&#8243;&gt;<br />
android:layout_width=&#8221;wrap_content&#8221; android:layout_height=&#8221;wrap_content&#8221;&gt;<br />
android:layout_width=&#8221;wrap_content&#8221; android:layout_height=&#8221;wrap_content&#8221;<br />
android:layout_column=&#8221;2&#8243;&gt;<br />
android:layout_height=&#8221;4px&#8221; android:background=&#8221;#FF0000&#8243;&gt;&nbsp;</p>
<p>android:layout_height=&#8221;wrap_content&#8221;&gt;<br />
android:layout_width=&#8221;wrap_content&#8221; android:id=&#8221;@+id/editText3&#8243;&gt;<br />
android:layout_width=&#8221;wrap_content&#8221; android:text=&#8221;Field4&#8243;<br />
android:id=&#8221;@+id/editText4&#8243;&gt;<br />
<button> android:onClick=&#8221;toogleHiddenRows&#8221; android:layout_width=&#8221;wrap_content&#8221;<br />
android:layout_height=&#8221;wrap_content&#8221;&gt;</button></p>
<p>Change the activity &#8220;DemoTableLayout&#8221; to the following to use the button to hide the second column in the table.<br />
This <strong>Android Tutorial</strong> has been taken from <a href="http://www.vogella.de/articles/Android/article.html#dialog">Vogella</a> click the link to read the entire android development tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-development-tutorial-tablelayout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Tutorial and Android  Development Course for Beginners</title>
		<link>http://www.androidtutorials.org/android-tutorial-and-android-development-course-for-beginners/</link>
		<comments>http://www.androidtutorials.org/android-tutorial-and-android-development-course-for-beginners/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 12:17:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[android tuorials]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[Android Tutorial and Android Development Course for Beginners]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=881</guid>
		<description><![CDATA[Taught by real teachers who guide you through every topic step by step. Our Android Tutorial Training System Is Proven &#38; Guaranteed Our course creators and instructors have worked on mobile apps and mobile gaming projects published by top tier &#8230; <a href="http://www.androidtutorials.org/android-tutorial-and-android-development-course-for-beginners/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://androidtutorials.org/wp-content/uploads/2011/04/android-box-tilted-mobiletraining-c.jpg"><img class="alignleft size-full wp-image-882" title="android-box-tilted-mobiletraining-c" src="http://androidtutorials.org/wp-content/uploads/2011/04/android-box-tilted-mobiletraining-c.jpg" alt="" width="303" height="400" /></a></p>
<p><strong>Taught by real teachers who guide you</strong><br />
<strong> through every topic step by step.</strong></p>
<p>Our <strong>Android Tutorial</strong> Training System Is Proven &amp; Guaranteed</p>
<p>Our course creators and instructors have worked on mobile apps and mobile gaming projects published by top tier companies such as EA Mobile, iPlay, Oberon Media, Disney Mobile, Sony Pictures, Warner Bros, and Vodafone amongst others. They have been actively involved for over 7 years in the mobile industry through our associated sister company Chakra Interactive.</p>
<p><strong>Inside The Android Training Program You Will &#8230;</strong></p>
<p><strong>Master Android Development</strong> via a fun and easy to learn system</p>
<p>Learn step-by-step via Online Video Android Tutorials, PDFs and Worksheets</p>
<p>Get direct guidance and live One-on-One Support from our Tutors</p>
<p>Take Weekly Exercises that are then reviewed and graded for you</p>
<p>Have Tutors chart and monitor your progress on a regular basis</p>
<p>Learn from the comfort of your home, at the time of your convenience</p>
<p>Work on a live commercial project as part of your final project</p>
<p>Get an EDUmobile certification for the full tenure of the course</p>
<p>Once candidates complete our Android course they may go on to independantly create and publish their own Android Apps, or work as Freelancers taking on Android projects for Clients from sites like Elance and oDesk, or they can directly benefit from a higher pay having enhanced their technical skill sets in a cutting edge technology space.</p>
<p><strong>How We Conduct The Android Tutorials &amp; Course</strong></p>
<p>Our experienced team of developers and tutors have created and refined the course based on a proven system that works and is recognized in the industry.</p>
<p><strong>The course will train you via a step-by-step, fun and easy to learn methodology where our Tutors are available to you via live chat and email throughout the course.</strong></p>
<p>The tutors are available to help you whenever you face a road block, or anytime you are stuck with understanding a conceptual problem or you face coding issues or you just simply need their guidance.</p>
<p>You are never charged any extra fees whatsoever, for any tutor support throughout the entire duration of the 8 week course.</p>
<p>&#8221; We confidently say (and our students testify this) that, there is simply no other Android Training Program or Off-the-shelf Book that can match our methodology, our highly organized course material, the online training videos, the weekly worksheets, the access to live projects and the level of one-on-one support that is available throughout the term of the course.&#8221;</p>
<p><strong>[1]</strong> Online Video Training &#8211; Once a Week. Delivered via broadband or DVD / CD via postal mail.</p>
<p><strong>[2]</strong> One-on-One Interactive Online Support &#8211; Get 24 hour access by posting your issues and get help from our expert tutors quickly.</p>
<p><strong>[3] </strong>Weekly PDFs and Worksheets &#8211; Read material and practice real problems and assignments as you go along.</p>
<p><strong>[4] </strong>Live Industrial Project &#8211; One to two Live projects, with a choice to distribute the developed properties through various channels, and earn money.</p>
<p><strong>[5] </strong>24 x 7 Forum Access &#8211; Come to the members only online forum to meet other developers and discuss ideas and coding issues.</p>
<p><strong>[6]</strong> EDUmobile Certification &#8211; Get a Certificate at the end of the course from EDUmobile &#8211; a recognized entity in the wireless industry.</p>
<p><strong>[7] </strong>Access The Source Code Repository &#8211; Access and download over 100 valuable Source Code snippets that you can use freely in any of your projects for life.</p>
<p><strong>[8]</strong> DVD &amp; CD by mail* &#8211; At the end of the course, on request, we will send you all the content including bonus materials by postal mail.</p>
<p><strong><a href="http://www.edumobile.org/241-5-1-32.html">LIMITED SEATS AVAILABLE &#8211; Sign Up at EDUmobile.ORG Android Development Course Today!</a></strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-tutorial-and-android-development-course-for-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Tutorial-Making a custom Android button using a custom view</title>
		<link>http://www.androidtutorials.org/android-tutorial-making-a-custom-android-button-using-a-custom-view/</link>
		<comments>http://www.androidtutorials.org/android-tutorial-making-a-custom-android-button-using-a-custom-view/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 21:46:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android Course]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Development Tutorials]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[Android Programming Tutorials]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[Android Tutorial to create and android button]]></category>
		<category><![CDATA[learn android]]></category>
		<category><![CDATA[Online Android Tutorial]]></category>
		<category><![CDATA[tutorial android]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=731</guid>
		<description><![CDATA[Android Tutorial-Making a custom Android button using a custom view Creating a custom view is as simple as inheriting from the View class and overriding the methods that need to be overridden. In this example, a custom button is implemented &#8230; <a href="http://www.androidtutorials.org/android-tutorial-making-a-custom-android-button-using-a-custom-view/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Android Tutorial</strong>-Making a custom <strong>Android button</strong> using a custom view</p>
<p>Creating a custom view is as simple as inheriting from the <a href="http://code.google.com/android/reference/android/view/View.html" target="_blank"> View class</a> and overriding the methods that need to be overridden. In this example,  a custom button is implemented in this way. The button shall feature a labelled  image (i.e. an image with text underneath).<br />
<span style="font-family: monospace;"><br />
<span style="color: #ff00ff;">1</span> <span style="color: #2e8b57;"><strong>public</strong></span> <span style="color: #2e8b57;"><strong>class</strong></span> CustomImageButton <span style="color: #2e8b57;"><strong>extends</strong></span> View {<br />
<span style="color: #ff00ff;">2</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> <span style="color: #2e8b57;"><strong>static</strong></span> <span style="color: #2e8b57;"><strong>int</strong></span> WIDTH_PADDING = <span style="color: #ff00ff;">8</span>;<br />
<span style="color: #ff00ff;">3</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> <span style="color: #2e8b57;"><strong>static</strong></span> <span style="color: #2e8b57;"><strong>int</strong></span> HEIGHT_PADDING = <span style="color: #ff00ff;">10</span>;<br />
<span style="color: #ff00ff;">4</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> String label;<br />
<span style="color: #ff00ff;">5</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> <span style="color: #2e8b57;"><strong>int</strong></span> imageResId;<br />
<span style="color: #ff00ff;">6</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> Bitmap image;<br />
<span style="color: #ff00ff;">7</span> <span style="color: #2e8b57;"><strong>private</strong></span> <span style="color: #2e8b57;"><strong>final</strong></span> InternalListener listenerAdapter = <span style="color: #804040;"><strong>new</strong></span> InternalListener();<br />
<span style="color: #ff00ff;">8</span><br />
</span></p>
<p>The constructor can take in the parameters to set the button image and label.</p>
<p><span style="font-family: monospace;"><br />
<span style="color: #ff00ff;">9</span> <span style="color: #0000ff;">/**</span><br />
<span style="color: #ff00ff;">10</span> <span style="color: #6a5acd;">* Constructor.</span><br />
<span style="color: #ff00ff;">11</span> <span style="color: #0000ff;">* </span><br />
<span style="color: #ff00ff;">12</span> <span style="color: #0000ff;">* </span><span style="color: #6a5acd;">@param</span><span style="color: #008080;"> context</span><br />
<span style="color: #ff00ff;">13</span> <span style="color: #0000ff;">*        Activity context  in which the button view is being placed for.</span><br />
<span style="color: #ff00ff;">14</span> <span style="color: #0000ff;">* </span><br />
<span style="color: #ff00ff;">15</span> <span style="color: #0000ff;">* </span><span style="color: #6a5acd;">@param</span><span style="color: #008080;"> resImage</span><br />
<span style="color: #ff00ff;">16</span> <span style="color: #0000ff;">*        Image to put on  the button. This image should have been placed</span><br />
<span style="color: #ff00ff;">17</span> <span style="color: #0000ff;">*        in the drawable  resources directory.</span><br />
<span style="color: #ff00ff;">18</span> <span style="color: #0000ff;">* </span><br />
<span style="color: #ff00ff;">19</span> <span style="color: #0000ff;">* </span><span style="color: #6a5acd;">@param</span><span style="color: #008080;"> label</span><br />
<span style="color: #ff00ff;">20</span> <span style="color: #0000ff;">*        The text label  to display for the custom button.</span><br />
<span style="color: #ff00ff;">21</span> <span style="color: #0000ff;">*/</span><br />
<span style="color: #ff00ff;">22</span> <span style="color: #2e8b57;"><strong>public</strong></span> CustomImageButton(Context context, <span style="color: #2e8b57;"><strong>int</strong></span> resImage, String label)<br />
<span style="color: #ff00ff;">23</span> {<br />
<span style="color: #ff00ff;">24</span> <span style="color: #2e8b57;"><strong>super</strong></span>(context);<br />
<span style="color: #ff00ff;">25</span> <span style="color: #2e8b57;"><strong>this</strong></span>.label = label;<br />
<span style="color: #ff00ff;">26</span> <span style="color: #2e8b57;"><strong>this</strong></span>.imageResId = resImage;<br />
<span style="color: #ff00ff;">27</span> <span style="color: #2e8b57;"><strong>this</strong></span>.image = BitmapFactory.decodeResource(context.getResources(),<br />
<span style="color: #ff00ff;">28</span> imageResId);<br />
<span style="color: #ff00ff;">29</span><br />
<span style="color: #ff00ff;">30</span> setFocusable(<span style="color: #ff00ff;">true</span>);<br />
<span style="color: #ff00ff;">31</span> setBackgroundColor(Color.WHITE);<br />
<span style="color: #ff00ff;">32</span><br />
<span style="color: #ff00ff;">33</span> setOnClickListener(listenerAdapter);<br />
<span style="color: #ff00ff;">34</span> setClickable(<span style="color: #ff00ff;">true</span>);<br />
<span style="color: #ff00ff;">35</span> }<br />
<span style="color: #ff00ff;">36</span><br />
</span></p>
<p>With the constructor defined, there are a number of methods in the <strong>View</strong> class that needs to be overridden to this view behave like a button. Firstly, the <strong>onFocusChanged</strong> gets triggered when the focus moves onto or off the view.  In the case of our custom button, we want the button to be “highlighted” when ever  the focus is on the button.</p>
<p>This android tutorial to create and android button has been taken from the android development</p>
<p>tutorial by <a title="Android Tutorial -android Button" href="http://androidcore.com/android-programming-tutorials/235-making-a-custom-android-button-using-a-custom-view.html" target="_blank">androidcore</a> click the link to read the rest of the android tutorial</p>
<p><a href="http://www.edumobile.org/241-5-1-38.html" target="_blank"><img src="http://www.edumobile.org/affiliates/banners/android-learn-banner-468x60.gif" border="0" alt="learn android programming" width="468" height="60" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-tutorial-making-a-custom-android-button-using-a-custom-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android App Development – Some Basic Tips For Android Application Development.</title>
		<link>http://www.androidtutorials.org/android-app-development-%e2%80%93-some-basic-tips-for-android-application-development/</link>
		<comments>http://www.androidtutorials.org/android-app-development-%e2%80%93-some-basic-tips-for-android-application-development/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 17:43:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android App Development – Some Basic Tips For Android Application Development. Android Course]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Development Tutorials]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[Android Programming Tutorials]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[Android Tutorial to create and android button]]></category>
		<category><![CDATA[Android Tutorial: Using the Menu Button]]></category>
		<category><![CDATA[learn android]]></category>
		<category><![CDATA[Online Android Tutorial]]></category>
		<category><![CDATA[tutorial android]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=824</guid>
		<description><![CDATA[Android App Development – Some Basic Tips For Android Application Development. <a href="http://www.androidtutorials.org/android-app-development-%e2%80%93-some-basic-tips-for-android-application-development/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Android is a mobile software platform. It is an operating system too. It is designed based upon Linux Kernel. It is developed by Google and the Open Handset Alliance. Being an opensource platform there is no license fees so it reduces the initial investment of the project owner.</p>
<div id="attachment_826" class="wp-caption alignleft" style="width: 246px"><a href="http://androidtutorials.org/wp-content/uploads/2011/03/AndroidApps2.jpeg"><img class="size-full wp-image-826" title="Android Apps2" src="http://androidtutorials.org/wp-content/uploads/2011/03/AndroidApps2.jpeg" alt="" width="236" height="214" /></a><p class="wp-caption-text">Android apps Development</p></div>
<p>In the era of mobile technology, Android has been showing its enormous presence attracting, both, users and Android application developers. Since its release in 2007, we have found Android’s prospects in developing quality mobile applications. Whenever Google releases new versions of Android SDK, multiple new features are added to compete in the mobile technology world.</p>
<p>&nbsp;</p>
<p>Android has various characteristics to produce revolutionary mobile applications.</p>
<p>* To send and receive data across mobile platform Android uses various technologies like GSM, EDGE, CDMA, Bluetooth, Wi-Fi, EV-DO, and UMTS</p>
<p>* SQ-Lite for data storage</p>
<p>* Android has wide range of libraries for image, video and audio files like MPEG4, H.263, H.264, AMR, AMR-WB, MP3, AAC, JPG, BMP, GIF, PNG, WAV, and MIDI formats.</p>
<p>* It has comprehensive libraries for 2d and 3d graphics</p>
<p>* It has Inter-Process Communication (IPC) message passing facilities</p>
<p>* You can use Google talk for P2P communication</p>
<p>* It has features for video camera, touch screens, GPS, accelerometer, and magnetometer.</p>
<p>Android has SDK which provides tools and libraries for Android app development. With its SDK a developer can design the UI for an application and debug it as well.</p>
<p>The SDK includes multiple versions of Android platform (For example, Android 1.1, and Android 1.5) that you can use for Android Application Development. For every version, the SDK offers a fully compliant Android library and system image.</p>
<div id="attachment_825" class="wp-caption alignleft" style="width: 331px"><a href="http://androidtutorials.org/wp-content/uploads/2011/03/AndroidApps1.jpeg"><img class="size-full wp-image-825" title="AndroidApps1" src="http://androidtutorials.org/wp-content/uploads/2011/03/AndroidApps1.jpeg" alt="" width="321" height="157" /></a><p class="wp-caption-text">Android apps Development</p></div>
<p>Android SDK includes some core applications:</p>
<p>&nbsp;</p>
<p>* An e-mail client compatible with Gmail</p>
<p>* An SMS program</p>
<p>* A Personal Information Management (PIM) program including a calendar and contact list</p>
<p>* A Google Map Application</p>
<p>* A web browser</p>
<p>* A music player</p>
<p>* A picture viewer</p>
<p>* The Android Marketplace client to download third-party application</p>
<p>* The Amazon MP3 store client to purchase DRM free music</p>
<p>Android Application Development is based on four basic elements:</p>
<p>* Activities: A UI component that corresponds to display screens. Each activity displays one screen to the user. When the activity is not running, the operating system can kill it to save memory space.</p>
<p>* Broadcast Receiver: Is a reaction to an event. For example, phone ringing.</p>
<p>* Services: The tasks that run in the background. For example, an MP3 players running in the background while the user has gone to use other application on mobile device.</p>
<p>* Content Provider: Shares data with other activities and services.<br />
source <a href="http://android-tutorial.com/">android tutorial</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-app-development-%e2%80%93-some-basic-tips-for-android-application-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Few steps which can make your Android phone experience better.</title>
		<link>http://www.androidtutorials.org/how-to-create-apps/</link>
		<comments>http://www.androidtutorials.org/how-to-create-apps/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 10:42:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[how to make an app]]></category>
		<category><![CDATA[how to make android apps]]></category>
		<category><![CDATA[how to make apps for android]]></category>
		<category><![CDATA[learn how to make android apps]]></category>

		<guid isPermaLink="false">http://www.androidtutorials.org/?p=895</guid>
		<description><![CDATA[Android is known as to be one of the best application development programs in our mobile world. Without any doubt, android phones can satisfy and compete with other development programs which includes Blackberry, iPhone and other such Smartphones. Many handsets &#8230; <a href="http://www.androidtutorials.org/how-to-create-apps/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.androidtutorials.org/wp-content/uploads/2011/12/android-apps.jpeg"><img class="alignright size-full wp-image-887" title="android apps" src="http://www.androidtutorials.org/wp-content/uploads/2011/12/android-apps.jpeg" alt="android development" width="263" height="192" /></a>Android is known as to be one of the best <strong>application development</strong> programs in our mobile world. Without any doubt, android phones can satisfy and compete with other development programs which includes Blackberry, iPhone and other such Smartphones. Many handsets use a Android platform today, and mainly because of the wide range of applications in the android market, there is so much of competition for an android platform. There five tips are a good place for users to get started in making the most out of their phone, <strong>how to make android apps</strong> work better. They work on the HTC EVO 4G, but should work on most Android phones, too.</p>
<p><span style="text-decoration: underline;"><strong>Following are the five steps to make android phones better</strong></span><br />
<strong>Amazon MP3</strong>. Twitter buddy @geekaren in recent times remarked that the Amazon MP3 app, an effective interface with Amazon’s music service, gives a free MP3 regularly. The song is exhibited upon the main screen in the app, and downloading the free song just requires a couple of taps. These MP3s are free of DRM and immediately after mere seconds to download appear in the Android music app. The songs are wonderful, handle numerous genres and so are an easy way to produce a music library on Android phones. Amazon offers an inexpensive album deal of the day, which is found next to the free song. The Amazon MP3 app is pre-installed on most Android phones, and it is available in the Android Market for those phones shipping without it.</p>
<p><strong>Volume Control app</strong>. Android gives total command over all facets of the phone’s audio, but obtaining it is not as common as it ought to be. The free Volume Control app features a single screen where all six volume controls are often adjusted with sliders. Yes, Android permits individual volume options for system sounds, phone ringer, notifications, call volume, media playing and alarms. The Volume Control app also contains audio profile changes via four buttons at the bottom of the screen, which makes it a breeze to switch the phone to silent or vibrate mode by using a single tap.</p>
<p><strong>Bookmark Sorting</strong>. The Android web browser undoubtedly wonderful, full-featured, mobile browser with the ability to deal with many bookmarks, and it is one of the reasons the platform has grew so instantly. These bookmarks generally is a way to obtain frustration at times, because so many Android phones present them to the consumer in the order by which they’re preserved on the phone, instead of displaying oft-visited sites at the top of the list since many clients choose. An absolutely free app, Bookmark Manager, handles this issue effortlessly.</p>
<p>This unique app features a summary of latest bookmarks that has changed in different desirable order. Within a few moments even large lists might be structured in any fashion. The beauty of using this method is that the web browser and the majority of bookmark icons displaying bookmarks on the home screens, immediately adjust to present bookmarks in the different order.</p>
<p><strong><br />
Switch off SMS Notifications</strong>. The handling of text messages isn’t bad on Android phones, most persons use third-party apps that incorporate elements which includes group messaging. My personal favorite is Handcent SMS, however even if these apps add certain functionality, using them tends to make an issue that frustrate many users. Anytime a text message is received, Android sends a notice to the system status bar. Whenever a third-party app is being utilized in place of the conventional Android fare, two notifications appear, one for each app, and even though the message is read in one app, thenotice for the other app still implies an unread message.</p>
<p>There is a fairly easy fix for the duplicate notification: Start the standard messaging app and enter in the settings. Get the setting for notification in the status bar and power it down. The third-party app will still notify you when a message is received, but the standard Android app won’t. This sounds obvious, but how to get rid of the duplicate notifications is amongst the questions I get asked normally.</p>
<p><strong>Multicon edit mode</strong>. The free Multicon widget makes it possible to include four icons to the Android home screen within the space usually committed to just one. It is actually probably the most beneficial widgets in the Android Market. As soon as you frequently alter the content material on your home screens as I do, the capability to update the multiple icons designated to Multicon meant deleting all of them and redoing them from scratch each time. Not anymore, as current versions of Multicon offer an edit mode that enables alterations to be produced on the fly.</p>
<p>To create upgrading the icons easy, add a Multicon to one of the home screens with the Edit Mode designated to an icon slot. Tapping the Edit Mode icon then alterations all cases of Multicon widgets in a simple edit mode; once in edit mode, choose the app icon no longer desired and change it out to something else. It is effortless alter your home screens on a whim with this particular method.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/how-to-create-apps/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top 10 Best Android Apps of the week 2011 must have v2.2</title>
		<link>http://www.androidtutorials.org/top-10-best-android-apps-of-the-week-2011-must-have-v2-2/</link>
		<comments>http://www.androidtutorials.org/top-10-best-android-apps-of-the-week-2011-must-have-v2-2/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 15:37:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[android apps]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[Android Programming]]></category>
		<category><![CDATA[Top 10 Best Android Apps of the week 2011 must have v2.2]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=850</guid>
		<description><![CDATA[Best android apps of the week March 7, 2011- [youtube]http://www.youtube.com/watch?v=XMvJ7ZjlTqY[/youtube]]]></description>
			<content:encoded><![CDATA[<p>Best android apps of the week March 7, 2011-</p>
<p>[youtube]http://www.youtube.com/watch?v=XMvJ7ZjlTqY[/youtube]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/top-10-best-android-apps-of-the-week-2011-must-have-v2-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Tutorial: Using the Menu Button</title>
		<link>http://www.androidtutorials.org/android-tutorial-using-the-menu-button/</link>
		<comments>http://www.androidtutorials.org/android-tutorial-using-the-menu-button/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 15:51:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android Course]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Development Tutorials]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[Android Programming Tutorials]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[Android Tutorial to create and android button]]></category>
		<category><![CDATA[Android Tutorial: Using the Menu Button]]></category>
		<category><![CDATA[learn android]]></category>
		<category><![CDATA[Online Android Tutorial]]></category>
		<category><![CDATA[tutorial android]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=818</guid>
		<description><![CDATA[Android Tutorial: Using the Menu Button [youtube]http://www.youtube.com/watch?v=6UYNnQOxCS8[/youtube] Josh Beck-Technology teacher an Antonia Texas This tutorial is designed as a review for my 8th grade programming class. In this tutorial I discuss how to make the &#8216;menu&#8217; button work on Android.]]></description>
			<content:encoded><![CDATA[<p>Android Tutorial: Using the Menu Button</p>
<p>[youtube]http://www.youtube.com/watch?v=6UYNnQOxCS8[/youtube]</p>
<p>Josh Beck-Technology teacher an Antonia Texas<br />
This tutorial is designed as a review for my 8th grade<br />
programming class. In this tutorial I discuss how<br />
to make the &#8216;menu&#8217; button work on Android.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-tutorial-using-the-menu-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Tutorial 1 &#8211; Setup</title>
		<link>http://www.androidtutorials.org/android-tutorial-1-setup/</link>
		<comments>http://www.androidtutorials.org/android-tutorial-1-setup/#comments</comments>
		<pubDate>Sat, 26 Mar 2011 13:14:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Android Tutorials]]></category>
		<category><![CDATA[Android Development]]></category>
		<category><![CDATA[android development tutorial]]></category>
		<category><![CDATA[Android Programming Tutorial]]></category>
		<category><![CDATA[Android Tutorial]]></category>
		<category><![CDATA[Android Tutorial 1 - Setup]]></category>
		<category><![CDATA[Android Video Tutorial]]></category>
		<category><![CDATA[learn android]]></category>

		<guid isPermaLink="false">http://androidtutorials.org/?p=842</guid>
		<description><![CDATA[Android Tutorial 1 &#8211; Setup n this episode, I go through Unity 3.1.04f&#8217;s way of setting up an android device for Unity Android Development, as well as some basics. [youtube]http://www.youtube.com/watch?v=JbBkWsQKKyE[/youtube]]]></description>
			<content:encoded><![CDATA[<p>Android Tutorial 1 &#8211; Setup<br />
n this episode, I go through Unity 3.1.04f&#8217;s way of setting up an android device for Unity Android Development, as well as some basics.</p>
<p>[youtube]http://www.youtube.com/watch?v=JbBkWsQKKyE[/youtube] </p>
]]></content:encoded>
			<wfw:commentRss>http://www.androidtutorials.org/android-tutorial-1-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

