some minor updates
authorDonghyun Lee <dh0922.lee@samsung.com>
Thu, 22 Oct 2015 02:26:44 +0000 (11:26 +0900)
committerDonghyun Lee <dh0922.lee@samsung.com>
Thu, 22 Oct 2015 02:27:10 +0000 (11:27 +0900)
15 files changed:
org.tizen.devtools/html/native_tools/command_line_interface_n.htm
org.tizen.devtools/html/web_tools/command_line_interface_w.htm
org.tizen.gettingstarted/html/native/details/app_filtering_n.htm
org.tizen.tutorials/html/native/app_framework/alarm_tutorial_n.htm
org.tizen.tutorials/html/native/multimedia/openal_tutorial_n.htm
org.tizen.tutorials/html/native/uix/voicecontrol_elm_tutorial_n.htm
org.tizen.tutorials/html/native/uix/voicecontrol_tutorial_n.htm
org.tizen.ui.practices/html/native/efl/component_calendar_mn.htm
org.tizen.ui.practices/html/native/efl/component_gengrid_mn.htm
org.tizen.ui.practices/html/native/efl/component_genlist_mn.htm
org.tizen.ui.practices/html/native/efl/component_index_mn.htm
org.tizen.ui.practices/html/native/efl/edc_part_block_n.htm
org.tizen.ui.practices/html/native/efl/menu_tutorial_mn.htm
org.tizen.ui.practices/html/web/tau/tau_porting_w.htm
org.tizen.ui.practices/html/web/w3c/ui_layout_ww.htm

index 4cd426c..8dc901e 100644 (file)
@@ -75,7 +75,7 @@ export PATH=$PATH:$&lt;TIZEN_SDK_HOME&gt;/tools/ide/bin
      <td><span style="font-family: Courier New,Courier,monospace">tizen cli-config</span> </td> 
      <td> 
 <pre class="prettyprint">
-<strong>tizen cli-config</strong> [-g] &lt;key&gt;=&lt;value&gt;
+<strong>tizen cli-config</strong> [-g &lt;key&gt;=&lt;value&gt;]
 <strong>tizen cli-config</strong> -l
 </pre>
 
index c75d4f3..b32a034 100644 (file)
@@ -77,7 +77,7 @@ export PATH=$PATH:$&lt;TIZEN_SDK_HOME&gt;/tools/ide/bin
      <td><span style="font-family: Courier New,Courier,monospace">tizen cli-config</span> </td> 
      <td> 
 <pre class="prettyprint">
