<?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>Shubham Saxena &#124; Innovation Escalator</title>
	<atom:link href="http://blog.shubhamsaxena.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shubhamsaxena.com</link>
	<description>only innovation matters</description>
	<lastBuildDate>Fri, 14 Jun 2013 17:51:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Kendo UI : Implementing a Grid Widget</title>
		<link>http://blog.shubhamsaxena.com/kendo-ui-implementing-a-grid-widget/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kendo-ui-implementing-a-grid-widget</link>
		<comments>http://blog.shubhamsaxena.com/kendo-ui-implementing-a-grid-widget/#comments</comments>
		<pubDate>Fri, 14 Jun 2013 17:51:38 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Telerik]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[kendo ui]]></category>
		<category><![CDATA[telerik]]></category>
		<category><![CDATA[web widget]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=489</guid>
		<description><![CDATA[As of now we have learned a lot about Kendo UI web widgets and now its time to learn some actual implementation, here I have chosen Grid as it is the most complex widget available. We will implement a full featured grid with some local data bounded to it by Kendo UI data source, it &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/kendo-ui-implementing-a-grid-widget/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>As of now we have learned a lot about Kendo UI web widgets and now its time to learn some actual implementation, here I have chosen Grid as it is the most complex widget available. We will implement a full featured grid with some local data bounded to it by Kendo UI data source, it will also have sorting, filtering, paging and grouping. So we will start with an empty HTML page.</p>
<pre class="brush: xml; title: ; notranslate">

&lt;!DOCTYPE html&gt;
&lt;html&gt;
 &lt;head&gt;
 &lt;meta charset=&quot;utf-8&quot;&gt;
 &lt;TITLE&gt;Implementing Kendo Grid&lt;/TITLE&gt;

&lt;link href=&quot;content/kendo.common.min.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;
 &lt;link href=&quot;content/kendo.default.min.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot; /&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;scripts/jquery.min.js&quot;&gt;&lt;/script&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;scripts/kendo.web.min.js&quot;&gt;&lt;/script&gt;
 &lt;/head&gt;
 &lt;body&gt;

 &lt;/body&gt;
&lt;/html&gt;

</pre>
<p>The above code is the simple HTML5 page with all the references to the Kendo scripts and stylesheets, Kendo scripts and styles are placed in the scripts and contents directory of my web project. To start we have some HTML markup and a script which will initialize this markup as Kendo Grid.</p>
<pre class="brush: xml; title: ; notranslate">

&lt;div id=&quot;colleges&quot;&gt;&lt;/div&gt;

</pre>
<p>Now we will create a script tag with document ready function, which will also define the local array of JavaScript objects to populate the Kendo Grid, we have created an array named colleges that contains JavaScript objects that contains colleges Establishment year, Location and Name.</p>
<pre class="brush: jscript; title: ; notranslate">

&lt;script type=&quot;text/javascript&quot;&gt;

$(document).ready(function() {

 var colleges = [
 {year: 1996, location: &quot;Mathura&quot;, name: &quot;Hindustan College of Science and Technology&quot;},
 {year: 1998, location: &quot;Agra&quot;, name: &quot;Anand Engineering College&quot;},
 {year: 1999, location: &quot;Agra&quot;, name: &quot;Hindustan Institute of Technology and Management&quot;},
 {year: 2002, location: &quot;Barabanki&quot;, name: &quot;Sagar Institute of Technology and Management&quot;},
 {year: 2001, location: &quot;Lucknow&quot;, name: &quot;Saroj Institute of Technology and Management&quot;},
 {year: 1991, location: &quot;Mathura&quot;, name: &quot;GLA University&quot;},
 {year: 1921, location: &quot;Kanpur&quot;, name: &quot;Harcourt Butler Technological Institute&quot;},
 {year: 1984, location: &quot;Lucknow&quot;, name: &quot;Institute of Engineering and Technology&quot;}
 ];

 });

&lt;/script&gt;

</pre>
<p>now we have defined our data so we need to create the Kendo UI data source to which my grid will be bound to:</p>
<pre class="brush: jscript; title: ; notranslate">

var collegesDataSource = new kendo.data.DataSource({data: colleges});
 collegesDataSource.read();

</pre>
<p>if you recall my <a title="Kendo UI : All about Web Widgets" href="http://blog.shubhamsaxena.com/kendo-ui-all-about-web-widgets/">previous post</a>, you might recall the process of data binding by passing the JASON-formatted string in the kendo DataSource function.  Now we have DataSource but we need to bind it to show up something, we will do this by using a jQuery selector to select my element colleges and assign the KendoGrid widget to it and assign the collegesDataSource to it:</p>
<pre class="brush: jscript; title: ; notranslate">

$(&quot;#colleges&quot;).kendoGrid({
 dataSource: collegesDataSource
 });

</pre>
<p>So enough of code now lets see what it is the output.</p>
<div id="attachment_494" class="wp-caption aligncenter" style="width: 1243px"><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid.png"><img class="size-full wp-image-494" title="Kendo Grid" alt="Kendo Grid" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid.png" width="1233" height="405" /></a><p class="wp-caption-text">Kendo Grid</p></div>
<p>You can see it pulls up a simple grid with mo much functions. First thing we will do is change the title of the column, by default the title is the name of the attribute defined in the data source that is why they are in lowercase, we can do that by re-configuring the columns:</p>
<pre class="brush: jscript; title: ; notranslate">

$(&quot;#colleges&quot;).kendoGrid({
 dataSource: collegesDataSource,
 columns: [
 {field: &quot;year&quot;, title: &quot;Establishment Year&quot;},
 {field: &quot;location&quot;, title: &quot;Location&quot;},
 {field: &quot;name&quot;, title: &quot;Name of College&quot;}
 ]
 })

</pre>
<p>Now you can see the change in the title of the columns:</p>
<div id="attachment_496" class="wp-caption aligncenter" style="width: 1231px"><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid-with-custom-title.png"><img class="size-full wp-image-496" alt="Kendo Grid with custom title" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid-with-custom-title.png" width="1221" height="407" /></a><p class="wp-caption-text">Kendo Grid with custom title</p></div>
<p>Next thing I wanna do is insert paging which makes the grid look better, in order to introduce paging in Kendo Grid we need to do two things: first thing to do is turn off scrolling and turn on paging, we will do this with the help of scrollable and pageable property and lastly we need to configure the page size which is done in the data source:</p>
<pre class="brush: jscript; title: ; notranslate">

var collegesDataSource = new kendo.data.DataSource({data: colleges, pageSize:3});
 collegesDataSource.read();

$(&quot;#colleges&quot;).kendoGrid({
 dataSource: collegesDataSource,
 columns: [
 {field: &quot;year&quot;, title: &quot;Establishment Year&quot;},
 {field: &quot;location&quot;, title: &quot;Location&quot;},
 {field: &quot;name&quot;, title: &quot;Name of College&quot;}
 ],
 scrollable: false,
 pageable: true
 })

