Copyrighted Material

Total Page:16

File Type:pdf, Size:1020Kb

Copyrighted Material Contents Foreword: Peter Molin, Chief Technology Officer, UIQ Technology ix Foreword: Mats Blomberg, Manager, Software Strategy, Sony Ericsson CTO Office xi About the Authors xiii About this Book xvii Acknowledgements xxiii 1 Background 1 1.1 A Little History 1 1.2 About UIQ Technology 1 1.3 Overview of UIQ 3 3 1.4 UIQ 3 Application Suite 5 1.5 Technologies and Features in the UIQ Platform 6 COPYRIGHTED1.6 UIQ 3 Development PlatformMATERIAL 8 1.7 UIQ Ecosystem 9 2UIQ3Basics 13 2.1 UI Configuration 13 2.2 Building Blocks and Layout Manager 26 2.3 Command Processing Framework 29 vi CONTENTS 2.4 UIQ 3 Operational Model 37 2.5 View Layout Construction 38 2.6 Changes Between UIQ 2.1 and UIQ 3 41 2.7 Changes Between UIQ 3.0 and UIQ 3.1 46 2.8 UIQ 3.2 47 3 Quick Start 51 3.1 Introduction 51 3.2 The Development Environment 52 3.3 The QuickStart Example 56 3.4 Building from the Command Line 61 3.5 Running on the Emulator 62 3.6 Packaging for the Phone 65 3.7 Using Carbide.c++ 66 4 Symbian OS Essentials 69 4.1 What this Chapter Covers 69 4.2 Symbian OS Versions 69 4.3 Symbian OS Code Conventions 71 4.4 Symbian OS Class Types 74 4.5 Leaves and the Cleanup Stack 78 4.6 Panics, Assertions and Leaves Compared 90 4.7 Construction and Destruction 93 4.8 Descriptors: Symbian OS Strings 97 4.9 Arrays 113 4.10 Templates 119 4.11 Active Objects and Threads 121 4.13 System Information 138 4.14 Platform Security 141 4.15 Acknowledgements 146 5 Understanding User Interface Components 147 5.1 Controls and Windows 147 5.2 The Control Environment 152 5.3 Views and the View Server 157 5.4 Anatomy of the Screen 159 6 List Boxes 169 6.1 ListView1 Application 169 6.2 ListView2 Application 181 7 Commands and Categories 197 7.1 Commands Overview 197 7.2 Commands1 Example Application 199 7.3 Categories 224 7.4 Further Information 231 CONTENTS vii 8 Layout Managers and Building Blocks 233 8.1 Layout Managers 233 8.2 Building Blocks 236 9 Views and Dialogs 251 9.1 Overview 251 9.2 Working with Views 253 9.3 Dialogs in UIQ 266 10 Building an Application 275 10.1 Symbian Signed 275 10.2 Starting Our Project: SignedAppPhase1 278 10.3 SignedAppPhase2 292 10.4 Building your Application for Deployment 335 11 Multimedia 341 11.1 SignedAppPhase3 341 11.2 Symbian Signed Requirements 343 11.3 Images 344 11.4 Alternative Image Support: CQikContent 355 11.5 Camera 358 11.6 Multimedia Framework (MMF) 369 11.7 Audio 369 11.8 Video 378 11.9 Tuner API 383 12 Communications 389 12.1 Communications Technologies 389 12.2 Symbian OS Communications Architecture 396 12.3 Sockets 398 12.4 Bluetooth Technology 407 12.5 HyperText Transfer Protocol 422 12.6 Messaging Architecture 431 12.7 The Send As Interface 447 12.8 Telephony 448 13 Refining Your Application 451 13.1 Localization of Application Languages 451 13.2 Internationalization 461 13.3 Application Performance 463 13.4 Other Considerations 475 14 Symbian Signed 479 14.1 Symbian Signed Options 480 14.2 Further Considerations 480 viii CONTENTS 14.3 Application Origin 481 14.4 Capabilities 482 14.5 Routes to Symbian Sign an Application 489 14.6 Procedural Impact 497 14.7 Getting Started with Symbian Signed 497 14.8 Submission and Compliance Criteria 500 14.9 Symbian Signed Test Criteria 501 14.10 Lessons Learned 512 15 Testing, Debugging and Deploying 517 15.1 Back to Basics 517 15.2 An Example of Bad Behavior 519 15.3 Testing 519 15.4 Debugging 538 15.5 Deploying 545 15.6 Summary 550 16 Porting Applications 553 16.1 Where to Start 554 16.2 The Aims of Porting 555 16.3 General Porting Considerations 556 16.4 General Porting Techniques 565 16.5 Porting from a Standard C/POSIX Environment 568 16.6 Porting from Palm OS and Windows Mobile 570 16.7 Porting from S60 3rd Edition 590 16.8 Summary 612 References and Resources 613 Glossary 617 Index 631.
Recommended publications
  • Symbian OS As a Research Platform – Present and Future
    Symbian OS as a Research Platform Present and Future Lawrence Simpson Research Department Symbian Copyright © 2008 Symbian Software Ltd. Symbian Platform Symbian OS is a separate platform, specifically designed for mobile & convergent devices. Not an adaptation of Unix or Windows or .... Symbian OS has facilities to support • Small (memory) footprint • Low power consumption • High reliability • “Always on”, but must deal with unplanned shutdown • Diverse range of hardware • Diverse manufacturers – multiple UIs and multiple brands Different UIs on the same underlying system Series 60 (S60) • Provided by Nokia. • Used by Nokia & S60 licensees. • Originally a keypad-based UI ... now supporting touch-screen variants. UIQ • Provided by UIQ – company has sometimes been owned by Symbian, sometimes by Sony Ericsson/Motorola. • Used by Sony Ericsson & Motorola. • Originally mainly a touch-screen UI ... now supporting keypad-only variants. MOAP(S) • Provided through NTT DOCOMO. • Used by several Symbian licensees in Japan. Software in a Symbian Phone – “Habitats of the Symbian Eco-System” User-Installed Applications “In-the-box” Applications (commissioned/written by the phone-maker, built into the phone ROM) User Interface (S60 or UIQ or MOAP) Symbian OS Hardware Adaptation Software (usually from chip-vendors or 3rd parties) Symbian OS component level view developer.symbian.com/main/documentation/technologies/system_models OS designed for Smartphones & Media Phones Core OS Technologies Other Smartphone Technologies • Telephony Services • PIM (calendars, agenda, etc.) • Shortlink (BT, USB) Services • Messaging • Networking (IP) Services • Remote Management • Multimedia (audio & video) • Java / J2ME • Graphics • Security Management • Location-Based Services (LBS) • Multimedia Middleware • Base Services: (Database Utilities, • Application Protocols Localisation, etc.) • GUI Framework • Kernel Symbian programming paradigms • Several paradigms to support mobility, reliability, security, including..
    [Show full text]
  • A Survey Onmobile Operating System and Mobile Networks
    A SURVEY ONMOBILE OPERATING SYSTEM AND MOBILE NETWORKS Vignesh Kumar K1, Nagarajan R2 (1Departmen of Computer Science, PhD Research Scholar, Sri Ramakrishna College of Arts And Science, India) (2Department of Computer Science, Assistant Professor, Sri Ramakrishna College Of Arts And Science, India) ABSTRACT The use of smartphones is growing at an unprecedented rate and is projected to soon passlaptops as consumers’ mobile platform of choice. The proliferation of these devices hascreated new opportunities for mobile researchers; however, when faced with hundreds ofdevices across nearly a dozen development platforms, selecting the ideal platform is often met with unanswered questions. This paper considers desirable characteristics of mobileplatforms necessary for mobile networks research. Key words:smart phones,platforms, mobile networks,mobileplatforms. I.INTRODUCTION In a mobile network, position of MNs has been changing due todynamic nature. The dynamic movements of MNs are tracked regularlyby MM. To meet the QoS in mobile networks, the various issuesconsidered such as MM, handoff methods, call dropping, call blockingmethods, network throughput, routing overhead and PDR are discussed. In this paper I analyse the five most popular smartphone platforms: Android (Linux), BlackBerry, IPhone, Symbian, and Windows Mobile. Each has its own set of strengths and weaknesses; some platforms trade off security for openness, code portability for stability, and limit APIs for robustness. This analysis focuses on the APIs that platforms expose to applications; however in practice, smartphones are manufactured with different physical functionality. Therefore certain platform APIs may not be available on all smartphones. II.MOBILITY MANAGEMENT IP mobility management protocols proposed by Alnasouri et al (2007), Dell'Uomo and Scarrone (2002) and He and Cheng (2011) are compared in terms of handoff latency and packet loss during HM.
    [Show full text]
  • Symbian Foundation Press Conference
    Symbian Foundation Press conference M/C – Merran Wrigley Exciting Internet experiences for the aspirations of billions 2 © 2008 Symbian Foundation Mobile software set free Symbian Foundation Kai Öistämö Executive Vice President, Nokia Shared vision for an unparalleled open mobile software platform 4 © 2008 Symbian Foundation That unites Symbian OS, S60, UIQ and MOAP(S) 5 © 2008 Symbian Foundation Creating the most proven, open, complete mobile software platform 6 © 2008 Symbian Foundation With over 200 million devices already shipped 7 © 2008 Symbian Foundation For free. 8 © 2008 Symbian Foundation Creating one platform, royalty-free Foundation Differentiated Member experience MOAP(S) 9 © 2008 Symbian Foundation Creating one platform, royalty-free Foundation Differentiated Member experience Symbian Foundation Platform Applications suite Runtimes UI framework Middleware Operating system Tools & SDK 10 © 2008 Symbian Foundation The first step to our goal • Acquiring Symbian Ltd • Closing expected in Q4 2008 • Symbian Ltd to be part of Nokia • Nokia will contribute Symbian OS and S60 to Symbian Foundation 11 © 2008 Symbian Foundation Fulfilling the Symbian mission Symbian Foundation Nigel Clifford CEO, Symbian Symbian Ltd Mission To become the most widely used software platform on the planet 13 © 2008 Symbian Foundation The leading global open platform 12% Symbian Linux 11% Microsoft RIM 60% Apple 11% Other Source Canalys – Cumulative 4% 12 month period to Q1 2008 2% 14 © 2008 Symbian Foundation The choice for the top vendors Samsung MOTO
    [Show full text]
  • 1 Smartphones and Symbian OS
    1 Smartphones and Symbian OS Symbian OS is a full-featured, open, mobile operating system that powers many of today’s smartphones. As these smartphones become more pow- erful and popular, the demand for smartphone software has grown. Symbian smartphones are shipped with a variety of useful pre-loaded and targeted applications, which are selected by each phone’s manu- facturer. Today, the average Symbian smartphone ships with over 30 pieces of third-party software pre-installed. However, the exciting aspect of Symbian smartphones is that they are ‘open’, meaning that users can further customize their phone experience by downloading, installing, and uninstalling applications written by third-party developers (or by the users themselves). Users can download applications from a PC to the smartphone through a link such as USB, or Bluetooth technology, or over-the-air via the Internet. With the largest installed base of smartphones worldwide, Symbian OS offers a great opportunity for software developers to establish them- selves in the mobile market by creating novel and exciting software for the growing mass of smartphone users around the world. There is a growing list of Symbian applications available as freeware or as paid downloads on numerous Internet sites (http://www.handango.com and http://www.epocware.com are good examples). They range from pro- ductivity, entertainment, navigation, multimedia, and communications software to programs that can count fast food calories, improve your golfCOPYRIGHTED swing, keep diaries, and calculate MATERIAL foreign currency exchange. And business opportunities aside, sometimes it’s just plain fun writing your own code to run on your own smartphone.
    [Show full text]
  • M-Learning Tools and Applications
    2342-2 Scientific m-Learning 4 - 7 June 2012 m-Learning Tools and Applications TRIVEDI Kirankumar Rajnikant Shantilal Shah Engineering College New Sidsar Campu, PO Vartej Bhavnagar 364001 Gujarat INDIA m-Learning Tools and Applications Scientific m-learning @ ICTP , Italy Kiran Trivedi Associate Professor Dept of Electronics & Communication Engineering. S.S.Engineering College, Bhavnagar, Gujarat Technological University Gujarat, India [email protected] Mobile & Wireless Learning • Mobile = Wireless • Wireless ≠ Mobile (not always) • M-learning is always mobile and wireless. • E-learning can be wireless but not mobile Scientific m-learning @ ICTP Italy Smart Phones • Combines PDA and Mobile Connectivity. • Supports Office Applications • WLAN, UMTS, High Resolution Camera • GPS, Accelerometer, Compass • Large Display, High End Processor, Memory and long lasting battery. Scientific m-learning @ ICTP Italy The Revolution .. • Psion Organizer II • 8 bit processor • 9V Battery • OPL – Language • Memory Extensions, plug-ins • Birth of Symbian 1984 2012 Scientific m-learning @ ICTP Italy History of Smartphone • 1994 : IBM Simon • First “Smartphone” • PIM, Data Communication Scientific m-learning @ ICTP Italy Scientific m-learning @ ICTP Italy The First Nokia Smartphones • 2001 : Nokia 7650 • GPRS : HSCSD • Light – Proximity Sensor • Symbian OS ! • Nokia N95 (March 07) • Having almost all features Scientific m-learning @ ICTP Italy S60 and UIQ Scientific m-learning @ ICTP Italy Scientific m-learning @ ICTP Italy Know your target-know your device
    [Show full text]
  • Symbian Phone Security
    Symbian phone Security Job de Haas ITSX Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Overview • Symbian OS. • Security Risks and Features. • Taking it apart. • Conclusions. Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian History • Psion owner of EPOC OS, originally from 1989, released EPOC32 in 1996 • EPOC32 was designed with OO in C++ • 1998: Symbian Ltd. formed by Ericsson, Nokia, Motorola and Psion. • EPOC renamed to Symbian OS • Currently ~30 phones with Symbian and 15 licensees. Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian Organization • Symbian licenses the main OS • Two GUI’s on top of Symbian: – Series 60, led by Nokia – UIQ, subsidiary of Symbian • Ownership: – Nokia 47.5% Panasonic 10.5% – Ericsson 15.6% Siemens 8.4% – SonyEricsson 13.1% Samsung 4.5% Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian Versions • EPOC32 • EPOC R5 • Symbian v6.0 • Symbian v7.0 • Symbian v8.0 • Symbian v9.0 announced for Q3 ‘05 Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Series60 versions • 1st edition • 2nd edition • 3rd edition, announced feb. 2005 Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 UIQ versions • UIQ 1.0 • UIQ 2.1 • UIQ 3.0 released feb 2005 Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian OS Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian OS • Multitasking, preemptive kernel. • MMU protection of kernel and process spaces. • Strong Client – Server architecture • Plug-in patterns • Filesystem in ROM, Flash, RAM and on SD-card Symbian phone Job de Haas BlackHat Security ITSX BV Amsterdam 2005 Symbian development • Symbian v6 and v7 are compiled with a modified GCC.
    [Show full text]
  • Mobile Platforms Maemo
    Maemo and Symbian S60 EPFL October, 10 th 2009 Mobile Platforms Maemo •Maemo is an open development platform for applications and technology innovation for handheld devices •It was originally developed by Nokia and afterwards offered to the community as opensource Solid software architecture on Linux – first in taking Linux desktop paradigm to mobile devices Optimized for Designed for Mobile Internet Internet Devices – experiences – first in implementing the taking web2.0 apps to Maemo multimedia mobile devices based computer promise on Linux Open for innovation– Developed with some of the best open source communities Open for innovation – developed in collaboration with the open source community 14.000 members 700 hosted projects 200 applications Maemo software Community Nokia is a key contributor to Related open projects such as source projects GNOME/GTK+. Maemo.org maemo.org – 140.000 unique visitors the community 14.000 registered users for innovation 700 hosted projects on Maemo. 200 applications Product evolution Internet Optimized Multimedia Computer Nokia 770 Nokia N800 Nokia N810 Nokia N810 1st generation of Nokia In ternet 2nd generation of Nokia Internet WiMAX Edition Taking the positioning of the Tablet Tablets Tablets. Category from a predominantly ‘one- Bringing WiMAX connection to Easy access to the internet. High way’ surfing tool, to a genuine ‘two strengthen the internet story. With resolution touch sc reen. way’ communication device. wider wireless internet coverage, Internet will truly become personal With integrated
    [Show full text]
  • Open Source, Modular Platforms, and the Challenge of Fragmentation
    University of Pennsylvania Carey Law School Penn Law: Legal Scholarship Repository Faculty Scholarship at Penn Law 11-7-2016 Open Source, Modular Platforms, and the Challenge of Fragmentation Christopher S. Yoo University of Pennsylvania Carey Law School Follow this and additional works at: https://scholarship.law.upenn.edu/faculty_scholarship Part of the Antitrust and Trade Regulation Commons, Communication Technology and New Media Commons, Computer and Systems Architecture Commons, Computer Law Commons, Digital Communications and Networking Commons, Law and Economics Commons, Mass Communication Commons, Policy Design, Analysis, and Evaluation Commons, Science and Technology Law Commons, and the Science and Technology Policy Commons Repository Citation Yoo, Christopher S., "Open Source, Modular Platforms, and the Challenge of Fragmentation" (2016). Faculty Scholarship at Penn Law. 1693. https://scholarship.law.upenn.edu/faculty_scholarship/1693 This Article is brought to you for free and open access by Penn Law: Legal Scholarship Repository. It has been accepted for inclusion in Faculty Scholarship at Penn Law by an authorized administrator of Penn Law: Legal Scholarship Repository. For more information, please contact [email protected]. Open Source, Modular Platforms, and the Challenge of Fragmentation Christopher S. Yoo* Abstract Open source and modular platforms represent two powerful conceptual paradigms that have fundamentally transformed the software industry. While generally regarded complementary, the freedom inherent in open source rests in uneasy tension with the strict structural requirements required by modularity theory. In particular, third party providers can produce noncompliant components, and excessive experimentation can fragment the platform in ways that reduce its economic benefits for end users and app providers and force app providers to spend resources customizing their code for each variant.
    [Show full text]
  • The Dalvik Virtual Machine and the Core Libraries That Provide Android Specifi C Functionality
    Hello, Android Whether you’re an experienced mobile engineer, a desktop or web developer, or a complete pro- gramming novice, Android represents an exciting new opportunity to write innovative applica- tions for mobile devices. Despite the name, Android will not help you create an unstoppable army of emotionless robot warriors on a relentless quest to cleanse the earth of the scourge of humanity. Instead, Android is an open source software stack that includes the operating system, middleware, and key applica- tions along with a set of API libraries for writing mobile applications that can shape the look, feel, and function of mobile handsets. Small, stylish, and versatile, modern mobile phones have become powerful tools that incorpo- rate cameras, media players, GPS systems, and touch screens. As technology has evolved, mobile devices have become about more than simply making calls, but their software and development platforms have struggled to keep pace. Until recently, mobile phones were largely closed environments built on proprietary operating systems that required proprietary development tools. The phones themselves often prioritized native applications over those written by third parties. This has introduced an artifi cial barrier for developers hopingCOPYRIGHTED to build on increasingly powerful MATERIAL mobile hardware. In Android, native and third-party applications are written using the same APIs and executed on the same run time. These APIs feature hardware access, location-based services, support for back- ground services, map-based activities, relational databases, interdevice peer-to-peer messaging, and 2D and 3D graphics. 444712c01.indd4712c01.indd 1 110/20/080/20/08 44:12:23:12:23 PPMM Chapter 1: Hello, Android Using this book, you will learn how to use these APIs to create your own Android applications.
    [Show full text]
  • (Attachment) Further Statements of Support for the Symbian Foundation
    Further statements of support for the Symbian Foundation “This new initiative brings together the rare combination of a proven software operating system and an open source model, creating a unique platform to drive innovation in the mobile handset,” said Scott Bibaud, Senior Vice President & General Manager, Mobile Platforms Group, Broadcom. “Broadcom’s participation in the Symbian Foundation is consistent with our goals of enabling differentiated software solutions while providing a time-to-market advantage with our advanced mobile platform products.” "Digia is excited about this imitative, as we have been part of the ecosystem for many years investing in skills and expertise in these technologies", said Mr. Juha Varelius, President and CEO of Digia. "We believe that the Foundation will mean increased business opportunities for us, as more OEMs are attracted to develop products for the platform and can benefit from our world class services in the creation of smartphones." "This unified platform will streamline our game development process and allow us to focus more on content creation than on deployment," said Barry Cottle, EA Mobile senior vice president and general manager. "This announcement encourages the proliferation of smartphones, which in turn will allow us to concentrate on what we do best, creating richer, more engaging and dynamic gaming experiences for more customers worldwide" "Ericsson Mobile Platforms is committed to open standards and strongly believe the creation of the Symbian Foundation is a major leap forward for
    [Show full text]
  • Software Platforms and Technology Up-Date
    Software Platforms and Technology Up-date Mauri Metsäranta Director, Technology Platforms, Nokia 1 © NOKIA Talks Vision and Strategy in China 2004 Open Software Platforms Technology evolution • Global market view • China market view 2 © NOKIA Talks Vision and Strategy in China 2004 Smartphone market is a volume and value opportunity • Forecasts show excellent potential for smartphone devices with greatest CAGR of all categories Market shares for vanilla, feature and smartphones 2003-2008 2% 6% 100% 13% 19% 22% 90% 25% 31% 40% 80% 27% 26% share 70% 60% 25% 22% 50% 79% Markte 69% 40% 60% 52% 30% 44% 20% 38% 10% 0% 2003 2004 2005 2006 2007 2008 Smartphone Feature phone Vanilla phone 3 © NOKIA Talks Vision and Strategy in China 2004 Symbian and Series 60 have built sustainable leadership • Forecasts show excellent Symbian: 49.1% CAGR 2004-2008 potential for smartphone devices with greatest CAGR of all Symbian share appr. 70% categories Market shares for vanilla, feature 60% and smartphones 2003-2008 50% 2% 6% 100% 13% 19% 22% 40% 90% 25% 31% 40% 80% 27% 26% share 70% 30% 60% 25% 22% 50% 79% 20% Markte 69% 40% 60% 52% 30% 44% 10% 38% 20% 0% 10% 2003 2004 2005 2006 2007 2008 0% 2003 2004 2005 2006 2007 2008 Palm OS Microsoft Pocket PC Microsoft Phone Edition Smartphone Smartphone Linux Symbian (pen-based Symbian (keypad- Feature phone UIQ, Series 80, Series 90) only UIQ, Series 60) Vanilla phone Other 4 © NOKIA Talks Vision and Strategy in China 2004 Source: IDC April 2004 Building a winning ecosystem for the platform is a huge effort, requiring
    [Show full text]
  • Symbian OS from Wikipedia, the Free Encyclopedia
    Try Beta Log in / create account article discussion edit this page history Symbian OS From Wikipedia, the free encyclopedia This article is about the historical Symbian OS. For the current, open source Symbian platform descended from Symbian OS and S60, see Symbian platform. navigation Main page This article has multiple issues. Please help improve the article or discuss these issues on the Contents talk page. Featured content It may be too technical for a general audience. Please help make it more accessible. Tagged since Current events December 2009. Random article It may require general cleanup to meet Wikipedia's quality standards. Tagged since December 2009. search Symbian OS is an operating system (OS) designed for mobile devices and smartphones, with Symbian OS associated libraries, user interface, frameworks and reference implementations of common tools, Go Search originally developed by Symbian Ltd. It was a descendant of Psion's EPOC and runs exclusively on interaction ARM processors, although an unreleased x86 port existed. About Wikipedia In 2008, the former Symbian Software Limited was acquired by Nokia and a new independent non- Community portal profit organisation called the Symbian Foundation was established. Symbian OS and its associated Recent changes user interfaces S60, UIQ and MOAP(S) were contributed by their owners to the foundation with the Company / Nokia/(Symbian Ltd.) Contact Wikipedia objective of creating the Symbian platform as a royalty-free, open source software. The platform has developer Donate to Wikipedia been designated as the successor to Symbian OS, following the official launch of the Symbian [1] Help Programmed C++ Foundation in April 2009.
    [Show full text]