-<strong>tizen cli-config</strong> [-g &lt;key&gt;=&lt;value&gt;
+<strong>tizen cli-config</strong> [-g &lt;key&gt;=&lt;value&gt;]
 <strong>tizen cli-config</strong> -l
 </pre>
 
index e1784db..9a127a4 100644 (file)
         <td>2.2.1</td>
     </tr>
 <tr>
+<td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/database.encryption</span></td>
+     <td>Specify this key, if the application requires the database encryption feature.</td>
+        <td>2.2.1</td>
+    </tr>
+<tr>
 <td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/fmradio</span></td> 
      <td>Specify this key, if the application requires an FM radio.</td> 
         <td>2.2.1</td>
         <td>2.4</td>
     </tr>      
 <tr>
+<td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/network.telephony.sms.cbs</span></td>
+     <td>Specify this key, if the application requires the SMS Cell Broadcast Service (CBS) feature.</td>
+        <td>2.2.1</td>
+    </tr>
+<tr>
 <td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/network.tethering</span></td>
      <td>Specify this key, if the application requires any kind of tethering feature.</td>
         <td>2.3</td>
         <td>2.2.1</td>
     </tr>
 <tr>
+<td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/database.encryption</span></td>
+     <td>Specify this key, if the application requires the database encryption feature.</td>
+        <td>2.2.1</td>
+    </tr>
+<tr>
 <td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/fmradio</span></td> 
      <td>Specify this key, if the application requires an FM radio.</td> 
         <td>2.2.1</td>
         <td>2.4</td>
     </tr>      
 <tr>
+<td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/network.telephony.sms.cbs</span></td>
+     <td>Specify this key, if the application requires the SMS Cell Broadcast Service (CBS) feature.</td>
+        <td>2.2.1</td>
+    </tr>
+<tr>
 <td><span style="font-family: Courier New,Courier,monospace">http://tizen.org/feature/network.tethering</span></td>
      <td>Specify this key, if the application requires any kind of tethering feature.</td>
         <td>2.3</td>
index 1d83892..9998a2a 100644 (file)
@@ -196,7 +196,7 @@ service_app_control(app_control_h app_control, void *data)
   </table> 
 
                        
-<p>The following code schedules an application control to invoke after 4 seconds (using the <span style="font-family: Courier New,Courier,monospace">date.tm_sec</span> member). Using, for example, <span style="font-family: Courier New,Courier,monospace">date.tm_mday</span>, can sest the alarm to another day of the month. Since the third parameter is set to 0, the alarm is executed only once.</p>
+<p>The following code schedules an application control to invoke after 4 seconds (using the <span style="font-family: Courier New,Courier,monospace">date.tm_sec</span> member). Using, for example, <span style="font-family: Courier New,Courier,monospace">date.tm_mday</span>, can set the alarm to another day of the month. Since the third parameter is set to 0, the alarm is executed only once.</p>
 <pre class="prettyprint">struct tm date;
 ret = alarm_get_current_time(&amp;date);
 
index 1d8e037..926b0a2 100644 (file)
         <p><img alt="Mobile native" src="../../images/mobile_s_n.png"/> <img alt="Wearable native" src="../../images/wearable_s_n.png"/></p>
     </div>
     <div id="toc_border"><div id="toc">
-         <p class="toc-title">Content</p>
+        <p class="toc-title">Content</p>
         <ul class="toc">
-                <li><a href="#init">Initializing OpenAL</a></li>
-                <li><a href="#request">Requesting a Source and Audio Buffer</a></li>
-                <li><a href="#play">Managing Audio Stream Playback</a></li>
-                               <li><a href="#buffer">Using Buffer Queuing for Stream Playback</a></li>
+            <li><a href="#init">Initializing OpenAL</a></li>
+            <li><a href="#request">Requesting a Source and Audio Buffer</a></li>
+            <li><a href="#play">Controlling Audio Stream Playback</a></li>
+            <li><a href="#buffer">Using Buffer Queuing for Stream Playback</a></li>
         </ul>
         <p class="toc-title">Related Info</p>
         <ul class="toc">
@@ -40,7 +40,7 @@
 
 <h1>OpenAL: Managing Playback Streams</h1>
 
-<p>This tutorial demonstrates how you can manage playback stream using OpenAL.</p>
+<p>This tutorial demonstrates how you can manage playback stream using OpenAL.</p>
 <p>For additional OpenAL code samples, see <a href="http://kcat.strangesoft.net/openal.html#examples" target="_blank">Example Code</a>.</p>
 
 <h2>Warm-up</h2>
     <li><a href="#init">Initializing OpenAL</a>
         <p>Initialize OpenAL for use.</p></li>
     <li><a href="#request">Requesting a Source and Audio Buffer</a>
-        <p>Request a source, and prepare and request an audio buffer.</p></li>
-    <li><a href="#play">Managing Audio Stream Playback</a>
-        <p>Play and stop the playback.</p></li>
-       <li><a href="#buffer">Using Buffer Queuing for Stream Playback</a>
-        <p>Queue one or multiple buffers to be used as a streamed audio source.</p></li>       
+        <p>Request a source, and request and prepare an audio buffer.</p></li>
+    <li><a href="#play">Controlling Audio Stream Playback</a>
+        <p>Start and stop playback.</p></li>
+    <li><a href="#buffer">Using Buffer Queuing for Stream Playback</a>
+        <p>Queue one or more buffers to be used for a streamed audio source.</p></li>
 </ul>
 
 <h2 id="init" name="init">Initializing OpenAL</h2>
@@ -72,9 +72,8 @@
 </li>
 
 <li>
-<p>Get and open the default device.</p>
-<p>To retrieve available devices, verify that a given extension is available, query the available device list, and open it.</p>
-<p>To get the available device list, use the <span style="font-family: Courier New,Courier,monospace;">alcGetString()</span> string query function.</p>
+<p>Retrieve the default device name, and open the default device.</p>
+<p>The following example code verifies that a given extension is available, retrieves the names of all available devices and the name of the default device using the <span style="font-family: Courier New,Courier,monospace;">alcGetString()</span> function, and opens the default device using the <span style="font-family: Courier New,Courier,monospace;">alcOpenDevice()</span> function:</p>
 <pre class="prettyprint">
 // Verify that a given extension is available for the current context
 enumeration = alcIsExtensionPresent(NULL, &quot;ALC_ENUMERATION_EXT&quot;);
@@ -83,11 +82,12 @@ if (enumeration == AL_FALSE)
 &nbsp;&nbsp;&nbsp;LOGI(&quot;[%s] enumeration extension not available&quot;, __func__);
 }
 
