/*
* ============================================================================
* Name : about_profiles_example.txt
* Part of : ProfilesExample
* Created : 20.11.2003 by Forum Nokia
* Description:
* The implementation file for audio feedback player.
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
0. Overview (what is this example and what it does)
This profile example is an intoductionary level application implementation
demonstrating the use of profiles API (using CSettingInfo class).
Currently, the profiles API supports reading the profile properties
(ringing volume, vibrating alert mode etc.) and ordering notifications
about the changes of these readable/observable profile properties.
When the application is started, it reads the current profile information
using CSettingInfo class. Secondly, the program orders notifications
about profile change. And at the last initiation operation, the application
loads a single sample file from phone memory, which will be used to give
some audio feedback to the phone user, when a profile changes.
In this text file, the <profiles example dir> is used to REFERENCE to
the directory in which the example files (including this txt file)
have been EXTRACTED.
1. Compatibility
Profiles example application is compatible with S60 2nd Edition. It has been
tested to work with the Nokia 6600 phone.
The S60 2nd Edition SDK is mandatory, because profiles API was first introduced
in this particular release.
2. Building
To build the application, follow the following steps:
2a) go to: "<profiles example dir>\group"
2b) run: "bldmake bldfiles"
Note! Ensure that the sample.wav file located at
<profiles example dir>\data has been copied into:
"c:\Symbian\7.0s\Series60_v20
\Epoc32\wins\c\system\data\"
-directory,
OR under the EPOC root of directory where S60 2nd Edition
SDK has been installed on the target machine.
2c) run: "abld makefile thumb"
2d) run: "abld built thumb urel"
3. Installation to device (pkg file notes & instructions)
3.1 installing the ready-to-use ProfilesExample.SIS file
3.1 a) deliver (move) the ProfilesExample.SIS into
any S60 2nd Edition compatible phone
3.2 building the application from the compiled files
3.2a) go to "<profiles example dir>\install"
3.2b) run: "makesis ProfilesExample.pkg"
3.2c) deliver (move) the created SIS file into
your phone (Nokia 6600 or any S60 2nd Edition compatible phone)
4. Implementation notes
The sample files used is in A-law format. Some of the early
SW releases for the Nokia 6600 phone do not support signed
16 bit PCM format sound files (codec layer did not work).
Therefore, the sample file included with this example is
encode to A-law PCM format to offer the compatibility
in both the Nokia 6600 and emulator.
5. Running the example
Launch the ProfilesExample application on your phone.
A view with a listbox showing your current profile
properties will appear.
Next, press gently the power button of your phone.
The operating systems default profile switching list
will appear. Now, select a new profile for your phone.
The example application should play an audio feedback,
which is a sampled english word (which equals one of
the five default profile names of S60 2nd Edition phone modes:
"general", "silent", "meeting", "outdoor", and "pager".
As long as the profiles example application is running,
it will respond with the appropiate audible English
word being played.
Evaluate this resource
Please spare a moment to help us improve documentation quality and recognize
the examples you find most valuable, by rating this resource at
http://www.forum.nokia.com/main/1%2C%2C90%2C00.html?surveyId=8ee92be6-72d4-4619-9b18-9756b6bdb29e/Profiles_Example_v1_0.zip
没有合适的资源?快使用搜索试试~ 我知道了~
Profiles_Example_v1_0.zip_s60 code_s60 profile
共33个文件
h:7个
bmp:6个
cpp:6个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 131 浏览量
2022-09-22
18:42:28
上传
评论
收藏 109KB ZIP 举报
温馨提示
代码介绍了symbian s60获取情景模式当前各个值并用代码修改当前状态值的方法。
资源推荐
资源详情
资源评论
收起资源包目录
Profiles_Example_v1_0.zip (33个子文件)
ProfilesExample
aif
list_icon_mask.bmp 294B
context_pane_icon.bmp 3KB
ProfilesExampleaif.rss 677B
list_icon.bmp 2KB
context_pane_icon_mask.bmp 414B
inc
ProfilesExampleDocument.h 1KB
profilesexample.loc 3KB
ProfilesExampleEngine.h 7KB
ProfilesExampleConsts.h 5KB
ProfilesExampleAudioPlayer.h 4KB
ProfilesExampleAppUi.h 2KB
ProfilesExampleView.h 5KB
ProfilesExampleApp.h 1KB
profilesexample.hrh 760B
data
shelliconm.bmp 3KB
ProfilesExample_caption.rss 637B
samples.wav 47KB
ProfilesExample.rss 10KB
shellicon.bmp 3KB
About_profiles_example.txt 4KB
Licence.txt 1KB
install
ProfilesExample.pkg 1KB
ProfilesExample.SIS 39KB
About_profiles_example.htm 16KB
src
ProfilesExampleApp.cpp 1KB
ProfilesExampleDocument.cpp 1KB
ProfilesExampleEngine.cpp 24KB
ProfilesExampleAppUi.cpp 3KB
ProfilesExampleAudioPlayer.cpp 7KB
ProfilesExampleView.cpp 7KB
group
bld.inf 622B
ProfilesExample.mmp 2KB
ABLD.BAT 313B
共 33 条
- 1
资源评论
林当时
- 粉丝: 97
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功