<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.developer.nokia.com/Community/Wiki/skins/common/feed.css?1917"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;feed=atom&amp;action=history</id>
		<title>Reading accelerometer sensor data using QML - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;action=history"/>
		<updated>2013-05-27T02:56:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;diff=154890&amp;oldid=prev</id>
		<title>Kkrish: Kkrish -</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;diff=154890&amp;oldid=prev"/>
				<updated>2012-06-15T03:50:21Z</updated>
		
		<summary type="html">&lt;p&gt;Kkrish -&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 03:50, 15 June 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:Draft]]&lt;/del&gt;[[Category:Qt Quick]][[Category:Symbian C++]][[Category:Symbian]][[Category:Qt Mobility]][[Category:Code Examples]][[Category:Code Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Qt Quick]][[Category:Symbian C++]][[Category:Symbian]][[Category:Qt Mobility]][[Category:Code Examples]][[Category:Code Snippet]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This code example shows how to read accelerometer data (x, y and z value) in QML.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;This code example shows how to read accelerometer data (x, y and z value) in QML.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:138173:newid:154890 --&gt;
&lt;/table&gt;</summary>
		<author><name>Kkrish</name></author>	</entry>

	<entry>
		<id>http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;diff=138173&amp;oldid=prev</id>
		<title>Kkrish: Kkrish -</title>
		<link rel="alternate" type="text/html" href="http://www.developer.nokia.com/Community/Wiki/index.php?title=Reading_accelerometer_sensor_data_using_QML&amp;diff=138173&amp;oldid=prev"/>
				<updated>2012-03-06T08:08:21Z</updated>
		
		<summary type="html">&lt;p&gt;Kkrish -&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Draft]][[Category:Qt Quick]][[Category:Symbian C++]][[Category:Symbian]][[Category:Qt Mobility]][[Category:Code Examples]][[Category:Code Snippet]]&lt;br /&gt;
This code example shows how to read accelerometer data (x, y and z value) in QML.&lt;br /&gt;
&lt;br /&gt;
{{ArticleMetaData &amp;lt;!-- v1.2 --&amp;gt;&lt;br /&gt;
|sourcecode= [http://www.developer.nokia.com/Community/Wiki/File:Qmlaccelerometer.zip Qmlaccelerometer.zip]&lt;br /&gt;
|installfile= included in zip code.&lt;br /&gt;
|devices= Nokia E7&lt;br /&gt;
|sdk= Qt SDK 1,2&lt;br /&gt;
|platform= Symbian&lt;br /&gt;
|devicecompatability= Device with accelerometer sensor&lt;br /&gt;
|dependencies= None&lt;br /&gt;
|signing= Self&lt;br /&gt;
|capabilities= None&lt;br /&gt;
|keywords= Accelerometer QML&lt;br /&gt;
|language= &amp;lt;!-- Language category code for non-English topics - e.g. Lang-Chinese --&amp;gt;&lt;br /&gt;
|translated-by= &amp;lt;!-- [[User:XXXX]] --&amp;gt;&lt;br /&gt;
|translated-from-title= &amp;lt;!-- Title only --&amp;gt; &lt;br /&gt;
|translated-from-id= &amp;lt;!-- Id of translated revision --&amp;gt;&lt;br /&gt;
|review-by=&amp;lt;!-- After re-review: [[User:username]] --&amp;gt;&lt;br /&gt;
|review-timestamp= &amp;lt;!-- After re-review: YYYYMMDD --&amp;gt;&lt;br /&gt;
|update-by= &amp;lt;!-- After significant update: [[User:username]]--&amp;gt;&lt;br /&gt;
|update-timestamp= &amp;lt;!-- After significant update: YYYYMMDD --&amp;gt;&lt;br /&gt;
|creationdate= 20120306&lt;br /&gt;
|author= kkrish&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The code is very simple and written in QML.  QtMobility API must be available on your device to execute this this code.&lt;br /&gt;
&lt;br /&gt;
'''Screen Shot:'''&lt;br /&gt;
&lt;br /&gt;
[[File:Scr000048.jpg]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
import QtMobility.sensors 1.1&lt;br /&gt;
&lt;br /&gt;
    Accelerometer{&lt;br /&gt;
        id: xMeter&lt;br /&gt;
        active: true&lt;br /&gt;
        onReadingChanged: {&lt;br /&gt;
            console.log(&amp;quot;=====onReadingChanged=========&amp;quot;);&lt;br /&gt;
            xVal = reading.x&lt;br /&gt;
            yVal = reading.y&lt;br /&gt;
            zVal = reading.z&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kkrish</name></author>	</entry>

	</feed>