-// Return a list of available devices
-// Each device name is separated by a single NULL character and the list is terminated with 2 NULL characters
+// Retrieve a list of available devices
+// Each device name is separated by a single NULL character
+// and the list is terminated with 2 NULL characters
 deviceNameList = alcGetString(NULL, ALC_DEVICE_SPECIFIER));
 
-// Get a default device name
+// Retrieve the default device name
 defaultDeviceName = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
 
 // Open the default device
@@ -95,17 +95,17 @@ device = alcOpenDevice(defaultDeviceName);
 if (!device)
 {
 &nbsp;&nbsp;&nbsp;LOGI(&quot;[%s] unable to open default device&quot;, __func__);
-  
+
 &nbsp;&nbsp;&nbsp;return;
 }
 
 LOGI(&quot;[%s] Device : %s &quot;, __func__, alcGetString(device, ALC_DEVICE_SPECIFIER));
 </pre>
-<p>With the default device name, the <span style="font-family: Courier New,Courier,monospace;">alcOpenDevice()</span> function opens the audio device through the pulseaudio layer.</p>
+<p>The <span style="font-family: Courier New,Courier,monospace;">alcOpenDevice()</span> function opens the audio device through the pulseaudio layer.</p>
 </li>
 
 <li>
-<p>If the device is opened successfully, create a context using the <span style="font-family: Courier New,Courier,monospace;">alcCreateContext()</span> function and set the active context using the <span style="font-family: Courier New,Courier,monospace;">alcMakeContextCurrent()</span> with the device. Once the device is associated with a current context, the AL commands are applied to that context.</p>
+<p>If the device is opened successfully, create a context for the device using the <span style="font-family: Courier New,Courier,monospace;">alcCreateContext()</span> function, and set the context as active using the <span style="font-family: Courier New,Courier,monospace;">alcMakeContextCurrent()</span> function:</p>
 
 <pre class="prettyprint">
 // Create context
@@ -114,7 +114,7 @@ if (context == NULL)
 {
 &nbsp;&nbsp;&nbsp;alcCloseDevice(device);
 &nbsp;&nbsp;&nbsp;LOGI(&quot;[%s] failed to create context&quot;, __func__);
-  
+
 &nbsp;&nbsp;&nbsp;return;
 }
 
@@ -124,20 +124,22 @@ if (!alcMakeContextCurrent(context))
 &nbsp;&nbsp;&nbsp;alcDestroyContext(context);
 &nbsp;&nbsp;&nbsp;alcCloseDevice(device);
 &nbsp;&nbsp;&nbsp;LOGI(&quot;[%s] failed to make default context&quot;, __func__);
-  
+
 &nbsp;&nbsp;&nbsp;return;
 }
 </pre>
+<p>Once the device is associated with an active context, the AL commands are applied to that context.</p>
 </li>
 </ol>
 
 <h2 id="request" name="request">Requesting a Source and Audio Buffer</h2>
 
+<p>Playback requires a source object for controlling the playback, and a buffer object for storing the audio data to be played.</p>
 <p>To request a source and audio buffer:</p>
 
 <ol>
 <li>
-<p>You must control sound playing through a source object. Request a source using the <span style="font-family: Courier New,Courier,monospace;">alSources()</span> function and update the source attributes (such as the default gain and sound position).</p>
+<p>Request the source using the <span style="font-family: Courier New,Courier,monospace;">alSources()</span> function, and update the source attributes, such as the default gain and sound position:</p>
 
 <pre class="prettyprint">
 // Request a source name
