<?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>mekya</title>
	<atom:link href="http://www.mekya.com/blog/lang/eng/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mekya.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 28 Mar 2012 17:37:19 +0000</lastBuildDate>
	<language>eng</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Android initialization from init.rc to third party code</title>
		<link>http://www.mekya.com/blog/lang/eng/2012/03/android-initialization-from-init-rc-to-third-party-code</link>
		<comments>http://www.mekya.com/blog/lang/eng/2012/03/android-initialization-from-init-rc-to-third-party-code#comments</comments>
		<pubDate>Wed, 28 Mar 2012 17:37:19 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[init.rc]]></category>
		<category><![CDATA[systemserver]]></category>
		<category><![CDATA[third part code]]></category>
		<category><![CDATA[zygote]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=603</guid>
		<description><![CDATA[As known, android is based on Linux kernel however in this article, we wont deal with kernel. We will try to discover android initialization (particularly zygote)  step by step after the kernel is done. init,  source can be found in /system/core/init/init.c, is started first after the kernel finished his job.(init’s pid is 1) init process [...]]]></description>
			<content:encoded><![CDATA[<p>As known, android is based on Linux kernel however in this article, we wont deal with kernel. We will try to discover android initialization (particularly zygote)  step by step after the kernel is done.</p>
<ul>
<li>init,  source can be found in /system/core/init/init.c, is started first after the kernel finished his job.(init’s pid is 1)</li>
<li>init process parces the init.rc file which has a specific format called the Android Init Language and sets up the system according to init.rc. There is a readme file that gives information about Android Init Language in the /system/core/init folder. Services are started and system properties are set according to init.rc file.  Also zygote, java and native services started.</li>
<li>This is the line about zygote in init.rc file</li>
</ul>
<blockquote><p>service zygote /system/bin/app_process -Xzygote /system/bin –zygote –start-system-server</p></blockquote>
<ul>
<li>“app_process” source code can be found in “frameworks/cmds/app_process/app_main.cpp”.  ”app_process” calls the static main function in ZygoteInit.java class(frameworks/core/java/com/android/internal/os/)</li>
</ul>
<blockquote><p>runtime.start(“com.android.internal.os.ZygoteInit”, startSystemServer);</p></blockquote>
<ul>
<li>ZygoteInit.java’s static main function starts the system server by calling “startSystemServer()” function if proper parameters given. Then “startSystemServer()” calls the static main function of SystemServer.java class(frameworks/base/services/java/com/android/server).</li>
<li>SystemServer.java’s static main function firstly call native “init1()” function. “init1()” is defined in “android_servers” library function and “init1()” is registered in “frameworks/base/services/jni/com_android_server_SystemServer.cpp” to call “system_init()”</li>
<li>“system_init()”  is defined in “/frameworks/base/cmds/system_server/library/system_init.cpp”. In “system_init()” function, native services(SurfaceFlinger, AudioFlinger, Camera, MediaPlayer),  Androidruntime is started and “init2()” function in SystemServer.java is called.</li>
<li>“init2()” function creates a thread that starts all critical services(PowerManager, ActivityManager, Battery, Vibrator,Connectivity, etc.). Lastly “ActivityManagerService”’s “systemReady()” function is called to run third party code.</li>
</ul>
<p>Ahmet Oguz Mermerkaya - Olcay Ay</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2012/03/android-initialization-from-init-rc-to-third-party-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Developer Days &#8211; Call for Submissions</title>
		<link>http://www.mekya.com/blog/lang/eng/2012/02/android-developer-days-call-for-submissions</link>
		<comments>http://www.mekya.com/blog/lang/eng/2012/02/android-developer-days-call-for-submissions#comments</comments>
		<pubDate>Tue, 21 Feb 2012 10:04:12 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=595</guid>
		<description><![CDATA[&#160; Android Developer Days is an organization that people, interested in Android and mobile technologies, get together and share their knowledge and experiences. Android Developer Days will take place in METU Cultural and Convetion Center in Ankara, Turkey on May 21 / 22 . There will be parallel sessions in two halls and one workshop hall in the organization. In [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a title="Android Developer Days ANKARA 21 22 May 2012" href="http://www.androiddeveloperdays.com/" target="_blank"><img class="aligncenter" src="http://lh6.googleusercontent.com/-wR2pMRGgDLc/T1BjFw5Gy7I/AAAAAAAAAc8/8uwJ9JOMedg/s468/banner_468x60_EN.jpg" alt="VisitAndroidDevDayswebsite" width="468px" height="60px/" /></a></p>
<div>
<div>
<p>&#160;</p>
<p><a title="Android Developer Days" href="http://www.androiddeveloperdays.com/">Android Developer Days</a> is an organization that people, interested in Android and mobile technologies, get together and share their knowledge and experiences. Android Developer Days will take place in <a title="METU CCC" href="http://www.ccc.metu.edu.tr/">METU Cultural and Convetion Center </a>in Ankara, Turkey on May 21 / 22 . There will be parallel sessions in two halls and one workshop hall in the organization.</p>
<p>In Android Developer Days, there will be presentations, tutorials and workshops. If you want to share your knowledge and experience about the subjects below, we are inviting you to share them in Android Developer Days. Moreover we appreciate all different ideas and papers beyond subjects below. More information is available on <a href="http://www.androiddeveloperdays.com/call-for-papers/">web site</a></p>
<ul>
<li>Mobile World
<ul>
<li>Future of Mobile World</li>
<li>Future Mobile Technologies</li>
</ul>
</li>
<li>Android Open Source Project (AOSP)
<ul>
<li>Ice Cream Sandwich</li>
<li>Future Releases</li>
<li>Android in Different Architectures</li>
<li>Android in Different Areas(Industry, Defense, Home Electronics etc.)</li>
</ul>
</li>
<li>Android App Development
<ul>
<li>Best Practices in Development
<ul>
<li>Efficient usage of System Resources</li>
<li>Development for different devices</li>
<li>User Interface Design</li>
</ul>
</li>
<li>Android SDK</li>
<li>Tablet Apps</li>
</ul>
</li>
<li>Cross Platform App Development Frameworks</li>
<li>Communication Solutions</li>
<li>Mobile Education</li>
<li>Mobile Payment</li>
<li>App Monetization</li>
<li>Security</li>
<li>NFC</li>
<li>Google TV</li>
<li>HTML5 (Mobile Web Applications)</li>
<li>Game Development</li>
</ul>
<p>Android Developer Days - <a rel="nofollow" href="http://www.androiddeveloperdays.com/" target="_blank">www.androiddeveloperdays.com</a></p>
</div>
</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2012/02/android-developer-days-call-for-submissions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding Android Makefile (Android.mk)</title>
		<link>http://www.mekya.com/blog/lang/eng/2012/01/understanding-android-makefile-android-mk</link>
		<comments>http://www.mekya.com/blog/lang/eng/2012/01/understanding-android-makefile-android-mk#comments</comments>
		<pubDate>Fri, 06 Jan 2012 11:38:29 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android.mk]]></category>
		<category><![CDATA[makefile]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=582</guid>
		<description><![CDATA[Firstly, let me say that this document is an abstract information which is available in pdk documents. Secondly, you may want to look at the post that tells how to build Android source code.  And now, we can start, at a first glance to Android source codes, we see that applications, libraries, components in framework [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly, let me say that this document is an abstract information which is available in pdk documents. Secondly, you may want to look at the post that tells <a title="how to build android source code" href="http://www.ankara-gtug.org/2011/07/06/how-to-build-android-gingerbread-on-fresh-ubuntu-10-10/">how to build Android source code</a>.  And now, we can start, at a first glance to Android source codes, we see that applications, libraries, components in framework have Android.mk files in their specific directories. These Android.mk files defines how to build that source code. There are well defined specific rules for Android.mk files. Let me summarize them.</p>
<ul>
<li><strong>Name:</strong> We need to define a name for our build (LOCAL_MODULE := )</li>
<li><strong>Local Variables:</strong> All builds may have some local variables so to start a new build it is good to clear all local variables (include $(CLEAR_VARS))</li>
<li><strong>Files:</strong> We need to write all files we want it to be build (LOCAL_SRC_FILES := main.c)</li>
<li><strong>Tags:</strong> Define tags for build. (LOCAL_MODULE_TAGS := eng development)</li>
<li><strong>Libraries:</strong> If build needs to be linked to other libraries, we need to define them (LOCAL_SHARED_LIBRARIES := cutils)</li>
<li><strong>Template file:</strong> We can define whether our build is executable,library or something else by including template file (include $(BUILD_EXECUTABLE))</li>
</ul>
<p><em>BUILD_EXECUTABLE, </em><em>CLEAR_VARS</em>, etc. variables which are the absolute address of the template files are defined in build/core/config.mk.</p>
<p>Here is a simple Android.mk file that builds an apk</p>
<blockquote><p>LOCAL_PATH := $(call my-dir)<br />
include $(CLEAR_VARS)<br />
# Build all java files in the java subdirectory<br />
LOCAL_SRC_FILES := $(call all-subdir-java-files)<br />
# Name of the APK to build<br />
LOCAL_PACKAGE_NAME := LocalPackage<br />
# Tell it to build an APK<br />
include $(BUILD_PACKAGE)</p></blockquote>
<p>Last line in Android.mk file builds the APK file. Different source code types must be built differently so we can also use $(BUILD_EXECUTABLE), $(HOST_JAVA_LIBRARY), $(HOST_PREBUILT) etc. variables according to our source code. (Definitions like <em>my-dir</em>, <em>all-subdir-java-files</em> are in build/core/definitions.mk)</p>
<p>we can add LOCAL_MODULE_TAGS variable to Android.mk file to determine that module to be installed in that source code built. Here are the some defined tags and their meanings</p>
<ul>
<li>eng
<ul>
<li>Default variant</li>
<li>Installs modules tagged with: eng, debug, user, and/or development</li>
<li>Installs non-apk modules that have no tags specified.</li>
<li>Installs APKs according to the product definition files.</li>
<li>adb is enabled by default.</li>
</ul>
</li>
<li>user
<ul>
<li>Final release</li>
<li>Installs modules tagged with user</li>
<li>Installs non-apk modules that have no tags specified</li>
<li>Install APKs according to the product definition files</li>
<li>adb is disabled by default.</li>
</ul>
</li>
</ul>
<ul>
<li>userdebug, Same as user except:
<ul>
<li>Also installs modules tagged with debug</li>
<li>adb is enabled by default</li>
</ul>
</li>
</ul>
<p>These tags is same as build variants that can be specified in “choosecombo” function. “choosecombo” function is available after “source build/envsetup.sh” command.  We can specify build variant in building source code like below</p>
<p><em>make -j4 PRODUCT-generic-eng</em></p>
<p><em>“</em><em>eng” is the build variant “generic” is the product. The command above will build and install modules according to attributes of “eng” tag mentioned above.</em></p>
<p><em></em>Ahmet Oğuz Mermerkaya</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2012/01/understanding-android-makefile-android-mk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>118 Andro is available</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/12/118-andro-is-available</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/12/118-andro-is-available#comments</comments>
		<pubDate>Wed, 21 Dec 2011 13:52:32 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android app]]></category>
		<category><![CDATA[Turkey]]></category>
		<category><![CDATA[white pages]]></category>
		<category><![CDATA[yellow pages]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=577</guid>
		<description><![CDATA[118 Andro makes you easily access yellow and white pages for landlines in Turkey. In other words, people's and companies' landline numbers can be queried by 118 Andro. 118 Andro can be downloaded from Android Market Ahmet Oguz Mermerkaya]]></description>
			<content:encoded><![CDATA[<p><a href="http://lh6.ggpht.com/hZbgCwPPbY_RnL-8_ZkSxBkImEgSzaLRLfY8J8A06XUeNAaR2N5YtDdmc4gH04tEhtop"></a><a href="http://market.android.com/details?id=com.mekya&#38;feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5tZWt5YSJd"><img class="alignleft" title="118 Andro icon" src="http://lh5.ggpht.com/ftu6bgwVRYK6zzlN6iReoSgcnGx8Al06zWnFcSo54hIhDfnYz8whMi0O9GeyGivhUw=w124" alt="" width="64" height="64" /></a>118 Andro makes you easily access yellow and white pages for landlines in Turkey. In other words, people's and companies' landline numbers can be queried by 118 Andro. 118 Andro can be downloaded from <a title="118 Andro" href="https://market.android.com/details?id=com.mekya&#38;feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5tZWt5YSJd">Android Market</a></p>
<p><a href="http://lh6.ggpht.com/_NA395BTapfYuAncNddvaa_Nqj1OXAgyzm7hyX4hAXobD4UZWGPPOtC3NLFP5lxIwQM"></a><a href="http://lh4.ggpht.com/07NwU2f0njm975BZDqTuIg8t-XiJYNEIWKa44xkyID603lBPmsMpoghU4gQoaXmPeKk"><img class="alignleft" title="ankara community" src="http://lh4.ggpht.com/07NwU2f0njm975BZDqTuIg8t-XiJYNEIWKa44xkyID603lBPmsMpoghU4gQoaXmPeKk" alt="" width="307" height="450" /></a><a href="http://lh5.ggpht.com/ooHCJdi5S89VV9aOfcbWfdjnphNzVtkPuOwu1ujrBF_v9Y0tWleVtYv5JzhYu0vSSys"><img class="alignleft" title="118 andro search result" src="http://lh5.ggpht.com/ooHCJdi5S89VV9aOfcbWfdjnphNzVtkPuOwu1ujrBF_v9Y0tWleVtYv5JzhYu0vSSys" alt="" width="307" height="450" /></a></p>
<p><a href="http://lh6.ggpht.com/_NA395BTapfYuAncNddvaa_Nqj1OXAgyzm7hyX4hAXobD4UZWGPPOtC3NLFP5lxIwQM"><span id="more-577"></span><img class="alignleft" title="search results" src="http://lh6.ggpht.com/_NA395BTapfYuAncNddvaa_Nqj1OXAgyzm7hyX4hAXobD4UZWGPPOtC3NLFP5lxIwQM" alt="" width="307" height="512" /></a><a href="http://lh6.ggpht.com/hZbgCwPPbY_RnL-8_ZkSxBkImEgSzaLRLfY8J8A06XUeNAaR2N5YtDdmc4gH04tEhtop"><img class="alignleft" title="landlines" src="http://lh6.ggpht.com/hZbgCwPPbY_RnL-8_ZkSxBkImEgSzaLRLfY8J8A06XUeNAaR2N5YtDdmc4gH04tEhtop" alt="" width="307" height="512" /></a></p>
<div style="clear: both;">Ahmet Oguz Mermerkaya</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/12/118-andro-is-available/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Seminar @Kadir Has Univ.</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/12/android-seminar-kadir-has-univ</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/12/android-seminar-kadir-has-univ#comments</comments>
		<pubDate>Tue, 20 Dec 2011 14:02:25 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=573</guid>
		<description><![CDATA[Android Seminar on December 8 at Kadir Has University http://www.facebook.com/events/190509481036147/]]></description>
			<content:encoded><![CDATA[<div id="id_4eddc0da099760564814761">Android Seminar on December 8 at Kadir Has University <a href="http://www.facebook.com/events/190509481036147/">http://www.facebook.com/events/190509481036147/</a><br />
<embed type="application/x-shockwave-flash" width="600" height="400" src="https://picasaweb.google.com/s/c/bin/slideshow.swf" flashvars="host=picasaweb.google.com&#38;hl=en_US&#38;feat=flashalbum&#38;RGB=0x000000&#38;feed=https%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F108071297519080896671%2Falbumid%2F5687514196835379233%3Falt%3Drss%26kind%3Dphoto%26hl%3Den_US"></embed></div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/12/android-seminar-kadir-has-univ/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Key Features of HTML5</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/12/key-features-of-html5</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/12/key-features-of-html5#comments</comments>
		<pubDate>Mon, 19 Dec 2011 07:43:35 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=569</guid>
		<description><![CDATA[Lately, we have heard some many exciting things about HTML5 so we, the traceper team, decided to learn what the key features are in HTML5 and how we can use them in traceper. So we are writing this document to help our project team and ankara gtug community members learn somethings about HTML5. This document [...]]]></description>
			<content:encoded><![CDATA[<div>
<p id="internal-source-marker_0.7295041857287288" dir="ltr">Lately, we have heard some many exciting things about HTML5 so we, <a href="http://www.traceper.com/">the traceper team</a>, decided to learn what the key features are in HTML5 and how we can use them in <a href="http://www.traceper.com/">traceper</a>.</p>
<p>So we are writing this document to help our project team and ankara gtug community members learn somethings about HTML5. This document doesn’t include every aspect of HTML5, it just consist of parts of HTML5 we find important for us.<br />
<img class="aligncenter" src="https://lh3.googleusercontent.com/abQEWk8b6fhcI-RnuqHdjItdeHF63zgf6YHY-zW5R813cHLkuxfxEhbDJC6-2_FWdBbKFnzMpihOPXVvEGQzD3O0YfR5LzBC7LTwzfXoGaqiyYbLh6o" alt="" width="120" height="120" /></p>
<h2>Equation of HTML5:</h2>
<h4 style="text-align: center;" dir="ltr">HTML5 ~= HTML + CSS + JS</h4>
<p><span id="more-569"></span>As we understand from equation HTML5 is not comprised of only new tags in html, it is the new web tech. name which includes new features in javascript, css and html and let me summarise some of the exciting features of HTML5. Before start, I think it is important to point that HTML5 is not completely finished and completely supported by all modern browsers and also some guys say that development of HTML5 will continue in next coming 5 years, who knows we will see if we live...<img title="More..." src="http://www.ankara-gtug.org/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<h2>New Tags in HTML5 (Semantic, Media, etc.)</h2>
<p>HTML5 comes with new tags which for semantic web, audio, video etc. Using div, instead of table, have been started in 2002 in web designs, it has some advantages but it is a hell for semantic web however HTML5’s new tags are helpful for semantic web. Here is a structure of a web page in HTML4.<br />
<img src="https://lh6.googleusercontent.com/kXxno8lG7QK1V1dENrH2IHpSBb8k-VBoKte5n6SkPz7z9HIWlJixeqlsTOh0A3W3it5rkKbg7jJXyb2hUL5SHP4qhjZjM5d8E6wCpM6aGeqtwQ_nXrg" alt="" width="540" height="270" /><br />
class and id fields can be meaningful for us but they are not standard, they may differ from developer to developer so it is almost meaningless for search engines. But in HTML5 there is an standard like this<br />
<img src="https://lh4.googleusercontent.com/NgZVwV5v2133Ej8LTRA3caa4-27mKn13i4mnXyHozqJ3NKYruezkCh_HzO40GVvp19vAqPbC7AmfNbpl7ixW8g4pjiesH1PkQD6bluyKIHw50fVUlDk" alt="" width="540" height="270" /></p>
<p>What if a developer doesn’t obey the rules in HTML5 for instance nav field doesn’t have a content about navigation or  article has a content about header of the web page, the result is probably like that, search engines doesn’t crawl the web site as usual and they produces some unexpected results about web page, lastly web page may not be appear at the right order in the search results.</p>
<p>After mentioning a little about semantic tags, let’s look at some multimedia tags, I think most of us have heard that HTML5 will kill flash, yeap it may, because with HTML5, browsers come with native support audio, video and graphics. We don’t need to use flash to play a video or an audio file. We can use audio and video tags. Here are some examples:</p>
<blockquote><p>&#60;video&#62;  &#60;!-- to play a video --&#62;<br />
&#60;source src="assets/dizzy.mp4" type="video/mp4" /&#62;<br />
&#60;/video&#62;</p>
<p>&#60;audio id="audio_with_controls" controls autobuffer&#62;  &#60;!-- to play a mp3 file --&#62;<br />
&#60;source src="http://playground.html5rocks.com/samples/html5_misc/rushus-modal_blues.mp3" type="audio/mpeg" /&#62;<br />
&#60;/audio&#62;</p></blockquote>
<p>Here is <a href="http://www.w3schools.com/html5/html5_reference.asp">full list of HTML5 tags</a> with browser compatibility info.</p>
<h2>Offline &#38; Storage</h2>
<p>HTML5 provides web apps start faster and work even there is no internet connection. Thanks to local storage, App cache, Index DB and SQL DB Specifications.</p>
<p>it is better to use local storage for persistent storage. Here is a simple code snippet</p>
<blockquote><p>saveButton.addEventListener('click', function () {<br />
window.localStorage.setItem('value', area.value);<br />
window.localStorage.setItem('timestamp', (new Date()).getTime());<br />
}, false);<br />
textarea.value = window.localStorage.getItem('value');</p></blockquote>
<p>and another code snippet for SQL DB</p>
<blockquote><p>var db = window.openDatabase("DBName", "1.0", "description", 5*1024*1024); //5MB<br />
db.transaction(function(tx) {<br />
tx.executeSql("SELECT * FROM test", [], successCallback, errorCallback);<br />
});</p></blockquote>
<p>According to requirements of the web app or personal choice, one can select SQL DB, Index DB, App cache or local storage to store data in client side. Lastly you can try some examples in <a href="http://html5demos.com/storage-events">here</a>, <a href="http://html5demos.com/contenteditable">here</a> and <a href="http://html5demos.com/storage">here</a></p>
<h2>Connectivity (Realtime / Communication)</h2>
<p>Full-duplex, bi-directional communication over the web. Javascript socket ability can make web apps more efficient and more real-time because by client and server mechanism server can send update any time to client also in client-server communication only data is sent, no http headers, this dramatically reduces the bandwidth. Here is a code snippet about WebSocket</p>
<blockquote><p>var socket = new WebSocket('ws://html5rocks.websocket.org/echo');<br />
socket.onopen = function(event) {<br />
socket.send('Hello, WebSocket');<br />
};<br />
socket.onmessage = function(event) { alert(event.data); }<br />
socket.onclose = function(event) { alert('closed'); }</p></blockquote>
<p>Also you can look at <a href="http://html5demos.com/web-socket">this example </a>about sockets.</p>
<h2>Native Drag&#38;Drop</h2>
<p>There is a built-in dnd support in HTML5, as you guess dnd is so simple in browser but not enough, you can also drag file from desktop and drop it on web page or vice versa. You can try <a href="http://html5demos.com/file-api">this example</a> to drag file from desktop.</p>
<h2 dir="ltr">Device Access</h2>
<p>Beginning with the Geolocation API, Web Applications can present rich, device-aware features and experiences. Incredible device access innovations are being developed and implemented, from audio/video input access to microphones and cameras, to local data such as contacts &#38; events, and even tilt orientation.</p>
<h2 dir="ltr">2D, 3D, Graphics &#38; Effects</h2>
<p>Between SVG, Canvas, WebGL, and CSS3 3D features, you're sure to amaze your users with stunning visuals natively rendered in the browser. Here are some samples:<br />
<a href="http://alteredqualia.com/canvasmol/#DNA">http://alteredqualia.com/canvasmol/#DNA</a><br />
<a href="http://www.kevs3d.co.uk/dev/asteroids/">http://www.kevs3d.co.uk/dev/asteroids/</a></p>
<h2 dir="ltr">CSS3</h2>
<p>CSS3 delivers a wide range of stylization and effects, enhancing the web app without sacrificing your semantic structure or performance. Additionally Web Open Font Format (WOFF) provides typographic flexibility and control far beyond anything the web has offered before.</p>
<h3 dir="ltr">Conclusion</h3>
<p>HTML5 with great features will make web apps more responsive, more attractive and more like apps. However not all browsers completely support HTML5 and development of HTML5 isn’t finished yet. Nevertheless, I think there isn’t left too much time to clear most of the apps running directly on operating systems from market.</p>
<h3 dir="ltr">References</h3>
<p><a href="http://www.w3.org/html/logo/">http://www.w3.org/html/logo/</a><br />
<a href="http://html5demos.com/">http://html5demos.com/</a><br />
<a href="http://www.html5rocks.com/en/">http://www.html5rocks.com/en/</a><br />
<a href="http://www.alistapart.com/articles/previewofhtml5">http://www.alistapart.com/articles/previewofhtml5</a><br />
<a href="http://www.w3schools.com/html5/html5_reference.asp">http://www.w3schools.com/html5/html5_reference.asp</a><br />
<a href="http://www.w3.org/">http://www.w3.org/</a></p>
<p>Ahmet Oguz Mermerkaya</p>
</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/12/key-features-of-html5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://playground.html5rocks.com/samples/html5_misc/rushus-modal_blues.mp3" length="6670336" type="audio/mpeg" />
		</item>
		<item>
		<title>Merhaba Android Extended 2 Edition</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/12/merhaba-android-extended-2-edition</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/12/merhaba-android-extended-2-edition#comments</comments>
		<pubDate>Mon, 19 Dec 2011 07:40:24 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[merhaba]]></category>
		<category><![CDATA[pusula]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=566</guid>
		<description><![CDATA[The extended second edition of the book “Merhaba Android” (Hello Android) has been published on November 2011. The book aims to be a fundamental resource for people who are willing to learn how to develop Android applications . One feature of this book is that there is a web site with the same name; www.merhabaandroid.net. Readers [...]]]></description>
			<content:encoded><![CDATA[<p>The extended second edition of the book “Merhaba Android” (Hello Android) has been published on November 2011. The book aims to be a fundamental resource for people who are willing to learn how to develop Android applications . <a href="http://www.merhabaandroid.net/wp-content/uploads/2011/04/Merhaba-Android-Kpk1-1-e1301746249176.jpg" rel="lightbox[566]" title="Merhaba Android Extended 2 Edition"><img class="alignright" src="http://www.merhabaandroid.net/wp-content/uploads/2011/04/Merhaba-Android-Kpk1-1-187x300.jpg" alt="" width="187" height="300" /></a></p>
<p>One feature of this book is that there is a web site with the same name; <a href="http://www.merhabaandroid.net/">www.merhabaandroid.net</a>. Readers can ask questions via this website to the writers about the points that they don’t understand.</p>
<p>Merhaba Android 2; is available  on book stores like D&#38;R, Remzi, Inkılap and also it is available on <br />
<a href="http://www.pusula.com/" target="_blank">pusula.com</a>, <br />
<a href="http://www.hepsiburada.com/">hepsiburada.com</a> (worldwide shipping),<br />
<a href="http://www.idefix.com/" target="_blank">idefix.com</a> and<br />
<a href="http://www.kitapyurdu.com/" target="_blank">kitapyurdu.com</a>.</p>
<p>We need to remind you that the book is written in Turkish languge.</p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/12/merhaba-android-extended-2-edition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build Android GingerBread on fresh Ubuntu 10.10</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/07/how-to-build-android-gingerbread-on-fresh-ubuntu-10-10</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/07/how-to-build-android-gingerbread-on-fresh-ubuntu-10-10#comments</comments>
		<pubDate>Tue, 19 Jul 2011 07:04:40 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=560</guid>
		<description><![CDATA[You can download all required packages to build Android and run it in emulator. Having these packages, bundled in an archive, is a life saver for those whose ubuntu is offline. You can learn how to download Android source codes by following instructions on http://source.android.com/source/downloading.html and now, let me give some instructions for how to [...]]]></description>
			<content:encoded><![CDATA[<p>You can download <a title="required packages to build android gingerbread" href="https://rapidshare.com/files/398877071/required_packages_to_build_gingerbread_on_10.10.tar.gz">all required packages</a> to build Android and run it in emulator. Having these packages, bundled in an archive, is a life saver for those whose ubuntu is offline.</p>
<p>You can learn how to download Android source codes by following instructions on <a href="http://source.android.com/source/downloading.html">http://source.android.com/source/downloading.html</a> and now, let me give some instructions for how to build Android and run emulator on ubuntu 10.10<span id="more-560"></span></p>
<ul>
<li><a href="https://rapidshare.com/files/398877071/required_packages_to_build_gingerbread_on_10.10.tar.gz">Download packages from here</a></li>
<li>Open a terminal and go to directory where you download packages</li>
<li>Run these command to extract packages and enter the directory</li>
</ul>
<blockquote><p>tar -zxf required_packages_to_build_gingerbread_on_10.10.tar.gz</p>
<p>cd archives</p></blockquote>
<ul>
<li>To install all packages in these directory run this command</li>
</ul>
<blockquote><p>sudo dpkg -i -R ./</p></blockquote>
<ul>
<li>To make g++ available under /usr/bin, create a symbolic link</li>
</ul>
<blockquote><p>sudo ln -s /usr/bin/g++_4.4 /usr/bin/g++</p></blockquote>
<ul>
<li>Go to directory where you download Android sources</li>
<li>If you are building on 32 bit, then follow the instructions on this step. If your system is 64 bit, you can pass this step
<ul>
<li>Open the file build/core/main.mk and change this line</li>
</ul>
</li>
</ul>
<blockquote>
<p style="padding-left: 30px;">ifneq (64,$(findstring 64,$(build_arch)))</p>
</blockquote>
<p style="padding-left: 30px;">to</p>
<blockquote>
<p style="padding-left: 30px;">ifneq (i686,$(findstring i686,$(build_arch)))</p>
</blockquote>
<ul>
<li>Open these files</li>
</ul>
<blockquote>
<p style="padding-left: 30px;">external/clearsilver/cgi/Android.mk</p>
<p style="padding-left: 30px;">external/clearsilver/util/Android.mk</p>
<p style="padding-left: 30px;">external/clearsilver/java-jni/Android.mk</p>
<p style="padding-left: 30px;">external/clearsilver/cs/Android.mk</p>
</blockquote>
<p style="padding-left: 30px;">change the lines below for each file</p>
<blockquote>
<p style="padding-left: 30px;">LOCAL_CFLAGS += -m64</p>
<p style="padding-left: 30px;">LOCAL_LDFLAGS += -m64</p>
</blockquote>
<p style="padding-left: 30px;">to</p>
<blockquote>
<p style="padding-left: 30px;">LOCAL_CFLAGS += -m32</p>
<p style="padding-left: 30px;">LOCAL_LDFLAGS += -m32</p>
</blockquote>
<ul>
<li>Run these commands</li>
</ul>
<blockquote><p>source ./build/envsetup.sh</p>
<p>lunch 1</p>
<p>make</p></blockquote>
<ul>
<li>It can take some time to build Android according to your system and lastly run the emulator</li>
</ul>
<blockquote><p>emulator</p></blockquote>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/07/how-to-build-android-gingerbread-on-fresh-ubuntu-10-10/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Merhaba Android&#8221; is published&#8230; </title>
		<link>http://www.mekya.com/blog/lang/eng/2011/04/merhaba-android-is-published-merhaba-android-cikti</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/04/merhaba-android-is-published-merhaba-android-cikti#comments</comments>
		<pubDate>Wed, 27 Apr 2011 11:22:38 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=543</guid>
		<description><![CDATA[One of my friend (Murat Onder) and I have written a book with name “Merhaba Android” (Hello Android) that is a fundamental resource for people who are willing to learn how to develop Android applications from a Turkish book.&#160; Some of the chapters in “Merhaba Android”  are What is Android and what is the future [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.merhabaandroid.net"><img class="alignright" title="Android Kitap" src="http://www.merhabaandroid.net/wp-content/uploads/2011/04/Merhaba-Android-Kpk1-1-187x300.jpg" alt="" width="187" height="300" /></a></p>




<div lang="eng">One of my friend (Murat Onder) and I have written a book with name “Merhaba Android” (Hello Android) that is a  fundamental resource for people who are willing to learn how to develop  Android applications from a Turkish book.<br/>&#160;</div>
<div lang="eng">Some of the chapters in “Merhaba Android”  are What is Android and  what is the future of Android, How to install Android development  environment, Hello Android application, Activites, User Interface  elements,  Services, Application Resources and Samples projects(Camera,  GPS)<br/>&#160;</div>
<div lang="eng">One of the other feature of this book is there is a web site with the same name; <a href="http://www.merhabaandroid.net/">www.merhabaandroid.net</a>. Readers can ask question via this website to us about the points that they don’t understand.<br/>&#160;
</div>
<div lang="eng">Merhaba Android; is available  on book stores like D&#38;R, Remzi, Inkılap and also it is available on  <a href="http://www.pusula.com/2/index.php?option=com_pusula&#38;func=detail&#38;Itemid=1&#38;id=186" target="_blank">pusula.com</a>,   <a href="http://www.hepsiburada.com/Liste/merhaba-android/ProductDetails.aspx?productId=kpusula11548&#38;categoryId=211651">hepsiburada.com</a>(worldwide shipping), <a href="http://www.idefix.com/kitap/merhaba-android-murat-onder/tanim.asp?sid=D6XUFTF8SA5A1RGO5GRA" target="_blank">idefix.com</a> and <a href="http://www.kitapyurdu.com/kitap/default.asp?id=579379&#38;sa=80018886" target="_blank">kitapyurdu.com</a>.</div>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/04/merhaba-android-is-published-merhaba-android-cikti/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Seminars and Workshops</title>
		<link>http://www.mekya.com/blog/lang/eng/2011/02/android-seminars-and-workshops-android-seminerleri</link>
		<comments>http://www.mekya.com/blog/lang/eng/2011/02/android-seminars-and-workshops-android-seminerleri#comments</comments>
		<pubDate>Sat, 12 Feb 2011 14:41:14 +0000</pubDate>
		<dc:creator>mekya</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[Eğitim]]></category>
		<category><![CDATA[programlama]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Seminars]]></category>
		<category><![CDATA[seminer]]></category>
		<category><![CDATA[training]]></category>
		<category><![CDATA[Turkey]]></category>
		<category><![CDATA[Turkiye]]></category>
		<category><![CDATA[workshop]]></category>

		<guid isPermaLink="false">http://www.mekya.com/blog/?p=501</guid>
		<description><![CDATA[These are the seminars we have given... Academic Informatics Conference, Inonu University, Malatya, Turkey, Feb 2-4, 2011 Selcuk University, Konya, Turkey, Dec 26, 2010 XV. Internet Conference in Turkey, Istanbul, Turkey,  Dec 2-4, 2010 / EMO Ankara, Turkey  Nov 27-28, 2010]]></description>
			<content:encoded><![CDATA[<div lang="eng">These are the seminars we have given...</div>

<ul>
<li lang="eng"><a href="http://translate.google.com.tr/translate?hl=tr&#38;sl=tr&#38;tl=en&#38;u=http://ab2011.inonu.edu.tr/">Academic Informatics Conference, Inonu University, Malatya, Turkey, Feb 2-4, 2011</a></li>
<li lang="eng"><a href="http://translate.google.com.tr/translate?hl=tr&#38;sl=tr&#38;tl=en&#38;u=http://www.emo.org.tr/genel/bizden_detay.php%3Fkod%3D81018%26amp;tipi%3D2%26amp;sube%3D14">Selcuk University, Konya, Turkey, Dec 26, 2010 </a></li>
<li lang="eng"><a href="http://translate.google.com.tr/translate?hl=tr&#38;sl=tr&#38;tl=en&#38;u=http://inet-tr.org.tr/inetconf15">XV. Internet Conference in Turkey, Istanbul, Turkey,  Dec 2-4, 2010 /</a></li>
<li lang="eng"><a href="http://translate.google.com.tr/translate?hl=tr&#38;sl=tr&#38;tl=en&#38;u=http://www.emo.org.tr/genel/bizden_detay.php%3Fkod%3D79975%26amp;tipi%3D2%26amp;sube%3D14">EMO Ankara, Turkey  Nov 27-28, 2010</a></li>




</ul>
<p><a href="http://www.emo.org.tr/resimler/bizden/orj/39955_10_45_26.jpg" rel="lightbox[501]" title="Android Seminars and Workshops&#124; Android Seminerleri"><img class="alignnone" src="http://www.emo.org.tr/resimler/bizden/39955_10_45_29.jpg" alt="Android Konya Turkiye, Turkey" width="400" height="300" /></a></p>
<p><a href="http://www.emo.org.tr/resimler/bizden/orj/38787_10_15_33.jpg" rel="lightbox[501]" title="Android Seminars and Workshops&#124; Android Seminerleri"><img class="alignnone" src="http://www.emo.org.tr/resimler/bizden/38787_10_15_38.jpg" alt="Android Seminar Ankara Turkiye Turkey" width="400" height="300" /></a></p>
<!-- PHP 5.x -->]]></content:encoded>
			<wfw:commentRss>http://www.mekya.com/blog/lang/eng/2011/02/android-seminars-and-workshops-android-seminerleri/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