</pre>
<p>Lets have a look to the output now :</p>
<div id="attachment_497" class="wp-caption aligncenter" style="width: 1361px"><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid-with-Paging.png"><img class="size-full wp-image-497" alt="Kendo Grid with Paging" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-Grid-with-Paging.png" width="1351" height="181" /></a><p class="wp-caption-text">Kendo Grid with Paging</p></div>
<p>Next we will add sorting, grouping and filtering feature to our grid, which can simply be done by setting the sortable, groupable and filterable property to true.</p>
<pre class="brush: jscript; title: ; notranslate">

$(&quot;#colleges&quot;).kendoGrid({
 dataSource: collegesDataSource,
 columns: [
 {field: &quot;year&quot;, title: &quot;Establishment Year&quot;},
 {field: &quot;location&quot;, title: &quot;Location&quot;},
 {field: &quot;name&quot;, title: &quot;Name of College&quot;}
 ],
 scrollable: false,
 pageable: true,
 sortable: true,
 groupable: true,
 filterable: true
 })

</pre>
<p>You can also introduce default sorting, the default sort order is added in the data source, we set the sort field and the direction to which it is to be sorted, in this case it is &#8216;year&#8217; and &#8216;ascending&#8217;:</p>
<pre class="brush: jscript; title: ; notranslate">

var collegesDataSource = new kendo.data.DataSource({data: colleges, pageSize:3,

sort:{field: &quot;year&quot;, dir: &quot;asc&quot;}});

</pre>
<p>We can also add editing feature to our grid, for doing this we will first setup the editable property, for this we have various options &#8211; &#8216;inline&#8217; , &#8216;popup&#8217; and next we need to add command column:</p>
<pre class="brush: jscript; title: ; notranslate">

$(&quot;#colleges&quot;).kendoGrid({
 dataSource: collegesDataSource,
 columns: [
 {field: &quot;year&quot;, title: &quot;Establishment Year&quot;},
 {field: &quot;location&quot;, title: &quot;Location&quot;},
 {field: &quot;name&quot;, title: &quot;Name of College&quot;},
 {command: [&quot;edit&quot;, &quot;destroy&quot;]}
 ],
 scrollable: false,
 pageable: true,
 sortable: true,
 groupable: true,
 filterable: true,
 editable: &quot;inline&quot;
 })