@@ -152,8 +154,7 @@ alSource3f(source, AL_POSITION, 0, 0, 0);
 </li>
 
 <li>
-<p>Request a buffer and specify the allocated PCM buffer and size.</p>
-<p>In this example, to read the WAV file from file system, the <span style="font-family: Courier New,Courier,monospace;">_data_buffer</span> heap memory is allocated using the <span style="font-family: Courier New,Courier,monospace;">malloc()</span> function. The <span style="font-family: Courier New,Courier,monospace;">dataSize</span> parameter defines the amount of data to be buffered.</p>
+<p>Request the audio buffer, and specify the allocated PCM buffer and size:</p>
 
 <pre class="prettyprint">
 // Request a buffer name
@@ -166,7 +167,9 @@ ALenum format = AL_FORMAT_MONO8;
 alBufferData(buffer, format, _data_buffer, dataSize, frequency);
 </pre>
 
-<p>The following table defines the supported audio sample formats.</p>
+<p>In the above example code, the <span style="font-family: Courier New,Courier,monospace;">_data_buffer</span> parameter points to the audio sample data. The memory for the data has been allocated using the <span style="font-family: Courier New,Courier,monospace;">malloc()</span> function. The <span style="font-family: Courier New,Courier,monospace;">dataSize</span> parameter defines the amount of data to be buffered.</p>
+
+<p>The following table lists the supported audio sample formats:</p>
 
 <table>
 <caption>Table: Supported audio sample formats</caption>
@@ -195,45 +198,44 @@ alBufferData(buffer, format, _data_buffer, dataSize, frequency);
 </li>
 </ol>
 
-<h2 id="play" name="play">Managing Audio Stream Playback</h2>
+<h2 id="play" name="play">Controlling Audio Stream Playback</h2>
 
-<p>You can manage the playback through the following state transition commands:</p>
+<p>To control the playback, use the following state transition functions:</p>
 <ul>
-<li><span style="font-family: Courier New,Courier,monospace;">alSourcePlay(ALuint sName)</span>: Play, replay, or resume a source</li>
-<li><span style="font-family: Courier New,Courier,monospace;">alSourceStop(ALuint sName)</span>: Stop a list of sources</li>
-<li><span style="font-family: Courier New,Courier,monospace;">alSourceRewind(ALuint sName)</span>: Rewind a source (set the playback position to the beginning)</li>
-<li><span style="font-family: Courier New,Courier,monospace;">alSourcePause(ALuint sName)</span>: Pause a source</li></ul>
-
+<li><span style="font-family: Courier New,Courier,monospace;">alSourcePlay()</span>: Play, replay, or resume a source.</li>
+<li><span style="font-family: Courier New,Courier,monospace;">alSourceStop()</span>: Stop one or more sources.</li>
+<li><span style="font-family: Courier New,Courier,monospace;">alSourceRewind()</span>: Rewind a source (set the playback position to the beginning).</li>
+<li><span style="font-family: Courier New,Courier,monospace;">alSourcePause()</span>: Pause a source.</li></ul>
 
-<p>To play or stop the audio stream:</p>
+<p>To start and stop playback:</p>
 
 <ol>
 <li>
-<p>To play the audio stream, implement the start event of the playback action (for example, a start button click)</p>
-<p>In this example, the whole audio buffer is allocated and filled before the playback starts using the <span style="font-family: Courier New,Courier,monospace;">alSourcei()</span> function. The second parameter specifies the source type as static. Start the audio playback right after changing the state to play.</p>
+<p>To play the audio stream, implement the start event of the playback action (for example, a start button click).</p>
+<p>In the following example code, the whole audio buffer is allocated and filled before the playback starts using the <span style="font-family: Courier New,Courier,monospace;">alSourcei()</span> function. The second parameter specifies the source type as static. Start the playback after changing the state to play.</p>
 
 <pre class="prettyprint">
 // Function: _on_click1()
 // Source specifies the current buffer object
 alSourcei(source, AL_BUFFER, buffer);
 
-// Change state to play
+// Change the state to play
 alSourcePlay(source);
 </pre>
 </li>
 
 <li>
