<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Kannabiran's Weblog</title>
	<atom:link href="http://moblieappdevelopers.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://moblieappdevelopers.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 18 Jul 2008 13:14:49 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='moblieappdevelopers.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/cb8db42d8de38004f6f94c9ab0a310f5?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Kannabiran's Weblog</title>
		<link>http://moblieappdevelopers.wordpress.com</link>
	</image>
			<item>
		<title>Creating and adding an icon to an S60 3rd Edition application</title>
		<link>http://moblieappdevelopers.wordpress.com/2008/07/18/creating-and-adding-an-icon-to-an-s60-3rd-edition-application/</link>
		<comments>http://moblieappdevelopers.wordpress.com/2008/07/18/creating-and-adding-an-icon-to-an-s60-3rd-edition-application/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 13:14:49 +0000</pubDate>
		<dc:creator>kanna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Sample codes]]></category>
		<category><![CDATA[Symbian c++]]></category>

		<guid isPermaLink="false">http://moblieappdevelopers.wordpress.com/?p=12</guid>
		<description><![CDATA[Overview
This code example describes how to create and add an icon to an S60 3rd Edition application. 
In order to create SVG icons, you must have a suitable graphics editor, for example, Inkscape. 
This snippet can be self-signed. 
Steps
1. Create an SVG icon on a 48-x-48-pixel canvas. You can test the icon by building the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=12&subd=moblieappdevelopers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2 class="western"><span style="color:#000000;"><span style="font-size:large;"><strong>Overview</strong></span></span></h2>
<p><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">This code example describes how to create and add an icon to an S60 3rd Edition application. </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">In order to create SVG icons, you must have a suitable graphics editor, for example, Inkscape. </span></span></p>
<p><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">This snippet can be self-signed. </span></span></p>
<h2 class="western"><a name="Steps"></a>Steps</h2>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">1. Create an SVG icon on a 48-x-48-pixel canvas. You can test the icon by building the HelloWorldBasic application (in </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">S60Ex</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> directory under the SDK) with your own icon. </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">2. Save the icon in the </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">gfx</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> folder of your application according to the standard Symbian directory structure guidelines. </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">3. Create </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">group\icons_scalable_dc.mk</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> to automatically convert the icon to a Symbian .mif file whenever the application is compiled: </span></span></p>
<pre><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">ifeq (WINS,$(findstring WINS, $(PLATFORM)))</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">else</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">ZDIR=$(EPOCROOT)epoc32\data\z</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">endif</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">TARGETDIR=$(ZDIR)\resource\apps</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">ICONTARGETFILENAME=$(TARGETDIR)\Application_aif.mif</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">ICONDIR=..\gfx</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">do_nothing :</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">@rem do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">MAKMAKE : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">BLD : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">CLEAN : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">LIB : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">CLEANLIB : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">RESOURCE :</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">mifconv $(ICONTARGETFILENAME) \</span></span>
        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">/c32 $(ICONDIR)\icon.svg</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">FREEZE : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">SAVESPACE : do_nothing</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">RELEASABLES :</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">@echo $(ICONTARGETFILENAME)</span></span>

<span style="color:#000000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><span lang="en-US">FINAL : do_nothing</span></span></span></span></pre>
<p><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><strong>Note:</strong> When editing the makefile, make sure that you use tabulators instead of spaces. (Otherwise you get the error: &#8220;ICONS_SCALABLE_DC.MK:25: *** missing separator. Stop.&#8221;) </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">4. Edit </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">group\bld.inf</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> to contain the makefile created above: </span></span></p>
<pre><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">#ifdef EKA2 //3rd Edition</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">gnumakefile icons_scalable_dc.mk</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">Application_S60_3rd_ed.mmp</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">#else       //1st and 2nd Edition</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">Application_S60_2nd_ed.mmp</span></span>
<span style="color:#000000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><span lang="en-US">#endif</span></span></span></span></pre>
<p><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><strong>Note:</strong> Remember to run &#8220;bldmake bldfiles&#8221; after editing the bld.inf file. </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">5. Edit the resource file of your application (</span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">data\[app].rss</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">) to contain the icon: </span></span></p>
<pre><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">#include &lt;appinfo.rh&gt;</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">#include "Application.rls"</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">// ----------------------------------------------------------------------------</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">//</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">// r_application_localisable_app_info</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">//</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">// ----------------------------------------------------------------------------</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">RESOURCE LOCALISABLE_APP_INFO r_application_localisable_app_info</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">{</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">short_caption = STRING_r_app_caption_string;</span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">caption_and_icon = </span></span>
    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">CAPTION_AND_ICON_INFO</span></span>
        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">{</span></span>
        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">caption = STRING_r_app_caption_string;</span></span>

        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">number_of_icons = 1;</span></span>
        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">icon_file = "\\resource\\apps\\Application_aif.mif";</span></span>
        <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">};</span></span>
<span style="color:#000000;">    <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><span lang="en-US">}</span></span></span></span></pre>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"><strong>Note:</strong> The localizable application information presented above is often located in </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">data\[app]_loc.rss</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> file. Experience has shown that an icon may not always show on the device if it is declared in the loc.rss file. If you decide to use .rss instead of loc.rss, make sure that you remove all references to loc.rss (especially the </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">localisable_resource_file</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> declaration in </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">APP_REGISTRATION_INFO</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> resource in </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">data\[app]_reg.rss</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> and </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">RESOURCE</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> section in </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">group\[app].mmp</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">). </span></span></p>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"><strong>Note:</strong> Ensure that </span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">App_reg.rss</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;"> file contains a reference to the localizable application information: </span></span></p>
<pre style="margin-bottom:0.2in;"><span style="color:#000000;"><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">localisable_resource_id = R_APPLICATION_LOCALISABLE_APP_INFO;</span></span></span></pre>
<p><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">6. Edit the pkg file (</span></span><tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">sis\[app].pkg</span></span></tt><span style="font-size:small;"><span style="font-family:Verdana,sans-serif;">): </span></span></p>
<pre><span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">;Language - standard language definitions</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">&amp;EN,FI</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">{</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\apps\Application.rsc"</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\apps\Application.R09"</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">} -"!:\resource\apps\Application.rsc"</span></span>

<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">;Icon resources</span></span>
<span style="font-family:Verdana,sans-serif;"><span style="font-size:small;">"\Symbian\9.2\S60_3rd_FP1\Epoc32\Data\z\resource\apps\Application_aif.mif"</span></span>
<span style="color:#000000;">  <span style="font-family:Verdana,sans-serif;"><span style="font-size:small;"><span lang="en-US">-"!:\resource\apps\Application_aif.mif"</span></span></span></span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/moblieappdevelopers.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/moblieappdevelopers.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moblieappdevelopers.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moblieappdevelopers.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moblieappdevelopers.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moblieappdevelopers.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moblieappdevelopers.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moblieappdevelopers.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moblieappdevelopers.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moblieappdevelopers.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moblieappdevelopers.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moblieappdevelopers.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=12&subd=moblieappdevelopers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://moblieappdevelopers.wordpress.com/2008/07/18/creating-and-adding-an-icon-to-an-s60-3rd-edition-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fef7bbea062b8c2ccce1aedce895f171?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kanna</media:title>
		</media:content>
	</item>
		<item>
		<title>Showing a manufacturer disclaimer during the first launch</title>
		<link>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-the-first-launch/</link>
		<comments>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-the-first-launch/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 13:06:44 +0000</pubDate>
		<dc:creator>kanna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code samples]]></category>
		<category><![CDATA[Symbian c++]]></category>

		<guid isPermaLink="false">http://moblieappdevelopers.wordpress.com/?p=8</guid>
		<description><![CDATA[Overview
This code snippet demonstrates how to display a manufacturer disclaimer when an application is launched for the first time. This behavior is required at least for VoIP applications that are meant to be sent to Symbian for signing. 
In practice, the requested behavior is implemented by deleting the disclaimer file after it has been accepted [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=8&subd=moblieappdevelopers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2 class="western"><span style="font-size:large;"><strong>Overview</strong></span></h2>
<p><span style="font-size:small;">This code snippet demonstrates how to display a manufacturer disclaimer when an application is launched for the first time. This behavior is required at least for VoIP applications that are meant to be sent to Symbian for signing. </span></p>
<p><span style="font-size:small;">In practice, the requested behavior is implemented by deleting the disclaimer file after it has been accepted for the first time. Every time the application is run, it is checked whether or not the file exists. </span></p>
<p style="text-align:left;"><span style="font-size:small;">This snippet can be self-signed.</span></p>
<h2 class="western">data\disclaimer.txt</h2>
<p><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">Here is an example of the disclaimer text by Symbian for VoIP applications: </span></span></p>
<pre><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">You are about to use &lt;APPLICATION NAME&gt;, which is</span></span>
<span style="font-family:Times New Roman,serif;"><span style="font-size:small;">developed and owned by &lt;YOUR COMPANY NAME&gt;. The</span></span>
<span style="font-family:Times New Roman,serif;"><span style="font-size:small;">manufacturer of this device shall have no liability for</span></span>
<span style="font-family:Times New Roman,serif;"><span style="font-size:small;">any aspect of the application whatsoever, including its</span></span>
<span style="font-family:Times New Roman,serif;"><span style="font-size:small;">performance, call routing, intellectual property rights</span></span>
<span style="font-family:Times New Roman,serif;"><span style="font-size:small;">or support.</span></span></pre>
<h2 class="western">PKG file</h2>
<p><span style="font-size:small;">Install the disclaimer file to the device by adding the following line to the PKG file: </span></p>
<pre><span style="font-size:small;">"..\data\disclaimer.txt" - "!:\private\E9D7CF12\disclaimer.txt"</span></pre>
<h2 class="western">MMP file</h2>
<p><span style="font-size:small;">The following libraries are required: </span></p>
<pre style="margin-bottom:0.2in;"><span style="font-size:small;">LIBRARY  bafl.lib</span></pre>
<h2 class="western">RSS file</h2>
<pre><span style="font-size:small;">RESOURCE DIALOG r_disclaimer_dialog</span>
    <span style="font-size:small;">{</span>
    <span style="font-size:small;">flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;</span>
    <span style="font-size:small;">buttons = R_AVKON_SOFTKEYS_OK_CANCEL;</span>
    <span style="font-size:small;">items=</span>
        <span style="font-size:small;">{</span>
        <span style="font-size:small;">DLG_LINE</span>
            <span style="font-size:small;">{</span>
            <span style="font-size:small;">type = EAknCtPopupHeadingPane;</span>
            <span style="font-size:small;">id = EAknMessageQueryHeaderId;</span>
            <span style="font-size:small;">itemflags = EEikDlgItemNonFocusing;</span>
            <span style="font-size:small;">control = AVKON_HEADING</span>
                <span style="font-size:small;">{</span>
                <span style="font-size:small;">headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;</span>
                <span style="font-size:small;">};</span>
            <span style="font-size:small;">},</span>
        <span style="font-size:small;">DLG_LINE</span>
            <span style="font-size:small;">{</span>
            <span style="font-size:small;">type = EAknCtMessageQuery;</span>
            <span style="font-size:small;">id = EAknMessageQueryContentId;</span>
            <span style="font-size:small;">control = AVKON_MESSAGE_QUERY</span>
                <span style="font-size:small;">{</span>
                <span style="font-size:small;">};</span>
            <span style="font-size:small;">}</span>
        <span style="font-size:small;">};</span>
    <span style="font-size:small;">}</span></pre>
<h2 class="western">Header file</h2>
<pre><span style="font-size:small;"><span style="color:#0000ff;">public</span>:  <span style="color:#ff0000;">// Constructors and destructor</span></span>
        <span style="font-size:small;"><em><span style="color:#ff0000;">/**</span></em></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>* 2nd phase constructor.</em></span></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>*/</em></span></span>
        <span style="font-size:small;"><span style="color:#0000ff;">void</span> ConstructL<span style="color:#000000;">()</span>;</span>

    <span style="font-size:small;"><span style="color:#0000ff;">private</span>:  <span style="color:#ff0000;">// New methods</span></span>
        <span style="font-size:small;"><em><span style="color:#ff0000;">/**</span></em></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>* Shows the disclaimer dialog.</em></span></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>* @return ETrue if the user accepts the disclaimer; EFalse if not.</em></span></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>*/</em></span></span>
        <span style="font-size:small;">TBool ShowDisclaimerL<span style="color:#000000;">(</span>RFs&amp; aFs, <span style="color:#0000ff;">const</span> TDesC&amp; aFilename<span style="color:#000000;">)</span>;
</span>         <span style="font-size:small;"><em><span style="color:#ff0000;">/** </span></em></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>* Deletes the disclaimer file.</em></span></span>
<span style="color:#ff0000;">         <span style="font-size:small;"><em>*/</em></span></span>
        <span style="font-size:small;"><span style="color:#0000ff;">void</span> DeleteDisclaimerL<span style="color:#000000;">(</span>RFs&amp; aFs, <span style="color:#0000ff;">const</span> TDesC&amp; aFilename<span style="color:#000000;">)</span>;</span></pre>
<h2 class="western">Source file</h2>
<pre><span style="color:#339900;"><span style="font-size:small;">#include &lt;aknmessagequerydialog.h&gt;  // CAknMessageQueryDialog</span></span>
<span style="color:#339900;"><span style="font-size:small;">#include &lt;BAUTILS.H&gt; // BaflUtils</span></span>
<span style="color:#339900;"><span style="font-size:small;">#include &lt;EIKENV.H&gt;  // CEikonEnv</span></span>
<span style="font-size:small;"><span style="color:#0000ff;">void</span> CMyAppUi::<span style="color:#00eeff;">ConstructL</span><span style="color:#000000;">()</span></span>
    <span style="font-size:small;"><span style="color:#000000;">{</span></span>
    <span style="font-size:small;"><span style="color:#ff0000;">// Initialize the UI. This has to be done before the disclaimer dialog is</span></span>
    <span style="font-size:small;"><span style="color:#ff0000;">// shown.</span></span>
    <span style="font-size:small;">BaseConstructL<span style="color:#000000;">(</span>CAknAppUi::<span style="color:#00eeff;">EAknEnableSkin</span><span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Connect to the file server session</span></span>
    <span style="font-size:small;">RFs fsSession;</span>
    <span style="font-size:small;">User::<span style="color:#00eeff;">LeaveIfError</span><span style="color:#000000;">(</span>fsSession.<span style="color:#00eeff;">Connect</span><span style="color:#000000;">())</span>;</span>
    <span style="font-size:small;">CleanupClosePushL<span style="color:#000000;">(</span>fsSession<span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// The disclaimer file</span></span>
    <span style="font-size:small;">_LIT<span style="color:#000000;">(</span>KFilename, <span style="color:#666666;">"C:<strong>\\</strong>private<strong>\\</strong>E9D7CF12<strong>\\</strong>disclaimer.txt"</span><span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// If the disclaimer file exists, the application hasn't been run yet</span></span>
    <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>BaflUtils::<span style="color:#00eeff;">FileExists</span><span style="color:#000000;">(</span>fsSession, KFilename<span style="color:#000000;">))</span></span>
        <span style="font-size:small;"><span style="color:#000000;">{</span></span>
        <span style="font-size:small;"><span style="color:#ff0000;">// Show the disclaimer dialog</span></span>
        <span style="font-size:small;">TBool selectedOption;</span>
        <span style="font-size:small;">TRAPD<span style="color:#000000;">(</span>showErr, selectedOption = ShowDisclaimerL<span style="color:#000000;">(</span>fsSession, KFilename<span style="color:#000000;">))</span>;</span>
        <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>showErr != KErrNone<span style="color:#000000;">)</span></span>
            <span style="font-size:small;"><span style="color:#000000;">{</span></span>
            <span style="font-size:small;"><span style="color:#ff0000;">// TODO: Error handling</span></span>
            <span style="font-size:small;"><span style="color:#000000;">}</span></span>
        <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>!selectedOption<span style="color:#000000;">)</span></span>
            <span style="font-size:small;"><span style="color:#000000;">{</span></span>
            <span style="font-size:small;"><span style="color:#ff0000;">// The user canceled the disclaimer dialog. Exit the application.</span></span>
            <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PopAndDestroy</span><span style="color:#000000;">()</span>;  <span style="color:#ff0000;">// fsSession</span></span>
            <span style="font-size:small;"><span style="color:#0000dd;">Exit</span><span style="color:#000000;">()</span>;</span>
            <span style="font-size:small;"><span style="color:#000000;">}</span></span>
        <span style="font-size:small;"><span style="color:#0000ff;">else</span></span>
            <span style="font-size:small;"><span style="color:#000000;">{</span></span>
            <span style="font-size:small;"><span style="color:#ff0000;">// The user continued with the application launch.</span></span>
            <span style="font-size:small;"><span style="color:#ff0000;">// Delete the disclaimer file so that it won't be around the next time the</span></span>
            <span style="font-size:small;"><span style="color:#ff0000;">// application is run.    </span></span>
            <span style="font-size:small;">TRAPD<span style="color:#000000;">(</span>deleteErr, DeleteDisclaimerL<span style="color:#000000;">(</span>fsSession, KFilename<span style="color:#000000;">))</span>;</span>
            <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>deleteErr != KErrNone<span style="color:#000000;">)</span></span>
                <span style="font-size:small;"><span style="color:#000000;">{</span></span>
                <span style="font-size:small;"><span style="color:#ff0000;">// TODO: Error handling</span></span>
                <span style="font-size:small;"><span style="color:#000000;">}</span></span>
            <span style="font-size:small;"><span style="color:#000000;">}</span></span>
        <span style="font-size:small;"><span style="color:#000000;">}</span></span>

    <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PopAndDestroy</span><span style="color:#000000;">()</span>;  <span style="color:#ff0000;">// fsSession</span></span>

    <span style="font-size:small;"><span style="color:#ff0000;">// ...</span></span>
<span style="color:#000000;"><span style="font-size:small;">}</span></span>
<span style="font-size:small;">TBool CMyAppUi::<span style="color:#00eeff;">ShowDisclaimerL</span><span style="color:#000000;">(</span>RFs&amp; aFs, <span style="color:#0000ff;">const</span> TDesC&amp; aFilename<span style="color:#000000;">)</span></span>
    <span style="font-size:small;"><span style="color:#000000;">{</span></span>
    <span style="font-size:small;"><span style="color:#ff0000;">// Open the disclaimer text file</span></span>
    <span style="font-size:small;">RFile <span style="color:#0000ff;">file</span>;</span>
    <span style="font-size:small;">TInt openError = <span style="color:#0000ff;">file</span>.<span style="color:#00eeff;">Open</span><span style="color:#000000;">(</span>aFs, aFilename, EFileRead<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>openError != KErrNone<span style="color:#000000;">)</span></span>
        <span style="font-size:small;"><span style="color:#000000;">{</span></span>
        <span style="font-size:small;">_LIT<span style="color:#000000;">(</span>KErrMsg, <span style="color:#666666;">"Cannot open the disclaimer file for reading."</span><span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;">_LIT<span style="color:#000000;">(</span>KExitingApp, <span style="color:#666666;">"Exiting app."</span><span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;">CEikonEnv::<span style="color:#0000ff;">Static</span><span style="color:#000000;">()</span>-&gt;InfoWinL<span style="color:#000000;">(</span>KErrMsg, KExitingApp<span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;">User::<span style="color:#00eeff;">Leave</span><span style="color:#000000;">(</span>openError<span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;"><span style="color:#000000;">}</span></span>
    <span style="font-size:small;">CleanupClosePushL<span style="color:#000000;">(</span><span style="color:#0000ff;">file</span><span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Read file size</span></span>
    <span style="font-size:small;">TInt fileSize = <span style="color:#0000dd;">0</span>;</span>
    <span style="font-size:small;">TInt sizeError = <span style="color:#0000ff;">file</span>.<span style="color:#00eeff;">Size</span><span style="color:#000000;">(</span>fileSize<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>sizeError != KErrNone<span style="color:#000000;">)</span></span>
        <span style="font-size:small;"><span style="color:#000000;">{</span></span>
        <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PopAndDestroy</span><span style="color:#000000;">()</span>;  <span style="color:#ff0000;">// file</span></span>
        <span style="font-size:small;">User::<span style="color:#00eeff;">Leave</span><span style="color:#000000;">(</span>sizeError<span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;"><span style="color:#000000;">}</span></span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Read file contents</span></span>
    <span style="font-size:small;">HBufC8* disclaimerText8 = HBufC8::<span style="color:#00eeff;">NewLC</span><span style="color:#000000;">(</span>fileSize<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">TPtr8 disclaimerPtr = disclaimerText8-&gt;Des<span style="color:#000000;">()</span>;</span>
    <span style="font-size:small;">TInt ioError = <span style="color:#0000ff;">file</span>.<span style="color:#00eeff;">Read</span><span style="color:#000000;">(</span>disclaimerPtr, fileSize<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>ioError != KErrNone<span style="color:#000000;">)</span></span>
        <span style="font-size:small;"><span style="color:#000000;">{</span></span>
        <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PopAndDestroy</span><span style="color:#000000;">(</span><span style="color:#0000dd;">2</span><span style="color:#000000;">)</span>;  <span style="color:#ff0000;">// disclaimerText8, file</span></span>
        <span style="font-size:small;">User::<span style="color:#00eeff;">Leave</span><span style="color:#000000;">(</span>ioError<span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;"><span style="color:#000000;">}</span></span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Done with the file. Close it.</span></span>
    <span style="font-size:small;"><span style="color:#0000ff;">file</span>.<span style="color:#00eeff;">Close</span><span style="color:#000000;">()</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Convert the 8-bit disclaimer text to 16-bit</span></span>
    <span style="font-size:small;">HBufC* disclaimerText = HBufC::<span style="color:#00eeff;">NewLC</span><span style="color:#000000;">(</span>disclaimerText8-&gt;Length<span style="color:#000000;">())</span>;</span>
    <span style="font-size:small;">disclaimerText-&gt;Des<span style="color:#000000;">()</span>.<span style="color:#00eeff;">Copy</span><span style="color:#000000;">(</span>*disclaimerText8<span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;"><span style="color:#ff0000;">// Show the disclaimer dialog</span></span>
    <span style="font-size:small;">_LIT<span style="color:#000000;">(</span>KTitle, <span style="color:#666666;">"MyApplication"</span><span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">CAknMessageQueryDialog* dlg = CAknMessageQueryDialog::<span style="color:#00eeff;">NewL</span><span style="color:#000000;">(</span>*disclaimerText<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PushL</span><span style="color:#000000;">(</span>dlg<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">dlg-&gt;PrepareLC<span style="color:#000000;">(</span>R_DISCLAIMER_DIALOG<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">dlg-&gt;SetHeaderTextL<span style="color:#000000;">(</span>KTitle<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">Pop</span><span style="color:#000000;">(</span>dlg<span style="color:#000000;">)</span>;</span>

    <span style="font-size:small;">TBool result = dlg-&gt;RunLD<span style="color:#000000;">()</span>;</span>

    <span style="font-size:small;">CleanupStack::<span style="color:#00eeff;">PopAndDestroy</span><span style="color:#000000;">(</span><span style="color:#0000dd;">3</span><span style="color:#000000;">)</span>;  <span style="color:#ff0000;">// disclaimerText, disclaimerText8, file</span></span>

    <span style="font-size:small;"><span style="color:#0000ff;">return</span> result;</span>
    <span style="font-size:small;"><span style="color:#000000;">}</span></span>
<span style="font-size:small;"><span style="color:#0000ff;">void</span> CMyAppUi::<span style="color:#00eeff;">DeleteDisclaimerL</span><span style="color:#000000;">(</span>RFs&amp; aFs, <span style="color:#0000ff;">const</span> TDesC&amp; aFilename<span style="color:#000000;">)</span></span>
    <span style="font-size:small;"><span style="color:#000000;">{</span></span>
    <span style="font-size:small;"><span style="color:#ff0000;">// Delete the disclaimer file</span></span>
    <span style="font-size:small;">TInt deleteError = BaflUtils::<span style="color:#00eeff;">DeleteFile</span><span style="color:#000000;">(</span>aFs, aFilename<span style="color:#000000;">)</span>;</span>
    <span style="font-size:small;"><span style="color:#0000ff;">if</span> <span style="color:#000000;">(</span>deleteError != KErrNone<span style="color:#000000;">)</span></span>
        <span style="font-size:small;"><span style="color:#000000;">{</span></span>
        <span style="font-size:small;">User::<span style="color:#00eeff;">Leave</span><span style="color:#000000;">(</span>deleteError<span style="color:#000000;">)</span>;</span>
        <span style="font-size:small;"><span style="color:#000000;">}</span></span>
    <span style="font-size:small;"><span style="color:#000000;">}</span></span></pre>
<h2 class="western">Postconditions</h2>
<p><span style="font-size:small;">A manufacturer disclaimer is displayed when the application is launched for the first time. The user is given the option to continue with the launch or abort it. If the user decides to accept the disclaimer, the disclaimer file is deleted from the device. </span></p>
<pre>       <span style="font-size:small;">

</span></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/moblieappdevelopers.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/moblieappdevelopers.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moblieappdevelopers.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moblieappdevelopers.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moblieappdevelopers.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moblieappdevelopers.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moblieappdevelopers.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moblieappdevelopers.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moblieappdevelopers.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moblieappdevelopers.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moblieappdevelopers.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moblieappdevelopers.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=8&subd=moblieappdevelopers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-the-first-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fef7bbea062b8c2ccce1aedce895f171?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kanna</media:title>
		</media:content>
	</item>
		<item>
		<title>Showing a manufacturer disclaimer during application installation</title>
		<link>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-application-installation/</link>
		<comments>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-application-installation/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 12:58:43 +0000</pubDate>
		<dc:creator>kanna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code samples]]></category>
		<category><![CDATA[Symbian c++]]></category>

		<guid isPermaLink="false">http://moblieappdevelopers.wordpress.com/?p=6</guid>
		<description><![CDATA[Overview
This code snippet demonstrates how to display a manufacturer disclaimer when an application is being installed. This behavior is required at least for VoIP applications that are meant to be sent to Symbian for signing.
This snippet can be self-signed.
data\disclaimer.txt
This is an example of the disclaimer text by Symbian for VoIP applications:
You are about to use [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=6&subd=moblieappdevelopers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><h2 class="western"><span style="font-size:large;"><strong>Overview</strong></span></h2>
<p>This code snippet demonstrates how to display a manufacturer disclaimer when an application is being installed. This behavior is required at least for VoIP applications that are meant to be sent to Symbian for signing.</p>
<p>This snippet can be self-signed.</p>
<h2 class="western"><a name="data.5Cdisclaimer.txt"></a>data\disclaimer.txt</h2>
<p>This is an example of the disclaimer text by Symbian for VoIP applications:</p>
<pre>You are about to use &lt;APPLICATION NAME&gt;, which is
developed and owned by &lt;YOUR COMPANY NAME&gt;. The
manufacturer of this device shall have no liability for
any aspect of the application whatsoever, including its
performance, call routing, intellectual property rights
<span style="font-size:x-small;">or support.</span></pre>
<h2 class="western"><a name="PKG_file"></a>PKG file</h2>
<p>To display the disclaimer to the user, add the following line to the PKG file of your application:</p>
<pre style="margin-bottom:0.2in;"><span style="font-size:x-small;">"..\data\disclaimer.txt" - "", FILETEXT, TEXTEXIT</span></pre>
<p>The <tt>FILETEXT</tt> install option indicates that a file is to be displayed to the user during the installation procedure. The file itself is not installed on the target device (the target location is empty).</p>
<p>The <tt>TEXTEXIT</tt> install option displays a dialog box with &#8220;positive&#8221; and &#8220;negative&#8221; buttons, such as <tt>Ok</tt> and <tt>Cancel</tt>. If the dialog returns true (the user pressed <tt>Ok</tt>), the software installer continues with the installation. If the dialog returns false (the user pressed <tt>Cancel</tt>), the software installer is exited and any files that have already been installed are removed.</p>
<h2 class="western"><a name="Postconditions"></a>Postconditions</h2>
<p>A manufacturer disclaimer is displayed when the application is installed. The user is given the option to continue with the installation or abort it.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/moblieappdevelopers.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/moblieappdevelopers.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moblieappdevelopers.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moblieappdevelopers.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moblieappdevelopers.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moblieappdevelopers.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moblieappdevelopers.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moblieappdevelopers.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moblieappdevelopers.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moblieappdevelopers.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moblieappdevelopers.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moblieappdevelopers.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=6&subd=moblieappdevelopers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://moblieappdevelopers.wordpress.com/2008/07/18/showing-a-manufacturer-disclaimer-during-application-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fef7bbea062b8c2ccce1aedce895f171?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kanna</media:title>
		</media:content>
	</item>
		<item>
		<title>Best BlackBerry Shortcuts</title>
		<link>http://moblieappdevelopers.wordpress.com/2008/07/01/best-blackberry-shortcuts/</link>
		<comments>http://moblieappdevelopers.wordpress.com/2008/07/01/best-blackberry-shortcuts/#comments</comments>
		<pubDate>Tue, 01 Jul 2008 13:05:31 +0000</pubDate>
		<dc:creator>kanna</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[shortcuts]]></category>

		<guid isPermaLink="false">http://moblieappdevelopers.wordpress.com/?p=4</guid>
		<description><![CDATA[Home Screen Shortcuts
Now you&#8217;ll need to hit your Phone icon or click the green phone button to dial a number and place a call, but you&#8217;ll have access to all of the following shortcuts from your Home Screen via a single click of the corresponding letter key:

WAP Browser &#8212; W
Alarm &#8212; R
Tasks &#8212; T
Calculator &#8212; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=4&subd=moblieappdevelopers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><span style="font-size:medium;"><span style="font-weight:bold;">Home Screen</span><span style="font-weight:bold;"> Shortcuts</span></span></p>
<p>Now you&#8217;ll need to hit your <em><strong>Phone</strong></em> icon or click the green phone button to dial a number and place a call, but you&#8217;ll have access to all of the following shortcuts from your Home Screen via a single click of the corresponding letter key:</p>
<ul>
<li>WAP Browser &#8212; W</li>
<li>Alarm &#8212; R</li>
<li>Tasks &#8212; T</li>
<li>Calculator &#8212; U</li>
<li>Options &#8212; O</li>
<li>Address Book &#8212; A</li>
<li>Search &#8212; S</li>
<li>Notes &#8212; D</li>
<li>Profiles &#8212; F</li>
<li>Help &#8212; H</li>
<li>Lock keypad &#8212; K</li>
<li>Calendar &#8212; L</li>
<li>Messages &#8212; M</li>
<li>Browser &#8212; B</li>
<li>BlackBerry Messenger &#8212; N</li>
<li>Saved messages &#8212; V</li>
<li>Compose &#8212; C</li>
</ul>
<h3 class="western">Typing Shortcuts</h3>
<ul>
<li>To capitalize a letter with one click, hold down the letter key.</li>
<li>To insert a period, click the Space key twice.</li>
<li>Turn CAP Lock on by pressing the ALT key followed by the right Shift key. Turn it off by pressing either Shift key.</li>
<li>Turn Number Lock on by pressing the ALT key followed by the left Shift key. Turn it off by pressing either Shift key.</li>
<li>Type an accented letter or special character by holding the corresponding letter and scrolling left or right with the trackball.</li>
<li>Insert the current date into a message or document by pressing the L key followed by the D key and Space key.</li>
<li>Insert the current time into a message or document by pressing the L key followed by the T key and Space key.</li>
</ul>
<h3 class="western">Messaging (E-mail and SMS)</h3>
<ul>
<li>In e-mail inbox, press the S key to search for a sender or a word within a subject line, and any mail folder regardless of message was sent or received.</li>
<li>Within inbox, access the complete list of messages sent by hitting the ALT key followed by the O key.</li>
<li>Within inbox, access the complete list of messages received by hitting the ALT key followed by the I key.</li>
<li>Within inbox, access the complete list of SMS text messages received by hitting the ALT key followed by the S key.</li>
<li>Within inbox, access phone log by hitting the ALT key followed by the P key.</li>
<li>Within inbox, access voicemail log by hitting the ALT key followed by the V key.</li>
<li>To delete all messages sent or received before a specific date, highlight that date with the cursor, hit the BlackBerry Menu key, select Delete Prior and confirm selection.</li>
<li>To enable automatic spell checking of e-mail messages, click the Options icon on BlackBerry home screen. Then click Spell Check and select the Spell Check E-Mail Before Sending option.</li>
<li>To do a manual spell check, click the BlackBerry Menu key within a composed message and select Check Spelling.</li>
<li>When a message is being spell checked, suggested fixes to unrecognized words can be ignored by clicking the escape key.</li>
</ul>
<p>When in a list of messages, or when reading a message:</p>
<p style="margin-left:0.49in;">T- Top<br />
B- Bottom<br />
Space bar- next page<br />
Num shift + Space bar &#8211; previous page</p>
<p style="margin-left:0.49in;">When in a list of messages:<br />
N- go to Next day<br />
P- go to Prev day</p>
<p style="margin-bottom:0;"><span style="font-size:medium;"><strong>Spreadsheet Attachments:</strong></span></p>
<ol>
<li>Change the size of a column by pushing the W key.</li>
<li>Go to a specific cell by pressing the G key.</li>
<li>View contents of a cell by pressing the Space key.</li>
<li>Search for text by clicking the F key, and then type the desired word.</li>
<li>Switch to a different worksheet by pressing V and selecting the desired sheet.</li>
</ol>
<h3 class="western"><span style="font-size:medium;"><strong>Presentation Attachments:</strong></span></h3>
<ol>
<li>Skip to the next slide by pressing the N key.</li>
<li>Return to the previous slide by clicking the P key.</li>
<li>Start slideshow by pushing the S key.</li>
<li>Stop slideshow by clicking the Escape key.</li>
<li> Switch to a new view of the slideshow by clicking the M key.</li>
</ol>
<h3 class="western"><span style="font-size:medium;"><strong>Phone Functions</strong></span></h3>
<ol>
<li>Multitask while on phone calls by hitting the BlackBerry menu key during a call and then selecting Home Screen. You&#8217;ll then have access to e-mail and other documents&#8211;though most BlackBerrys don&#8217;t allow for simultaneous voice and data transfer, so Internet access is unavailable while on calls.</li>
<li>Find specific contacts from your BlackBerry home screen by pressing keys for first and last initials, with a space between them. If more than one contact has the same initials, scroll to the appropriate contact.</li>
</ol>
<h3 class="western"><span style="font-size:medium;"><strong>BlackBerry Browser</strong></span></h3>
<ol>
<li>Bring up the Enter Web Address field from any Web page by pressing the G key.</li>
<li>Insert a period in Web address by clicking the Space key.</li>
<li>Insert a back slash in Web address by clicking either the Left Shift or Right Shift keys and then hitting Space.</li>
<li>Add an item to bookmarks list by clicking the A key.</li>
<li>Bring up your bookmark list by clicking the K key.</li>
<li>Refresh a Web page by clicking the R key.</li>
<li>Display a list of the last 20 pages visited by hitting the I key.</li>
<li>Open browser options with the O key.</li>
</ol>
<h3 class="western"><span style="font-size:medium;"><strong>Back to Basics: Starts and Stops</strong></span></h3>
<ol>
<li>To put device into Standby Mode so keys cannot be pressed while it&#8217;s not in use, hold down the Mute key for a second or two. Undo Standby Mode by holding Mute for another couple of seconds.</li>
</ol>
<ol>
<li>If BlackBerry slows down, starts malfunctioning or freezing, always try removing the battery and SIM card&#8211;if the device has one&#8211;and waiting a few seconds before reinserting it. Ninety-five percent of the issues Aflac BlackBerry users experience are resolved by simply removing the battery, according to Genet.</li>
</ol>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/moblieappdevelopers.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/moblieappdevelopers.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/moblieappdevelopers.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/moblieappdevelopers.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/moblieappdevelopers.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/moblieappdevelopers.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/moblieappdevelopers.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/moblieappdevelopers.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/moblieappdevelopers.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/moblieappdevelopers.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/moblieappdevelopers.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/moblieappdevelopers.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=moblieappdevelopers.wordpress.com&blog=4065833&post=4&subd=moblieappdevelopers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://moblieappdevelopers.wordpress.com/2008/07/01/best-blackberry-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/fef7bbea062b8c2ccce1aedce895f171?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kanna</media:title>
		</media:content>
	</item>
	</channel>
</rss>