Quick Recipes Taster
Read the booklet at developer.symbian.com/main/learning/press/books/pdf/QR%20Taster%20-%20FINAL%20-%20WEB.pdf
Sample Code
The booklet sample code can be found here. The sample applications have been tested using a Nokia E61 and Sony Ericsson M600i. The code was built using S60 3rd Edition Feature Pack 2 and UIQ 3.1 SDKs.
Users running/building the applications should take note of the following:
- The LBS\Location application uses the Location platform security capability and can't be self certified. However, it can be easily expressed signed.
- The Messaging\SmsManager application is somewhat platform dependent and specific functionality may depend on the platform in use. In fact we still haven't managed to get it working on either E61 or M600i.
Please record any problems you encounter with the sample code as comments to this page. All code is copyright Symbian Software Ltd 2008.
Links from the Booklet, divided by Recipe
Filesystem: Write Binary Data to a File
For documentation on descriptors, go to the Symbian Developer Library developer.symbian.com/main/oslibrary/osdocs.
For more information about platform security and data caging, go to the relevant pages in the Symbian Developer Library www.symbian.com/developer/techlib/v9.3docs/doc_source/guide/platsecsdk/index.html.
Examples of third-party file managers include:
Networking: Domain Name Resolution
For documentation about DNS resolving functionality available on Symbian OS, see the Symbian Developer Library, developer.symbian.com/main/oslibrary/osdocs/. Check How to use Domain Name Resolution under Symbian OS guide » Networking » Using TCP/IP (INSOCK) » How to use TCP/IP.
Messaging: Handle Incoming SMS Messages
For more information on the Symbian Press book, Symbian OS Communications Programming, 2nd Edition, see developer.symbian.com/main/documentation/books/books_files/comms/index.jsp.
To check whether a message is intended for your application, use the API found heredeveloper.symbian.com/main/tools/utilities for sending and receiving SMS datagrams.
Telephony: Make a Phone Call
For more information on the Symbian Press book, Symbian OS Communications Programming, 2nd Edition, see developer.symbian.com/main/documentation/books/books_files/comms/index.jsp.
Multimedia: Play a MIDI File
For documentation about the multimedia functionality available on Symbian OS, see the Symbian Developer Library, developer.symbian.com/main/oslibrary/osdocs. Check How to use the audio player utility under Symbian OS guide » Multimedia » How To's.
Connectivity: Discover Bluetooth Devices
To read the article CActive and Friends, from the Symbian Developer Network, please click developer.symbian.com/main/downloads/papers/CActiveAndFriends/CActiveAndFriends.pdf.
For a guide to Bluetooth and Symbian OS Shortlink Services, which can be found in Symbian Developer Library, see developer.symbian.com/main/oslibrary/osdocs. Check Bluetooth Short Link Services under Symbian OS guide » Bluetooth » Bluetooth » Short Link Services
About the lbs.lib missing from UIQ3 – would it be enough to use the lbsselflocate.lib (documented in the UIQ SDK with the various location related classes)?
Correct! Well spotted.