-<p>When a stop event is triggered, change the playback state to stop to end the audio playback:</p>
+<p>When a stop event is triggered, change the playback state to stop to end the playback:</p>
 
 <pre class="prettyprint">
 // Function: _on_click2()
-// Change state to stop
+// Change the state to stop
 alSourceStop(source);
 </pre>
 </li>
 
 <li>
-<p>When the playback is finished, release the resources. Clean up the source, buffer, context, and device:</p>
+<p>When the playback is finished, release the resources by cleaning up the source, buffer, context, and device:</p>
 
 <pre class="prettyprint">
 alDeleteSources(1, &amp;source);
@@ -248,13 +250,13 @@ alcCloseDevice(device);
 
 <h2 id="buffer" name="buffer">Using Buffer Queuing for Stream Playback</h2>
 
-<p>OpenAL provides a buffer queuing method for the streamed audio source, in which one or more buffers can be queued and dequeued after consumed:</p>
-
+<p>OpenAL provides a buffer queuing method for the streamed audio source, in which one or more buffers can be queued and dequeued after consumed.</p>
 
+<p>To queue and play multiple buffers:</p>
 
 <ol>
 <li>
-<p>Multiple buffers (or one buffer) must be submitted before you can start the playback:</p>
+<p>Submit one or more buffers before starting the playback:</p>
 
 <pre class="prettyprint">
 #define DATA_CHUNK_SIZE (1024)
@@ -275,12 +277,11 @@ for (iLoop = 0; iLoop &lt; 4; iLoop++)
 </li>
 
 <li>
-<p>Start the playback stream and push the buffer (for example, 1024 bytes) periodically on click events.</p>
-<p>If a loop detects a number of consumed buffers (<span style="font-family: Courier New,Courier,monospace;">iBuffersProcessed</span>) by querying <span style="font-family: Courier New,Courier,monospace;">AL_BUFFERS_PROCESSED</span>, unqueue the consumed buffer with the <span style="font-family: Courier New,Courier,monospace;">alSourceUnqueueBuffers()</span> function. Fill and queue again with the <span style="font-family: Courier New,Courier,monospace;">alSourceQueueBuffers()</span> function to keep the playback going.</p>
-<p>Run the loop in a thread separate from the application main thread.</p>
+<p>Start the playback stream, and push the buffer (for example, 1024 bytes) periodically on click events.</p>
+<p>If a loop detects a consumed buffer (<span style="font-family: Courier New,Courier,monospace;">iBuffersProcessed</span>) by querying <span style="font-family: Courier New,Courier,monospace;">AL_BUFFERS_PROCESSED</span>, dequeue the consumed buffer using the <span style="font-family: Courier New,Courier,monospace;">alSourceUnqueueBuffers()</span> function. To continue the playback, fill and queue the buffer again using the <span style="font-family: Courier New,Courier,monospace;">alSourceQueueBuffers()</span> function. Run the loop in a thread separate from the application main thread.</p>
 
 <pre class="prettyprint">
-// Start to play streamed audio
+// Start playing the streamed audio
 alSourcePlay(source);
 LOGI(&quot;[%s] alSourcePlay&quot;, __func__);
 
