首 页 | 新 闻 | Symbian | Android| Windows Mobile | J2ME | 下载中心 | 游戏策划招聘与求职 | 购书指南 | 视频教程
您现在的位置: 开发视界 >> Symbian英文资料 >> Multimedia >> 正文
Using the Vibrator on a P800
作者:佚名    文章来源:不详    更新时间:2006-5-6 22:40:57

Description
The vibrator.dll provides a C++ interface to the vibrating feature of the SonyEricsson P800.

Licensing
You are allowed to use this library in any of your programs, but you are asked to send a free copy of your program to the author of the API. Thanks.

Files Provided
-  vibrator.dll: The DLL, must be copied to the P800,
-  vibrator.h: Header file for including into own project,
-  vibrator.lib: Import library for the DLL, for linking to own project,
-  vibratorexample.exe: Example executable, for testing on the P800 (in same directory as vibrator.dll on the P800)
-  bld.inf, vibratorexample.mmb: Project file for compiling the example
-  vibratorexample.cpp,commonframework.h: Source of the example
-  readme.txt: Similar content as this article

Usage
For information how to use this interface look into the example; I think it is not necessary to write a dedicated interface documentation. Only some notes: CVibrator::Vibrate takes 3 parameters, I pass it directly to the Vibra driver from SE, I do not know what they exactly do. I think the third parameter represents the length of the vibration. Changing the other two parameters had no effect. A installed and started CActiveScheduler is needed. When it is not started between Vibrate() calls, it will vibrate only the first time. The DLL, the LIB and the example EXE are THUMB release builds.

Bugs
If you find a bug or need more information please send an email to muh-kuh@aon.at

History
1.0.0 First released version

Copyright Statement
Copyright 2003 by Bernhard C. Schrenk Your are authorized to redistribute this software if you include all listed files. You are NOT authorized to modify this software or the readme file. If you use this library in your own software you are allowed to redistribute the vibrator.dll with your software without the need of distributing the other files.

Legal Statement
This software is provided by Bernhard C. Schrenk ’AS IS’ and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the author or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

相关文章:
Connecting the Symbian emulator to the Internet
Official SonyEricsson Vibrator API for the P800
Using the Vibrator on a P800
Application Size Optimisation in Mobile Environment
Connecting the Symbian emulator to the Internet
Official SonyEricsson Vibrator API for the P800
 

站点地图 | 加入收藏 | 联系站长 | 广告服务 |
QQ:280529124  Tel:0592-8271361 辽ICP备05021703号