</pre>
<p>Thats it, we created a fully functional Grid with various features.</p>
<div id="attachment_501" class="wp-caption aligncenter" style="width: 1363px"><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Full-Featured-Kendo-Grid.png"><img class="size-full wp-image-501" alt="Full Featured Kendo Grid" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Full-Featured-Kendo-Grid.png" width="1353" height="243" /></a><p class="wp-caption-text">Full Featured Kendo Grid</p></div>
<p>Download the source code of <a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/ImplementingKendoGrid.zip">ImplementingKendoGrid</a> and see it in action.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/kendo-ui-implementing-a-grid-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kendo UI : All about Web Widgets</title>
		<link>http://blog.shubhamsaxena.com/kendo-ui-all-about-web-widgets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=kendo-ui-all-about-web-widgets</link>
		<comments>http://blog.shubhamsaxena.com/kendo-ui-all-about-web-widgets/#comments</comments>
		<pubDate>Wed, 12 Jun 2013 15:18:54 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Telerik]]></category>
		<category><![CDATA[kendo ui]]></category>
		<category><![CDATA[telerik]]></category>
		<category><![CDATA[web widgets]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=460</guid>
		<description><![CDATA[In this section we will cover all about touch enabled and web widgets provided by Kendo UI, what are Kendo UI web widgets, what widgets are available and where you can find them, after that we will talk about basic usage of web widgets, configuration, event binding and finally styling of web widgets. What are &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/kendo-ui-all-about-web-widgets/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In this section we will cover all about touch enabled and web widgets provided by Kendo UI, what are Kendo UI web widgets, what widgets are available and where you can find them, after that we will talk about basic usage of web widgets, configuration, event binding and finally styling of web widgets.</p>
<h2>What are web widgets?</h2>
<p>Web widgets are a collection of HTML5 controls that are based on jQuery core which are designed for web and touch enabled desktop development and like the rest of Kendo UI they are built with performance in mind, here I would like to mention that although the widgets are based on jQuery core but they are not the extension of jQuery but are built from the ground level by Kendo UI team. Let&#8217;s have a look what widgets are available in Kendo UI, it has a quite extensive list:</p>
<div style="text-align: center;">
<table style="border-collapse: collapse;" border="0">
<colgroup>
<col style="width: 312px;" />
<col style="width: 312px;" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: solid #9cc2e5 0.5pt; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 1.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>AutoComplete</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: solid #9cc2e5 0.5pt; border-left: none; border-bottom: solid #9cc2e5 1.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Calendar</strong></span></li>
</ul>
</td>
</tr>
<tr style="background: #deeaf6;">
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>ComboBox</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>DatePicker</strong></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>DateTimePicker</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>DropDownList</strong></span></li>
</ul>
</td>
</tr>
<tr style="background: #deeaf6;">
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Editor</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Grid</strong></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>ListView</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Menu</strong></span></li>
</ul>
</td>
</tr>
<tr style="background: #deeaf6;">
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>NumericTextBox</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>PanelBar</strong></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Slider</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Splitter</strong></span></li>
</ul>
</td>
</tr>
<tr style="background: #deeaf6;">
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>TabStrip</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>TimePicker</strong></span></li>
</ul>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>TreeView</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Upload</strong></span></li>
</ul>
</td>
</tr>
<tr style="background: #deeaf6;">
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid #9cc2e5 0.5pt; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;">
<ul>
<li><span style="color: #2e74b5;"><strong>Window</strong></span></li>
</ul>
</td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid #9cc2e5 0.5pt; border-right: solid #9cc2e5 0.5pt;"></td>
</tr>
</tbody>
</table>
</div>
<p>The best way to get familiar with extensive range of available web widgets is to go online on <a href="http://www.demos.kendoui.com/web">demos.kendoui.com/web</a> or go to the examples directory of Kendo UI download.</p>
<h2>Usage</h2>
<p>Let&#8217;s start looking at the implementation process how we can use the Kendo UI widgets in our web pages as the Kendo UI widgets are based on jQuery using them is very similar, first we write the markup and then we initialize our markup:</p>
<ul>
<li><strong>Markup<br />
</strong>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;dateofBirth&quot; /&gt;</pre>
<p>Here is an input field with the id of &#8216;dateofBirth&#8217;</li>
<li><strong>Initialize<br />
</strong>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
       $(document).ready (function () {
                $(&quot;#dateofBirth&quot;).kendoDatePicker();
       });
&lt;/script&gt;
</pre>
<p>We have a jQuery document ready function and inside that ready function I&#8217;m selecting my element by ID and then I&#8217;m applying &#8216;kendoDatePicker&#8217; function to it. Applying this function initializes the element as Kendo Date Picker.</li>
</ul>
<p>There is an alternative means of initializing your Kendo UI web widget called declarative initialization. This takes advantages of <strong>&#8220;data-&#8221;</strong> attribute of HTML5 to assign roles to your HTML elements, so just like in above example first we will define the markup and then initialize it.</p>
<ul>
<li><strong>Markup<br />
</strong>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;dateofBirth&quot;  data-role=&quot;datepicker&quot; /&gt;</pre>
<p>Here we are making use of &#8220;data-role&#8221; attribute with defining the role of &#8220;datepicker&#8221;, the value of data-role attribute is the name of the web widget in all lower case.</li>
<li><strong>Initialize<br />
</strong>
<pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot;&gt;
       $(document).ready (function () {
                kendo.init($(&quot;#dateofBirth&quot;));
       });
&lt;/script&gt;
</pre>
<p>Just like the previous usage my initialization lies in the jQuery document ready function but unlike the previous example here I&#8217;m calling the kendo.init() and then I&#8217;m using jQuery selector to select my element by id and passing it into kendo.init(), in this example kendo is taking care of initialization of control and we just need to call the init function, this is the implementation preferred because you can look at the markup and clearly understand which control is used in it.</li>
</ul>
<h2>Configuration</h2>
<p>Whenever we use any third party control the first thing in our mind is that to which extent they are configurable so Kendo UI is an extremely configurable set of widgets, how you configure depends on the method of initialization you chose. If you use the basic non declarative initialization then you need to configure by providing JSON-formatted settings to the widgets constructor. If you use declarative initialization using the data attribute you would configure your widgets using data attribute as well.</p>
<ul>
<li><strong>JSON-formatted settings</strong>
<pre class="brush: jscript; title: ; notranslate">
$(&quot;dateofBirth).kendoDatePicker(
        {format: &quot;yyyy/MM/dd&quot;}
);
</pre>
</li>
<li><strong>Data Attributes</strong>
<pre class="brush: xml; title: ; notranslate">&lt;input id=&quot;dateofBirth&quot;  data-role=&quot;datepicker&quot;
 data-format=&quot;yyyy/MM/dd&quot; /&gt;</pre>
</li>
</ul>
<h2>Data Source Configuration</h2>
<p>Widgets that are data driven such as combo box, auto complete and grid have a data source which provides the data required by the widget, like simple configuration DataSource configuration also depends on the type of initialization, if you use the basic non-declarative initialization then you would need to configure by setting the data source property in the widgets constructor. If you use declarative initialization using data attribute then you would configure the data source by using the <strong>&#8220;data-source&#8221;</strong> property in the markup.</p>
<ul>
<li><strong>Data Source configuration for basic initialization</strong>
<pre class="brush: plain; title: ; notranslate">&lt;br/&gt;&lt;input id=&quot;colorPicker&quot; /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
     $(&quot;#colorPicker&quot;).kendoComboBox({
             dataSource: [&quot;Blue&quot;, &quot;Green&quot;, &quot;Red&quot;, &quot;Yellow&quot;]
      });
});
&lt;/script&gt;
</pre>
</li>
<li><strong>Data Source Configuration for Declarative Initialization<br />
</strong>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;colorPicker&quot; data-role=&quot;combobox&quot;
data-source='[&quot;Blue&quot;, &quot;Green&quot;, &quot;Red&quot;, &quot;Yellow&quot;]' /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
     kendo.init($(&quot;#colorPicker&quot;));
});
&lt;/script&gt;
</pre>
</li>
</ul>
<h2>Event Binding</h2>
<p>After configuring and all somewhere you will need to bind events to the web widgets and again how you bind your events depends on the type of initialization.</p>
<p>If you use the basic non-declarative initialization then you need to bind your event using JSON-formatted settings in the widgets constructor:</p>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;&quot;colorPicker&quot; /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
function onColorChange(e) { alert('Color Change!'); }
$(document).ready(function() {
     $(&quot;#colorPicker&quot;).kendoComboBox({
             dataSource: [&quot;Blue&quot;, &quot;Green&quot;, &quot;Red&quot;, &quot;Yellow&quot;]
             change: onColorChange
      });
});
&lt;/script&gt;
</pre>
<p>If you use declarative initialization using data attribute you can wire up your event using data attribute for the event you are wiring up, here we are using <strong>&#8220;data-change&#8221; </strong>to represent the onChange event and its value responds to the function name i.e. the call back function.</p>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;colorPicker&quot; data-role=&quot;combobox&quot;
 data-source='[&quot;Blue&quot;, &quot;Green&quot;, &quot;Red&quot;, &quot;Yellow&quot;]'
 data-change=&quot;onColorChange&quot; /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
function onColorChange(e) { alert('Color Change!'); }

$(document).ready(function() {
    kendo.init($(&quot;#colorPicker&quot;));
});
&lt;/script&gt;
</pre>
<p>There is also a third method to bind the event which does not depends on the way of initialization of the widgets, this works using a bind function with two parameters, the first parameter is a string which represents the event you are binding to i.e. in this case is change event and the second parameter being the call back function.</p>
<pre class="brush: plain; title: ; notranslate">&lt;input id=&quot;colorPicker&quot; data-role=&quot;combobox&quot;
 data-source='[&quot;Blue&quot;, &quot;Green&quot;, &quot;Red&quot;, &quot;Yellow&quot;]' /&gt;

&lt;script type=&quot;text/javascript&quot;&gt;
function onColorChange(e) { alert('Color Change!'); }

$(document).ready(function() {
     kendo.init($(&quot;#colorPicker&quot;));
});

var colorPick = $(&quot;#colorPicker&quot;);
colorPick.bind(&quot;change&quot;, onColorChange).data(&quot;kendoComboBox&quot;);
&lt;/script&gt;
</pre>
<h2>Styling</h2>
<p>Styling of widgets is the important part, to fit in with the theme of our web application. Kendo UI always a pair of style sheets.</p>
<ul>
<li>
<div>kendo.common.css</div>
<ul>
<li>Positioning and styling</li>
</ul>
</li>
<li>
<div>kendo.[skin].css</div>
<ul>
<li>Colors and backgrounds</li>
<li>Skin specific</li>
</ul>
</li>
</ul>
<p>Remember one thing always refer kendo.common.css file before skin css file because in some cases skin css may override the base css.</p>
<p>In Kendo UI different elements and different widgets use the same CSS classes to provide the level of abstraction and allow common styling, the Kendo documentation refers these shared CSS classes as primitives. To avoid the naming collision the kendo CSS classes have been prefixed with <strong>&#8220;k-&#8221;</strong> , primitives allow you to change style globally at a large level.</p>
<p>So, that was all about the web widgets of Kendo UI, we will look into the implementation of grid into detail in the next post.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/kendo-ui-all-about-web-widgets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adding Kendo UI to a webpage : Kendo UI Date Picker Function</title>
		<link>http://blog.shubhamsaxena.com/adding-kendo-ui-to-a-webpage-kendo-ui-date-picker-function/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=adding-kendo-ui-to-a-webpage-kendo-ui-date-picker-function</link>
		<comments>http://blog.shubhamsaxena.com/adding-kendo-ui-to-a-webpage-kendo-ui-date-picker-function/#comments</comments>
		<pubDate>Tue, 11 Jun 2013 09:03:34 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Telerik]]></category>
		<category><![CDATA[kendo ui]]></category>
		<category><![CDATA[telerik]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=430</guid>
		<description><![CDATA[In the last post we learned what is Kendo UI and what it offers to provide rich interactive web solutions, In this post we will learn how to add Kendo UI controls to a webpage. Now you know what Kendo UI is you know what you want to add into your webpage, Kendo UI is JavaScript &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/adding-kendo-ui-to-a-webpage-kendo-ui-date-picker-function/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In the <a title="What is Kendo UI ?" href="http://blog.shubhamsaxena.com/what-is-kendo-ui/">last post</a> we learned what is Kendo UI and what it offers to provide rich interactive web solutions, In this post we will learn how to add Kendo UI controls to a webpage. Now you know what Kendo UI is you know what you want to add into your webpage, Kendo UI is JavaScript framework which consists of script files, cascading style sheets and assets and adding them to your webpage involves just three simple steps:</p>
<ul>
<li><strong>Copy &#8216;JS&#8217;</strong> &#8211; copy the contents of JS directory of Kendo UI directory to the directory of your web application&#8217;s JS directory.</li>
<li><strong>Copy &#8216;Styles&#8217; &#8211; </strong>next is to copy the contents of styles of Kendo UI to the directory where your application references the style sheets used.</li>
<li><strong>Register the scripts and CSS</strong> &#8211; lastly you need to register the necessary scripts files and CSS to make your page aware of Kendo UI, which pieces you register refers which functionality of Kendo UI you want to use.</li>
</ul>
<p>To use the web pieces which includes the web widgets, MVVM framework, client side data source, validation, templating and drag and drop you need to register the following scripts and styles :</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/web-widgets-scripts.png"><img class="aligncenter size-full wp-image-435" alt="web widgets scripts" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/web-widgets-scripts.png" width="809" height="139" /></a></p>
<p>To use the Data Visualization pieces of Kendo UI you need to register the following scripts and styles :</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/data-viz-scripts.png"><img class="aligncenter size-full wp-image-436" alt="data viz scripts" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/data-viz-scripts.png" width="808" height="134" /></a></p>
<p>To use the mobile components of Kendo UI, you would need to register :</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/mobile-scipts.png"><img class="aligncenter size-full wp-image-439" alt="mobile scipts" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/mobile-scipts.png" width="806" height="137" /></a></p>
<p>and off course for adding all the components you need to register all the scripts, now lets have a look at a demo illustrating how to use these scripts into your web application.</p>
<p>For this demo we will we working on intro to Kendo UI website, firstly I have added the Kendo UI styles to my content directory and Kendo UI JavaScript files to my scripts directory, I will use the basic HTML5 page as my base page to use the web widgets, as we are using the web components we need to reference the relevant script and style files to my HTML page :</p>
<pre>&lt;!DOCTYPE html&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;meta charset="utf-8"&gt;
        &lt;TITLE&gt;My First Kendo UI Page&lt;/TITLE&gt;

        &lt;!-- StyleSheets --&gt;
        &lt;link href="content/kendo.common.min.css" rel="stylesheet" type="text/css" /&gt;
        &lt;link href="content/kendo.default.min.css" rel="stylesheet" type="text/css" /&gt;

        &lt;!-- Scripts --&gt;
        &lt;script type="text/javascript" src="scripts/jquery.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript" src="scripts/kendo.web.min.js"&gt;&lt;/script&gt;

   &lt;/head&gt;
   &lt;body&gt;
        &lt;span&gt;Pick a Date:
           &lt;input id="pickDate" type="text" /&gt;
        &lt;/span&gt;
   &lt;/body&gt;
&lt;/html&gt;</pre>
<p>The above code shows the simple HTML page with the references to Kendo UI web scripts and stylesheets, now we need to verify that the scripts and stylesheets are the one we need to register, we can do this by implementing one of the Kendo UI web widgets and here for example we will use the date picker.</p>
<pre>&lt;script type="text/javascript"&gt;
   $(document).ready(function () {
      $("#pickDate").kendoDatePicker();
   });
&lt;/script&gt;</pre>
<p>Here you can see we have used the kendoDatePicker function, we will be going into much detail in the posts later about their implementation process, but at this point we assume we indeed have everything in place you implement the Kendo UI, so now its all done and lets see what Kendo UI Date Picker has done for us.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-UI-Date-Picker.png"><img class="  " title="Kendo UI Date Picker" alt="Kendo UI Date Picker" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/Kendo-UI-Date-Picker.png" width="393" height="357" /></a></p>
<p>So this was simple, we will go in deep details with Kendo UI, stay tuned.</p>
<p>Download the source code &gt;&gt; <a title="Soucre code " href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/06/IntroToKendoUI.zip" target="_blank">IntroToKendoUI</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/adding-kendo-ui-to-a-webpage-kendo-ui-date-picker-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is Kendo UI ?</title>
		<link>http://blog.shubhamsaxena.com/what-is-kendo-ui/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=what-is-kendo-ui</link>
		<comments>http://blog.shubhamsaxena.com/what-is-kendo-ui/#comments</comments>
		<pubDate>Mon, 03 Jun 2013 21:16:12 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Telerik]]></category>
		<category><![CDATA[kendo]]></category>
		<category><![CDATA[kendo ui]]></category>
		<category><![CDATA[telerik]]></category>
		<category><![CDATA[web widgets]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=412</guid>
		<description><![CDATA[Web has been transforming since a long time and now the web demand rich and interactive web applications, and developing those kind of  applications developers need vast range of developer tools in their toolbox. Today, we are going to learn about Kendo UI which is a new exciting JAVASCRIPT tool set, it provides all the &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/what-is-kendo-ui/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Web has been transforming since a long time and now the web demand rich and interactive web applications, and developing those kind of  applications developers need vast range of developer tools in their toolbox. Today, we are going to learn about Kendo UI which is a new exciting JAVASCRIPT tool set, it provides all the tooling which you require for a fast, rich, responsive and interactive web applications in a single package.</p>
<h2>What exactly Kendo UI is ?</h2>
<p>The very first question which comes in your mind is what is kendo UI and the answer is, its a &#8220;Javascript framework for building modern interactive web applications&#8221;. These days people expect rich interactive and fluent websites and in order to achieve that a developer must make good use of the available client side technologies which Kendo UI does for you. Kendo UI is basically a collection of scripts, styles and images. When you install it you simply have a lot of javascript files, stylesheets, images etc in your project. Kendo UI leverages many of the existing technologies to make the rich immersive web application, some of them are :</p>
<ul>
<li><span style="line-height: 13px;">JavaScript (It has been used since a long time to do some beautiful things in a web application)</span></li>
<li>HTML5 (It is the latest version of HTML specification whose goal is to standardize the way developers code)</li>
<li>CSS3 (Latest version of CSS specification, provides genx functionality to style a web application)</li>
<li>JQuery (It is the community driven javascript library which facilitates the use of DOM)</li>
</ul>
<div id="attachment_418" class="wp-caption aligncenter" style="width: 520px"><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2013/05/leverages.jpg"><img class="size-full wp-image-418" alt="Kendo UI Leverages" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/05/leverages.jpg" width="510" height="144" /></a><p class="wp-caption-text">Kendo UI Leverages</p></div>
<p>Now we know what Kendo UI is, its time to know what does Kendo UI provides.</p>
<h2>What Does Kendo UI provides ?</h2>
<p>Kendo UI provides extensive collection of rich UI widgets, these are HTML5 controls based on jQuery, supported by all current browsers as well as having broad support for all the browsers. It has 3 categories of UI widgets :</p>
<ul>
<li><span style="line-height: 13px;">Web &#8211; these are widgets for web and touch enabled desktop development, it has full featured grid with paging, sorting, filtering and custom templates, tree view, rich text editor and lot more.</span></li>
<li>DataViz &#8211; these are also called data visualization widgets, used for development of desktop websites as well as mobile websites, these are usually used for representing data which includes charts and gauges</li>
<li>Mobile &#8211; these feature an adaptive rendering technology which displays a truly native feel for iOS, Android and Blackberry, this include controls such as scroll view, tab strip, list view, buttons, navigation bars etc.</li>
</ul>
<p>Kendo UI also includes client side data source which provides an abstraction for working with data on the client side that simplifies data binding and other data operations. It supports local data such as javascript objects as well as remote data including XML, JSON etc.  Kendo UI also provides a MVVM (model-view-view-model) framework which enables declarative binding and two way data synchronization in your web application. Kendo UI also provides templating, animation, drag and drop and a full featured validation framework.</p>
<h2>Why Kendo UI ?</h2>
<p>Now the question may arise why Kendo UI and not other available tools, first of all Kendo UI provides all the tools you need in one package so there is no need to go and download half a dozen of libraries to make your web application look better, it also provides different part of toolset to work more efficiently together. Next is performance, Kendo UI has been developed from ground to up with performance in mind and no shortcuts have been taken along the way, this has resulted in a extremely performing toolset. Lastly is support, Kendo UI is product of popular component vendor, other have community support for their product but Kendo UI has a proper professional support for itself.</p>
<h2>Browser Support</h2>
<p>Browser support is crucial when choosing any type of web tool, there is nothing worse then finding a perfect tooling for the solution. A lot of intelligence is put into the development of Kendo UI to support vast majority of browsers and browser versions. Kendo UI is officially supported on :</p>
<ul>
<li><span style="line-height: 13px;">IE 7.0 +</span></li>
<li>Firefox 10.0+</li>
<li>Chrome all versions</li>
<li>Opera 10.0+</li>
<li>Safari 4.0+</li>
</ul>
<p>With the broad support of Kendo UI you can be confident that whosoever is accessing your website will be getting the view you intended.</p>
<h2>Platform Support</h2>
<p>Kendo UI is Supported on :</p>
<ul>
<li><span style="line-height: 13px;">Windows XP/Vista/7/8/Server 03,08 R1, R2 (32,64 bit editions)</span></li>
<li>Mac OS X+</li>
<li>Android 2.0+</li>
<li>iOS 3.0+</li>
<li>Blackberry 6.0+</li>
<li>HP WebOS 2.2 +</li>
</ul>
<h2>Licensing</h2>
<p>Now lets talk about licensing of Kendo UI, the three license available are :</p>
<ul>
<li><span style="line-height: 13px;"><strong>30 days free trial</strong> with full feature set of Kendo UI</span></li>
<li>There is also a open source license available which is suitable for GPL compatible projects. <strong>GPL v3.0</strong></li>
<li>Commercial Licence</li>
</ul>
<p>for more info visit <a href="http://www.kendoui.com/" target="_blank">Kendo UI</a>.</p>
<h2>Download and Install</h2>
<p>You can download Kendo UI from <a href="http://www.kendoui.com" target="_blank">www.kendoui.com</a>, and installing is very simple task as Kendo UI is a simple package of JavaScript files and style sheet files so installing is as simple as unzipping it to a particular folder. There is extensive set of samples available in the Kendo UI examples directory, full source of samples is available and also there is a nice interactive web interface available to navigate through the samples, samples are available for all widgets and framework components.</p>
<p>Stay tuned for next post on how to add it in your web page.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/what-is-kendo-ui/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Certified : Exam 70-480 My Experience</title>
		<link>http://blog.shubhamsaxena.com/certified-exam-70-480-my-experience/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=certified-exam-70-480-my-experience</link>
		<comments>http://blog.shubhamsaxena.com/certified-exam-70-480-my-experience/#comments</comments>
		<pubDate>Sat, 12 Jan 2013 10:56:35 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[70 480]]></category>
		<category><![CDATA[certified]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[professional]]></category>
		<category><![CDATA[specialist]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=380</guid>
		<description><![CDATA[Yesterday i appeared for Microsoft Exam 70-480 (Programming in HTML5 with JavaScript and CSS3 Specialist certification) and yes I cleared it. Now I&#8217;m Microsoft Certified Professional, feels great. Last time I gave certification Exam and I failed i scored 680 something and the passing was 700, I was very disappointed at that moment but Dhananjay &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/certified-exam-70-480-my-experience/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Yesterday i appeared for Microsoft Exam 70-480 (Programming in HTML5 with JavaScript and CSS3 Specialist certification) and yes I cleared it. Now I&#8217;m Microsoft Certified Professional, feels great. Last time I gave certification Exam and I failed i scored 680 something and the passing was 700, I was very disappointed at that moment but <a href="http://debugmode.net">Dhananjay Kumar</a> sir (DJ &#8211; awesome person) motivated me and now when I have got this, I would like to dedicate it you DJ sir.</p>
<p>Microsoft offers Microsoft Specialist certifications for exam 70-480 and 70-483, so now I&#8217;m certified specialist in Programming with HTML5.</p>
<p><a href="http://blog.shubhamsaxena.com/certified-exam-70-480-my-experience/cet/" rel="attachment wp-att-382"><img class="aligncenter size-full wp-image-382" alt="Microsoft Specialist 70-480" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/cet.png" width="752" height="564" /></a></p>
<p>&nbsp;</p>
<p><strong>My Experience</strong> : This exam was not so tough, It had HTML5 questions and the maximum part was covered by JQuery and Javascript. HTML5 part was easy, and yeah you need to be strong in JS and JQuery part. Here are some reference I&#8217;m posting for preparation.</p>
<p>1 &#8211; <a href="http://www.w3schools.com/html/html5_intro.asp">W3schools</a> for HTML5</p>
<p>2 &#8211; <a href="http://channel9.msdn.com/Series/Javascript-Fundamentals-Development-for-Absolute-Beginners">Channel9</a> for Javascript</p>
<p>Hope you do well, cheers. <img src='http://blog.shubhamsaxena.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/certified-exam-70-480-my-experience/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Creating First Emgu CV Project</title>
		<link>http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=creating-first-emgu-cv-project</link>
		<comments>http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/#comments</comments>
		<pubDate>Tue, 08 Jan 2013 18:56:10 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[Tech Hub]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[emgu cv]]></category>
		<category><![CDATA[open cv]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=345</guid>
		<description><![CDATA[In the last post we read about Starting with Emgu CV, now here we will start our first Emgu CV project. Emgu CV is not so difficult all we have to do is to add certain references and make use of Emgu Controls. Lets get started. Lets start creating a blank windows form application. You &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In the last post we read about <a title="Starting with Emgu CV" href="http://blog.shubhamsaxena.com/starting-with-emgu-cv/">Starting with Emgu CV</a>, now here we will start our first Emgu CV project. Emgu CV is not so difficult all we have to do is to add certain references and make use of Emgu Controls. Lets get started.</p>
<p>Lets start creating a blank windows form application.</p>
<p><a href="http://blog.shubhamsaxena.com/first-emgu-cv-project/1-14/" rel="attachment wp-att-346"><img class="wp-image-346 alignnone" alt="My First Emgu CV Project" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/1.png" width="479" height="292" /></a></p>
<p>You will get a new project created for you, before starting further enable &#8220;<strong>show all settings</strong>&#8221; under tools, this enables a lots of features like form designer layout, snap to grid and many.</p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/2-11/" rel="attachment wp-att-359"><img class="alignleft size-full wp-image-359" alt="tools visual studio" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/2.png" width="301" height="208" /></a></p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/3-7/" rel="attachment wp-att-360"><img class="alignright size-medium wp-image-360" alt="Options page visual studio" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/3-300x173.png" width="300" height="173" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>Now lets start, first thing we will do is Add References, browse for the Emgu bin folder (by default it is located at C:\Emgu\emgucv-windows-x86 2.3.0.1416\bin ), in the bin folder there must be some dlls add all those starting with &#8220;Emgu.CV&#8221; (choose only one among Emgu.CV.DebuggerVisualizers.VS2008.dll and Emgu.CV.DebuggerVisualizers.VS2010.dll depending on the visual studio you are using, in my case it is Emgu.CV.DebuggerVisualizers.VS2010.dll)</p>
<p style="text-align: center;"><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/5-8/" rel="attachment wp-att-364"><img class="size-full wp-image-364 aligncenter" alt="Add Reference" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/5.png" width="391" height="140" /></a></p>
<p style="text-align: center;"><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/4-7/" rel="attachment wp-att-363"><img class="size-full wp-image-363 aligncenter" alt="Emgu CV Reference DLL" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/4.png" width="373" height="169" /></a></p>
<p> Now we need to add some existing items, Goto Project&gt;Add Existing Items and now again browse for bin directory of Emgu CV and this time choose all the dll files starting with &#8220;<strong>opencv_</strong>&#8220;, these dll files are required for each time the output is generated via Emgu that is why we added them to our project directory, we will also change there property so that they get copied always to the output folder. So, select all the dll added and select properties and change the &#8220;<strong>Copy to Output Directory</strong>&#8221; to &#8220;<strong>Copy Always</strong>&#8220;.</p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/6-5/" rel="attachment wp-att-365"><img class="alignleft size-full wp-image-365" alt="Add existing items emgu cv" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/6.png" width="556" height="296" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>We already have added the Emgu custom controls to our toolbox, now lets design our form, we will be using two ImageBox (Emgu Control), one Button and a Textbox, design the form as below.</p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/123-2/" rel="attachment wp-att-369"><img class="aligncenter size-full wp-image-369" alt="Emgu CV Form Design" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/1231.png" width="531" height="362" /></a></p>
<p>&nbsp;</p>
<p>Now come to the form1.cs code view, and add the following namespaces;</p>
<p style="padding-left: 30px;"><em>using Emgu.CV;</em><br />
<em>using Emgu.CV.CvEnum;</em><br />
<em>using Emgu.CV.Structure;</em><br />
<em>using Emgu.CV.UI;</em></p>
<p>Next create some member variables :</p>
<p style="padding-left: 30px;"><em>Capture capturecam = null; //instance for capture using webcam</em><br />
<em> bool CapturingProcess = false; //boolean stating the capturing process status</em><br />
<em> Image&lt;Bgr, Byte&gt; imgOrg; //image type RGB (or Bgr as we say in Open CV)</em><br />
<em> Image&lt;Gray, Byte&gt; imgProc; //processed image will be grayscale so a gray image</em></p>
<p>Now its time to add a <strong>form load event, </strong>we will start capturing via webcam under it.</p>
<p style="padding-left: 30px;"><em>capturecam = new Capture();</em></p>
<p>this will associate the default webcam with capturecam object.</p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/8-3/" rel="attachment wp-att-370"><img class="alignleft size-full wp-image-370" alt="code snippet" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/8.png" width="530" height="389" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>We have added the associated to capture object in try catch block in order to avoid the error if the webcam is already in use.</p>
<p>We added a event handler to <strong>Application.Idle</strong>, so that it performs task when idle, and the task is to get the next frame. <strong>ProcessFunction</strong> is called at every idle state of application.</p>
<p><strong>QueryFrame </strong>gets the next frame from the webcam, if it is null it means there is some problem and hence we stop our app there.</p>
<p><strong>InRange </strong>function takes two parameter min range and max range of Bgr.</p>
<p><strong>SmoothGaussian </strong>applies the Gaussian smoothing with the x,y length = 9, we can pass different parameters for x and y also.</p>
<p>Now lets come to the coding part of <strong>playorpause</strong> button:</p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/attachment/9/" rel="attachment wp-att-371"><img class="alignleft size-full wp-image-371" alt="playorpause code" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/9.png" width="420" height="246" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>this is the simplest part, it checks the boolean value of CapturingProcess and accordingly changes the button text and stops streaming from webcam.</p>
<p><strong>Sample Output: </strong></p>
<p><a href="http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/attachment/10/" rel="attachment wp-att-372"><img class="aligncenter size-full wp-image-372" alt="emgu cv output" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/10.png" width="526" height="359" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/creating-first-emgu-cv-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Starting with Emgu CV</title>
		<link>http://blog.shubhamsaxena.com/starting-with-emgu-cv/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=starting-with-emgu-cv</link>
		<comments>http://blog.shubhamsaxena.com/starting-with-emgu-cv/#comments</comments>
		<pubDate>Sat, 05 Jan 2013 10:37:01 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Microsoft Technologies]]></category>
		<category><![CDATA[Tech Hub]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[emgu cv]]></category>
		<category><![CDATA[open cv]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=333</guid>
		<description><![CDATA[What is Emgu CV ? Before learning what is Emgu CV, one should know what is Open CV. Open CV It stands for Open Source Computer Vision, it was designed especially for computational efficiency with strong focus on real time applications.  It is written in optimized C/C++, and can take advantage of multi-core processing. In Image &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/starting-with-emgu-cv/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<h4>What is Emgu CV ?</h4>
<p>Before learning what is Emgu CV, one should know what is Open CV.</p>
<h6>Open CV</h6>
<p>It stands for Open Source Computer Vision, it was designed especially for computational efficiency with strong focus on real time applications.  It is written in optimized C/C++, and can take advantage of multi-core processing. In Image processing it has been a great boon for the developers.</p>
<h5>Emgu CV</h5>
<p>Its is essentially a huge library of &#8220;wrapper&#8221; functions that allows calling OpenCV funtions from Visual Studio Windows Form Application. It is necessary because Visual Studio/.NET is an &#8220;interpreted&#8221; environment that cannot directly call functions written in native C/C++.</p>
<p>In this tutorial we will start configuring our Visual Studio and environment for developing applications using EmguCV.</p>
<p>Firstly we need to download some the essential tools, we will be using the most stable versions though the new versions are also available.</p>
<ol>
<li><span style="line-height: 13px;" data-mce-mark="1"><a href="http://www.microsoft.com/visualstudio/eng/products/visual-studio-2010-express">Visual Studio 2010 Express Edition</a></span></li>
<li><span style="line-height: 13px;" data-mce-mark="1"><a href="http://sourceforge.net/projects/emgucv/files/">Emgu CV</a> (version 2.4.2 is available but had various issues so I&#8217;m doing it with the most stable version found 2.3.0)</span></li>
</ol>
<p><span style="line-height: 13px;" data-mce-mark="1">Once you have installed all this it should work fine, but one common exception found is</span></p>
<h3>The type initializer for &#8216;Emgu.CV.CvInvoke&#8217; threw an exception.</h3>
<p>If you see this exception, do following :</p>
<ul>
<li>For Version 2.4+, the bundled OpenCV binary is build with Visual Studio 2010, you will needs to installed <b><a href="http://www.microsoft.com/en-us/download/details.aspx?id=5555" rel="nofollow">MSVCRT 10.0 SP1 x86</a></b> or <b><a href="http://www.microsoft.com/en-ca/download/details.aspx?id=13523" rel="nofollow">MSVCRT 10.0 SP1 x64</a></b> to resolve the dependency issue.</li>
<li>For Version 2.0+, the bundled OpenCV binary is build with Visual Studio 2008, you will needs to installed <b><a href="http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&amp;displaylang=en" rel="nofollow">MSVCRT 9.0 SP1</a></b> to resolve the dependency issue.</li>
<li>For Version 1.5, the bundled OpenCV pre1.1 binary is build with Visual Studio 2005, you will needs to installed <b><a href="http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&amp;displaylang=en" rel="nofollow">MSVCRT 8.0 SP1</a></b> to resolve the dependency issue.</li>
</ul>
<p>This is the most effective solution to the problem for the above exception, for others and detailed troubleshooting <a href="http://www.emgu.com/wiki/index.php/Download_And_Installation#The_type_initializer_for_.27Emgu.CV.CvInvoke.27_threw_an_exception.">click here</a>.</p>
<p>Now start the configuration part :</p>
<ol>
<li>We need to add a environment variable to the system variables.<br />
Right Click My Computer<strong>&gt;</strong>Advanced System Settings&gt;Environment Variables<br />
Under &#8220;System Variables&#8221; edit variable &#8220;path&#8221;<br />
add a semicolon(;) and the path to the emgu installation directory bin folder(by default it is C:\Emgu\emgucv-windows-x86 2.3.0.1416\bin<br />
<a href="http://blog.shubhamsaxena.com/starting-with-emgu-cv/attachment/12/" rel="attachment wp-att-336"><img class="aligncenter size-medium wp-image-336" alt="system variables" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/12-251x300.png" width="251" height="300" /></a></li>
<li>Now the environment is ready and we need to add the emgu custom controls to Visual Studio ToolBox<br />
In the toolbox, right click on General tab and select &#8220;choose items&#8221;<br />
<a href="http://blog.shubhamsaxena.com/starting-with-emgu-cv/attachment/123/" rel="attachment wp-att-337"><img class="aligncenter size-medium wp-image-337" alt="Visual Studio ToolBox" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/123-300x237.png" width="300" height="237" /></a></li>
<li>Select browse on bottom right corner and browse for &#8220;<strong>Emgu.CV.UI.dll</strong>&#8221; (it is located in bin folder of installation directory i.e C:\Emgu\emgucv-windows-x86 2.3.0.1416\bin)</li>
<li>Now the Visual Studio will have the tools for emgu control<br />
<a href="http://blog.shubhamsaxena.com/starting-with-emgu-cv/attachment/12345/" rel="attachment wp-att-338"><img class="aligncenter size-full wp-image-338" alt="Emgu Controls" src="http://blog.shubhamsaxena.com/wp-content/uploads/2013/01/12345.png" width="290" height="146" /></a></li>
</ol>
<p><span style="line-height: 13px;" data-mce-mark="1"> This is all required for setting up the environment for working with Emgu CV, in the next article we will learn how to create our first project with Emgu CV. Cheers <img src='http://blog.shubhamsaxena.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/starting-with-emgu-cv/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Android Development &#8211; Running Android App</title>
		<link>http://blog.shubhamsaxena.com/android-development-running-android-app/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-development-running-android-app</link>
		<comments>http://blog.shubhamsaxena.com/android-development-running-android-app/#comments</comments>
		<pubDate>Sun, 09 Dec 2012 16:58:41 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[avd]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=316</guid>
		<description><![CDATA[For running your apps there are two possible ways : Running on the emulator Running on a device Running on the emulator Emulator are the Android Virtual Devices (AVD) that we need to configure in order to run our android apps. Step 1 &#8211; Open AVD Manager Step 2 &#8211; Click on New Button to &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/android-development-running-android-app/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>For running your apps there are two possible ways :</p>
<ul>
<li>Running on the emulator</li>
<li>Running on a device</li>
</ul>
<h2>Running on the emulator</h2>
<p>Emulator are the Android Virtual Devices (AVD) that we need to configure in order to run our android apps.</p>
<p><strong>Step 1</strong> &#8211; Open AVD Manager</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/11.png"><img class="aligncenter size-medium wp-image-320" title="AVD Manager" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/11-300x212.png" alt="AVD Manager" width="300" height="212" /></a></p>
<p><strong>Step 2</strong> &#8211; Click on New Button to add a new device, and configure your device settings.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/111.png"><img class="aligncenter size-medium wp-image-328" title="New Device - AVD Manager" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/111-229x300.png" alt="New Device - AVD Manager" width="229" height="300" /></a></p>
<p>&nbsp;</p>
<p><strong>Step 3</strong> &#8211; There will be a result window showing all the configuration you had chosen on the previous screen.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/31.png"><img class="aligncenter size-medium wp-image-322" title="Configuration Result - AVD Manager" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/31-300x271.png" alt="Configuration Result - AVD Manager" width="300" height="271" /></a></p>
<p><strong>Step 4</strong> &#8211; Press &#8216;<strong>Ok</strong>&#8216; and you will see your device listed in there and now you can close this window now.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/41.png"><img class="aligncenter size-medium wp-image-323" title="List of Devices - AVD Manager" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/41-300x213.png" alt="List of Devices - AVD Manager" width="300" height="213" /></a></p>
<p><strong>Step 5</strong> &#8211; Run your android app project from eclipse and if there is only one AVD configured it will automatically deploy the app to it else a window will appear to choose your AVD. Emulator will start.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/51.png"><img class="aligncenter size-medium wp-image-324" title="Android Emulator" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/51-193x300.png" alt="Android Emulator" width="193" height="300" /></a></p>
<h2>Running on the Device</h2>
<p>Android app can directly be deployed on the android device, for this few configurations are needed.</p>
<p><strong>Step 1</strong> &#8211; Set the application in the debug-able mode by setting <code>android:debuggable</code> attribute of the <code>&lt;application&gt;</code>element to <code>true</code>. For ADT 8.0 this is done by default. (In our ADT we do not need to perform this step)</p>
<p><strong>Step 2</strong> &#8211; Enable USB debugging on your device:</p>
<p>For Android 3.2 or older Goto <strong>Settings&gt;Applications&gt;Development </strong>and enable USB Debugging.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/SC20121209-221936.png"><img class="aligncenter size-medium wp-image-325" title="USB Debugging" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/SC20121209-221936-225x300.png" alt="USB Debugging" width="225" height="300" /></a></p>
<p>On Android 4.0 and newer, it&#8217;s in <strong>Settings &gt; Developer options</strong>.</p>
<blockquote><p><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer options</strong> is hidden by default. To make it available, go to <strong>Settings &gt; About phone</strong> and tap <strong>Build number</strong> seven times. Return to the previous screen to find <strong>Developer options</strong>.</p></blockquote>
<p><strong>Step 3</strong> &#8211; Install USB drivers for your device so that the computer recognizes your device.</p>
<p><strong>Step 4</strong> - Once set up and your device is connected via USB, install your application on the device by selecting <strong>Run</strong> &gt; <strong>Run</strong> (or <strong>Run</strong> &gt;<strong>Debug</strong>) from the Eclipse menu bar.</p>
<p>Cheers.</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/android-development-running-android-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android Development &#8211; Getting Started</title>
		<link>http://blog.shubhamsaxena.com/android-development-getting-started/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-development-getting-started</link>
		<comments>http://blog.shubhamsaxena.com/android-development-getting-started/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 08:10:33 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Tech Hub]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=308</guid>
		<description><![CDATA[I hope the Android Development - Intro helped you in configuring your machine for developing Android apps, in this tutorial we will quick start our first Android app. Here is a step wise article. Step 1 &#8211; Start the eclipse extracted from the adt-bundle  i.e  %&#8230;.%adt-bundle-windows/eclipse/eclipse.exe Step 2 &#8211; A workspace launcher will popup and you have &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/android-development-getting-started/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I hope the <a title="Android Development – Intro" href="http://blog.shubhamsaxena.com/android-development-intro/">Android Development - Intro</a> helped you in configuring your machine for developing Android apps, in this tutorial we will quick start our first Android app. Here is a step wise article.</p>
<p><strong>Step 1</strong> &#8211; Start the eclipse extracted from the adt-bundle  i.e <strong> %&#8230;.%adt-bundle-windows/eclipse/eclipse.exe</strong></p>
<p><strong>Step 2</strong> &#8211; A workspace launcher will popup and you have to define the workspace for your android apps, workspace is the place where all the source files are kept.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/0.png"><img class="aligncenter size-medium wp-image-309" title="Workspace Launcher" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/0-300x136.png" alt="Workspace Launcher" width="300" height="136" /></a></p>
<p><strong>Step 3</strong> &#8211; Once you have selected your workspace now your IDE is ready for you, Goto <strong>File&gt;New&gt;Android Application Project</strong></p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/1.png"><img class="aligncenter size-medium wp-image-310" title="Android Application Project" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/1-300x256.png" alt="Android Application Project" width="300" height="256" /></a></p>
<p><strong>Step 4</strong> &#8211; Next step is about configuring your project, it will have options like creating custom launcher and adding activity etc.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/2.png"><img class="aligncenter size-medium wp-image-311" title="Configure Android Project" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/2-300x255.png" alt="Configure Android Project" width="300" height="255" /></a></p>
<p><strong>Step 5</strong> &#8211; Hence we have checked Create custom launcher icon in the previous screen, this screen allows to add our custom launcher icon. Here I&#8217;m using the default icons.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/3.png"><img class="aligncenter size-medium wp-image-312" title="Custom Launcher Icon" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/3-300x278.png" alt="Custom Launcher Icon" width="300" height="278" /></a></p>
<p><strong>Step 6</strong> &#8211; Next we have to decide the activity for our app, there are different types of activity available but for the beginners we will start with BlankActivity.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/4.png"><img class="aligncenter size-medium wp-image-313" title="Create Activity Android Application" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/4-300x278.png" alt="Create Activity Android Application" width="300" height="278" /></a></p>
<p><strong>Step 7 - </strong> In this screen you can give name to your activity.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/5.png"><img class="aligncenter size-medium wp-image-314" title="Name Activity - Android" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/5-300x279.png" alt="Name Activity - Android" width="300" height="279" /></a></p>
<p>This was all the configuration part, its done now you can start your real coding. After completing the above steps, you will see a designer screen, where you can design and code your app.</p>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/6.png"><img class="aligncenter size-medium wp-image-315" title="New App Designer - Android" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/6-300x245.png" alt="New App Designer - Android" width="300" height="245" /></a></p>
<p>Now we have the blank app with the title MyFirstApk and &#8220;Hello world!&#8221; text in center. This is just a hello world app, lets start <a title="Android Development - Running Android App" href="http://blog.shubhamsaxena.com/?p=316">Running Android App</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/android-development-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Development &#8211; Intro</title>
		<link>http://blog.shubhamsaxena.com/android-development-intro/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=android-development-intro</link>
		<comments>http://blog.shubhamsaxena.com/android-development-intro/#comments</comments>
		<pubDate>Thu, 06 Dec 2012 07:22:24 +0000</pubDate>
		<dc:creator>Shubham Saxena</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Tech Hub]]></category>

		<guid isPermaLink="false">http://blog.shubhamsaxena.com/?p=304</guid>
		<description><![CDATA[Since last few days I was trying to get my hands on some new technology, tried many but finally landed with Android Development. The only thing which attracted me to this is that I can deploy my apps directly to my phone. Here is a quick tutorial how to get started. Android plugins are available &#8230;<br/><a class="more-link" href="http://blog.shubhamsaxena.com/android-development-intro/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Since last few days I was trying to get my hands on some new technology, tried many but finally landed with Android Development. The only thing which attracted me to this is that I can deploy my apps directly to my phone. Here is a quick tutorial how to get started.</p>
<p>Android plugins are available in the major IDEs like Eclipse and NetBeans, I tried configuring with all but the <a href="http://developer.android.com/sdk/index.html">ADT (Android Development Tool)</a> available is easy to use and recommended. Just download the bundle and extract to a specific location and it does everything for you.</p>
<p>With a single download, the ADT Bundle includes everything you need to begin developing apps:</p>
<ul>
<li>Eclipse + ADT plugin</li>
<li>Android SDK Tools</li>
<li>Android Platform-tools</li>
<li>The latest Android platform</li>
<li>The latest Android system image for the emulator</li>
</ul>
<p><a href="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/122.png"><img class="aligncenter size-medium wp-image-305" title="Android Development Tool" src="http://blog.shubhamsaxena.com/wp-content/uploads/2012/12/122-300x180.png" alt="Android Development Tool" width="300" height="180" /></a></p>
<p>Stay Tuned for next posts on android development.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shubhamsaxena.com/android-development-intro/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
