📄 readme.txt
字号:
About Series 60 Developer Platform 1.0/2.0: Thread And Active Objects Example
-----------------------------------------------------------------------------
The example demonstrates how to create an active scheduler and how to use active
objects inside a new thread. Inside the mainthread (main program) the framework
creates the active scheduler automatically, but inside a new thread active the
scheduler must be created by the programmer. One active object is a Bluetooth device
discoverer that searches Bluetooth devices in the vicinity and displays them in
the listbox.
The program
-----------
Searches Bluetooth devices and automatically refreshes the "found devices" list.
Refreshing is done every 20 seconds by default.
Prequisities
------------
- Active objects
- Multitasking
- Symbian OS key concepts
Running the example
------------------------
1. Select "Start discovering devices" from the options menu.
After that every found new Bluetooth device is displayed in the listbox.
All Bluetooth devices are searched again after the refresh time has passed, cache
is not used. Refresh loop (active object) runs continuously.
2. (optional)
Set a new refresh time by selecting "Set refresh time" from the options menu.
(Note! The refresh time cannot be less than 5 seconds due to slow Bluetooth
device discovery). Refresh time is 20 seconds if not set.
3. Select a Bluetooth device using arrow UP or arrow DOWN. Push the select key. An information
note displays the Bluetooth address of the selected device as hexadecimal.
4. In order to stop searching, press Exit.
Installation instructions
-----------------------
-----------------------
MOBILE DEVICE
------------------
go to /ThreadAndActiveObjectsEx/group
bldmake bldfiles
abld build armi urel
go to /ThreadAndActiveObjectsEx/sis
makesis Series60_v21_threadao.pkg (if SDK 2.x)
makesis Series60_v12_threadao.pkg (if SDK 1.x)
install .sis to your device
EMULATOR (NOTE! requires Bluetooth support, not tested at the moment)
------------------
go to /ThreadAndActiveObjectsEx/group
bldmake bldfiles
abld build wins udeb
start the emulator
Compiled with series60 SDK v1.2.
Tested with Nokia 6260, Nokia 3650, Nokia 6600, and Nokia 6630.
Additional Information
----------------------
For more information, see threadAndActiveObjectsEx\docs\Series_60_DP_1_0_2_0_Thread_and_Active_Objects_Example_v1_0_en.pdf
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -