The only guide for developers and power users on how to build PC connectivity applications for Symbian OS. This unique handbook provides all the information that is needed for the job. * Fully worked examples and a do's and don'ts section provide design recommendations and expose common pitfalls giv
Programming PC Connectivity Applications for Symbian OS: Smartphone Synchronization and Connectivity for Enterprise and Application Developers (Symbian Press)
β Scribed by Ian McDowall
- Publisher
- Wiley
- Year
- 2005
- Tongue
- English
- Leaves
- 478
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
The only guide for developersΒ and power users on how to build PC connectivity applications for Symbian OS. This unique handbook provides all the information that is needed for the job.Fully worked examples and a do's and don'ts section provide design recommendations and expose common pitfalls giving a highly practical focus.Explains the relevant parts of the protocols that need to be usedDemonstrates how to create your own device side components to provide new servicesShows how to handle custom servers and socket servers
β¦ Table of Contents
Team-kB......Page 1
Contents......Page 8
1 Introduction......Page 16
1.1 What is PC Connectivity and Why is This Book Different from Other Symbian OS Books ?......Page 17
1.2 What This Book Will Tell You (and What It Will Not)......Page 18
1.3 How This Book is Structured......Page 19
1.5 Developer Resources......Page 20
2.1 A History of Symbian OS......Page 22
2.3 PC Connectivity Using TCP/IP......Page 23
2.4 PC Connectivity Using OBEX......Page 25
3.1 The Bearers, TCP/IP and PPP......Page 26
3.2 A Client-Server Model of PC Connectivity......Page 27
4.2 Functionality in SCOM and in PC Suites......Page 30
4.3 SCOM and BAL......Page 31
4.4 COM Programming and Language Choice......Page 32
4.6 SCOM Class Reference......Page 33
4.7 BAL Class Reference......Page 48
4.8 Using SCOM in C++ and Visual Basic......Page 52
5.2 Connecting to a Phone or Emulator......Page 54
5.3 Accessing SCOM and Connecting to a Device......Page 63
5.4 Handling Differences Between Devices......Page 67
5.5 Copying Files β Asynchronous Actions......Page 68
5.6 Navigating the Filing System......Page 73
5.7 A File Browser Application......Page 75
5.8 Simple Actions on Files and Directories......Page 81
5.9 Error Handling and Disconnection......Page 92
5.10 Visual C++ Code for Application and Device Management......Page 93
5.11 Visual C++ Code for Drive and Directory Navigation......Page 101
5.12 Visual C++ Code for Synchronous and Asynchronous Operations......Page 102
6 Programming for Symbian OS......Page 104
6.1 Building a Project......Page 105
6.2 Using the Emulator......Page 111
6.3 Types and Naming Conventions......Page 115
6.4 Error Handling......Page 117
6.5 Descriptors......Page 121
6.6 Arrays......Page 123
6.7 Processes and Threads......Page 124
6.8 Active Objects......Page 125
6.9 Backwards Compatibility and Programming for Multiple Phone Types......Page 128
7.1 Overview of Custom Servers......Page 132
7.2 Limitations of Custom Servers......Page 133
7.3 Custom Servers API......Page 134
7.4 Protocol Conventions......Page 138
7.5 Creating Your First Custom Server......Page 139
7.6 Installing a Custom Server......Page 144
7.7 Starting a Custom Server from SCOM......Page 145
7.8 Communicating with a Custom Server......Page 147
7.9 Asynchronous Communication......Page 148
7.10 Debugging a Custom Server......Page 151
8.1 Overview of Connectivity Socket Servers......Page 152
8.2 An Introduction to the Server Socket Classes......Page 153
8.3 Using the Service Broker API......Page 156
8.4 Server Socket Classes......Page 157
8.5 Developing an Echo Socket Server......Page 166
8.6 Installing and Registering a Server Socket Service......Page 176
8.7 Starting a Socket Service from SCOM......Page 178
8.8 Communicating with a Socket Service......Page 179
8.10 Debugging a Socket Service......Page 180
9.1 The Message Server and MTMs......Page 182
9.2 The Structure of Messages......Page 185
9.3 Message Server Events and Sessions......Page 188
9.4 SMS Specific Variations......Page 189
9.5 Common Messaging Classes......Page 190
9.6 SMS Specific Classes......Page 202
10.1 SMS Management Protocol......Page 206
10.2 Packing and Unpacking Data......Page 215
10.3 Obtaining Access to the Message Server and the SMS MTM......Page 219
10.4 Listing SMS Messages and Returning Their Contents......Page 221
10.5 Deleting and Creating SMS Messages......Page 224
10.6 Handling Message Server Events......Page 228
10.7 Putting the Messaging Code in a Connectivity Plug-in......Page 230
10.8 A Command-line SMS Application......Page 234
11.1 Databases and Models......Page 242
11.2 The Contacts Model......Page 243
11.4 Contacts Observers......Page 245
11.6 Contacts Model API......Page 246
11.7 A Contacts Connectivity Service......Page 271
12.1 The Various Agenda Models......Page 298
12.2 Types of Agenda Entries......Page 299
12.4 Alarms......Page 300
12.6 Agenda Model API......Page 301
12.7 An Agenda Connectivity Service......Page 340
13.2 Managing Connections to Phones......Page 362
13.4 Communicating and Managing Delays......Page 366
13.5 A GUI SMS Application......Page 373
13.6 A Contacts GUI Application......Page 382
13.7 An Agenda GUI Application......Page 399
13.8 Conclusion and Ideas for Further Development......Page 411
14 Starting General Socket Servers......Page 412
14.1 Communicating with a Socket Server......Page 413
14.2 Starting a Server......Page 415
15.1 Protocol Design......Page 418
15.2 Robustness and Defensive Design......Page 421
15.3 Device and Service Management......Page 422
15.4 General Development and Debugging Skills......Page 425
Appendix 1 Developer Resources......Page 428
Appendix 2 Specifications of Symbian OS Phones......Page 436
Index......Page 456
π SIMILAR VOLUMES
The overall goal of this book is to provide introductory coverage of Symbian OS and get developers who have little or no knowledge of Symbian OS developing as quickly as possible.A clear and concise text on how Symbian OS architecture works and the core programming techniques and concepts needed to
A guide to programming Symbian OS smartphones using OPL (The Open Programming Language): a simple to learn, open-source scripting language, ideal for fast-track development of enterprise applications. This book provides a hands-on development environment for both the experienced and aspiring program
The overall goal of this book is to provide introductory coverage of Symbian OS and get developers who have little or no knowledge of Symbian OS developing as quickly as possible. * A clear and concise text on how Symbian OS architecture works and the core programming techniques and concepts need
This book explains the key features of Symbian OS and will help you to write effective C++ code. It focuses on aspects of good C++ style that apply particularly to Symbian OS.21 items are used to target particular aspects of the operating system and provide a simple and straightforward exploration o
This book explains the key features of Symbian OS and will help you to write effective C++ code. It focuses on aspects of good C++ style that apply particularly to Symbian OS. <p> 21 items are used to target particular aspects of the operating system and provide a simple and straightforward ex