@@ -288,18 +289,18 @@ LOGI(&quot;[%s] alSourcePlay&quot;, __func__);
 iBuffersProcessed = 0;
 while (!thread_finish)
 {
-&nbsp;&nbsp;&nbsp;usleep(10 * 1000);  // Sleep 10 msec periodically
+&nbsp;&nbsp;&nbsp;usleep(10 * 1000); // Sleep 10 msec periodically
 
 &nbsp;&nbsp;&nbsp;alGetSourcei(source, AL_BUFFERS_PROCESSED, &amp;iBuffersProcessed);
 
 &nbsp;&nbsp;&nbsp;iTotalBuffersProcessed += iBuffersProcessed;
 &nbsp;&nbsp;&nbsp;ALOGI(&quot;Buffers Processed %d&quot;, iTotalBuffersProcessed);
 
-&nbsp;&nbsp;&nbsp;// For each processed buffer, remove it from the source queue, read next chunk of audio
-&nbsp;&nbsp;&nbsp;// data from disk, fill buffer with new data, and add it to the source queue
+&nbsp;&nbsp;&nbsp;// For each processed buffer, remove it from the source queue, read the next chunk of
+&nbsp;&nbsp;&nbsp;// audio data from the file, fill the buffer with new data, and add it to the source queue
 &nbsp;&nbsp;&nbsp;while (iBuffersProcessed)
 &nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Remove the buffer from the queue (uiBuffer contains the buffer ID for the unqueued buffer)
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Remove the buffer from the queue (uiBuffer contains the buffer ID for the dequeued buffer)
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uiBuffer = 0;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alSourceUnqueueBuffers(source, 1, &amp;uiBuffer);
 
@@ -307,7 +308,7 @@ while (!thread_finish)
 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Copy audio data to buffer
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alBufferData(uiBuffer, AL_FORMAT_MONO8, pData, DATA_CHUNK_SIZE, 22050);
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Insert audio buffer to source queue
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;// Insert the audio buffer to the source queue
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alSourceQueueBuffers(source, 1, &amp;uiBuffer);
 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;iBuffersProcessed--;
index a005792..7acc75c 100644 (file)
@@ -149,12 +149,12 @@ void language_changed_cb(const char *previous, const char *current, void* user_d
 { 
 &nbsp;&nbsp;&nbsp;if (&quot;en_US&quot; == current) 
 &nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command(handler, &quot;button&quot;);;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command(handler, &quot;button&quot;);
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command_hint(handler, &quot;button&quot;);
 &nbsp;&nbsp;&nbsp;}
 &nbsp;&nbsp;&nbsp;else if (&quot;ko_KR&quot; = current) 
 &nbsp;&nbsp;&nbsp;{
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command(handler, &quot;버튼&quot;);;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command(handler, &quot;버튼&quot;);
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vc_elm_set_command_hint(handler, &quot;버튼&quot;);
 &nbsp;&nbsp;&nbsp;}
 }
index f782e33..3727554 100644 (file)
@@ -268,7 +268,7 @@ void __result_cb(vc_result_event_e event, vc_cmd_list_h vc_cmd_list, const char*
 &nbsp;&nbsp;&nbsp;int type = 0;
 &nbsp;&nbsp;&nbsp;char* cmd = NULL;
 &nbsp;&nbsp;&nbsp;vc_cmd_h result_command = NULL;
-&nbsp;&nbsp;&nbsp;for (i = 0;i &lt; count;i++) 
+&nbsp;&nbsp;&nbsp;for (i = 0; i &lt; count; i++) 
 &nbsp;&nbsp;&nbsp;{
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result_command = NULL;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ret = vc_cmd_list_get_current(vc_cmd_list, &amp;result_command);
index a0a7eb8..e718a69 100644 (file)
@@ -71,7 +71,7 @@ elm_calendar_selected_time_set(calendar, gmtime(&amp;the_time));
 elm_calendar_first_day_of_week_set(calendar, ELM_DAY_MONDAY);
 </pre></li>
 
-<li><p>To modify the names of the weekdays, use the <span style="font-family: Courier New,Courier,monospace">elm_calcendar_weekdays_names_set()</span> function:</p>
+<li><p>To modify the names of the weekdays, use the <span style="font-family: Courier New,Courier,monospace">elm_calendar_weekdays_names_set()</span> function:</p>
 <pre class="prettyprint">
 const char *weekname[7] = {&quot;A&quot;, &quot;B&quot;, &quot;C&quot;, &quot;D&quot;, &quot;E&quot;, &quot;F&quot;, &quot;G&quot;};
 elm_calendar_weekdays_names_set(calendar, &amp;weekname);
index 5a34715..4db9db8 100644 (file)
@@ -178,9 +178,9 @@ elm_gengrid_multi_select_set(gengrid, EINA_TRUE);
 
 <p>When the content of an item changes, you can call the <span style="font-family: Courier New,Courier,monospace">elm_gengrid_item_update()</span> function to ask the gengrid to update this item. The gengrid re-realizes the item and calls the functions in the <span style="font-family: Courier New,Courier,monospace">_Elm_Gengrid_Item_Class</span> for it.</p>
 <p>If you want to change some parts of the items, you can also use the <span style="font-family: Courier New,Courier,monospace">elm_gengrid_item_fields_update()</span> function for the specific parts:</p>
-<ul><li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FEILD_TEXT</span></li>
-<li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FEILD_CONTENT</span></li>
-<li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FEILD_STATE</span></li></ul>
+<ul><li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FIELD_TEXT</span></li>
+<li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FIELD_CONTENT</span></li>
+<li><span style="font-family: Courier New,Courier,monospace">ELM_GENGRID_ITEM_FIELD_STATE</span></li></ul>
 
 
 <p>It is also possible to select or disable some items manually with the <span style="font-family: Courier New,Courier,monospace">elm_gengrid_item_selected_set()</span> and <span style="font-family: Courier New,Courier,monospace">elm_object_item_disabled_set()</span> functions.</p>
@@ -209,7 +209,7 @@ elm_gengrid_multi_select_set(gengrid, EINA_TRUE);
    <li><span style="font-family: Courier New,Courier,monospace">scroll</span>: The content is scrolled (moved).</li>
    <li><span style="font-family: Courier New,Courier,monospace">scroll,drag,start</span>: Dragging the content starts.</li>
    <li><span style="font-family: Courier New,Courier,monospace">scroll,drag,stop</span>: Dragging the content stops.</li>
-   <li><span style="font-family: Courier New,Courier,monospace">scroll,page,changed</span>: Dragging changes the page.</li>
+   <li><span style="font-family: Courier New,Courier,monospace">scroll,page,changed</span>: The visible page changes.</li>
    <li><span style="font-family: Courier New,Courier,monospace">edge,top</span>: The gengrid is scrolled to the top edge.</li>
    <li><span style="font-family: Courier New,Courier,monospace">edge,bottom</span>: The gengrid is scrolled to the bottom edge.</li>
    <li><span style="font-family: Courier New,Courier,monospace">edge,left</span>: The gengrid is scrolled to the left edge.</li>
index 0eb87e2..528d52b 100644 (file)
@@ -296,7 +296,7 @@ select_cb(void *data, Evas_Object *obj, void *event_info)
 
 <p>By default, the genlist is in single-selection mode: only one item can be selected at a time. You can use <span style="font-family: Courier New,Courier,monospace">elm_genlist_multi_select_set()</span> to select multiple items. In the single-selection mode, the <span style="font-family: Courier New,Courier,monospace">elm_genlist_selected_item_get()</span> function can be called to retrieve the selected item. If several items are selected, the <span style="font-family: Courier New,Courier,monospace">elm_genlist_selected_items_get()</span> returns a list of the currently selected items.</p>
 
-<p>In the following figure, there is a genlist in multi-selection mode with two items selected (#4 and #5) and one item disabled (#2).</p>
+<p>In the following figure, the 3rd item is disabled and 5th and 6th item are selected in the multi-selection mode. (The check component works independently of the genlist item; unless it receives an event directly, you must change its state manually in the <span style="font-family: Courier New,Courier,monospace">selected</span> callback of the genlist item.)</p>
 
 <p class="figure">Figure: Genlist item selection highlight</p> 
 <p align="center"> <img alt="Genlist item selection highlight" src="../../images/genlist_multi.png"/> </p> 
index da35f52..58d77d4 100644 (file)
@@ -85,7 +85,7 @@ elm_index_horizontal_set(index, EINA_TRUE);
 </pre>
 <p>The autohide feature is enabled by default. Autohide can be disabled with the <span style="font-family: Courier New,Courier,monospace">elm_index_autohide_disabled_set()</span> function:</p>
 <pre class="prettyprint">
-elm_index_autohide_disabled_set(index, EINA_TURE);
+elm_index_autohide_disabled_set(index, EINA_TRUE);
 </pre>
 
 <h2 id="items">Adding Items</h2>
index c613e64..77f83c9 100644 (file)
@@ -1182,7 +1182,7 @@ box/table
 </li>
 
 <li id="box_table_items_item_spread"><span style="font-family: Courier New,Courier,monospace;">spread [width] [height]</span>
-<p>Replicates the item in a rectangle of size (width x height) box starting from the defined position of this item. The default value is 1 1;.</p>
+<p>Replicates the item in a rectangle of size (width x height) box starting from the defined position of this item. The default value is 1 1.</p>
 </li>
 
 <li id="box_table_items_item_prefer"><span style="font-family: Courier New,Courier,monospace;">prefer [width] [height]</span>
index 7287e25..bcd89c4 100644 (file)
@@ -461,7 +461,7 @@ _build_main_view(appdata_s *ad)
 &nbsp;&nbsp;&nbsp;evas_object_size_hint_weight_set(view-&gt;img, EVAS_HINT_FILL, EVAS_HINT_FILL);
 &nbsp;&nbsp;&nbsp;evas_object_size_hint_align_set(view-&gt;img, 0.5, 0.5);
 &nbsp;&nbsp;&nbsp;evas_object_size_hint_min_set(view-&gt;img, 256, 256);
-&nbsp;&nbsp;&nbsp;;snprintf(buf, sizeof(buf), &quot;%s/%s&quot;, ICON_DIR, &quot;tizen-logo.png&quot;);
+&nbsp;&nbsp;&nbsp;snprintf(buf, sizeof(buf), &quot;%s/%s&quot;, ICON_DIR, &quot;tizen-logo.png&quot;);
 &nbsp;&nbsp;&nbsp;if (!elm_image_file_set(view-&gt;img, buf, NULL))
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;elm_object_text_set(view-&gt;lb_day, &quot;Problem loading image&quot;);
 &nbsp;&nbsp;&nbsp;elm_box_pack_start(view-&gt;box, view-&gt;img);
index a78c928..bb07418 100644 (file)
@@ -59,9 +59,9 @@
 &nbsp;&nbsp;&nbsp;&lt;head&gt;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;../lib/tau/mobile/js/tau.js&quot;&gt;&lt;/script&gt;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;script&nbsp;type=&quot;text/javascript&quot;&nbsp;src=&quot;../lib/tau/mobile/js/tau.support-2.3.js&quot;&gt;&lt;/script&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;&nbsp;href=&quot;../lib/tau/mobile/theme/default/tau.css&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;&nbsp;href=&quot;../lib/tau/mobile/theme/default/tau.support-2.3.css&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;&nbsp;href=&quot;css/custom.css&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;href=&quot;../lib/tau/mobile/theme/default/tau.css&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;href=&quot;../lib/tau/mobile/theme/default/tau.support-2.3.css&quot;&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;link&nbsp;rel=&quot;stylesheet&quot;&nbsp;href=&quot;css/custom.css&quot;&gt;
 &nbsp;&nbsp;&nbsp;&lt;/head&gt;
 &lt;/html&gt;
 </pre>
 
 &lt;script&gt;
 &nbsp;&nbsp;&nbsp;var&nbsp;collapsibleElement&nbsp;=&nbsp;document.getElementById(&quot;collapsible&quot;),
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collapsible&nbsp;=&nbsp;tau.widget.Collapsible(collapsibleElement);l
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;collapsible&nbsp;=&nbsp;tau.widget.Collapsible(collapsibleElement);
 &lt;/script&gt;
 </pre>
 
index 0779a7f..35e7601 100644 (file)
@@ -479,7 +479,7 @@ html, body {width: 100%; height: 100%; overflow-x: hidden;}
 &lt;section id=&quot;main&quot;&gt;
 &nbsp;&nbsp;&nbsp;&lt;header&gt;HEADER&lt;/header&gt;
 &nbsp;&nbsp;&nbsp;&lt;article id=&quot;content&quot;&gt;
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lt;ul&gt;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;List Item 1&lt;/li&gt;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;List Item 2&lt;/li&gt;
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;List Item 3&lt;/li&gt;
@@ -634,7 +634,7 @@ header, footer
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page = document.getElementById(&quot;main&quot;),
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scrollPosition = window.parseInt(window.getComputedStyle(page)[&quot;padding-top&quot;]),
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initScrollTimeoutId = null,
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mql = window.matchMedia(&quot;(-tizen-geometric-shape: circle)&quot;);;
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mql = window.matchMedia(&quot;(-tizen-geometric-shape: circle)&quot;);
 
 &nbsp;&nbsp;&nbsp;/* The effect is applied to a circular device only, so use mediaquery */
 &nbsp;&nbsp;&nbsp;if (mql.matches)